Class Token (2.21.0)

Token(mapping=None, *, ignore_unknown_fields=False, **kwargs)

A detected token.

Attributes

NameDescription
layout google.cloud.documentai_v1beta2.types.Document.Page.Layout
Layout for Token.
detected_break google.cloud.documentai_v1beta2.types.Document.Page.Token.DetectedBreak
Detected break at the end of a Token.
detected_languages MutableSequence[google.cloud.documentai_v1beta2.types.Document.Page.DetectedLanguage]
A list of detected languages together with confidence.
provenance google.cloud.documentai_v1beta2.types.Document.Provenance
The history of this annotation.
style_info google.cloud.documentai_v1beta2.types.Document.Page.Token.StyleInfo
Text style attributes.

Classes

DetectedBreak

DetectedBreak(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Detected break at the end of a Token.

StyleInfo

StyleInfo(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Font and other text style attributes.