Google AutoML v1 API - Enum Document.Types.Layout.Types.TextSegmentType (3.1.0)

public enum TextSegmentType

Reference documentation and code samples for the Google AutoML v1 API enum Document.Types.Layout.Types.TextSegmentType.

The type of TextSegment in the context of the original document.

Namespace

Google.Cloud.AutoML.V1

Assembly

Google.Cloud.AutoML.V1.dll

Fields

NameDescription
FormField

The text segment is a form field.

FormFieldContents

The text segment is the text content part of a form field. It will be treated as child of another FORM_FIELD TextSegment if its span is subspan of another TextSegment with type FORM_FIELD.

FormFieldName

The text segment is the name part of a form field. It will be treated as child of another FORM_FIELD TextSegment if its span is subspan of another TextSegment with type FORM_FIELD.

Paragraph

The text segment is a paragraph.

Table

The text segment is a whole table, including headers, and all rows.

TableCell

The text segment is a cell in table. It will be treated as child of another TABLE_ROW TextSegment if its span is subspan of another TextSegment with type TABLE_ROW.

TableHeader

The text segment is a table's headers. It will be treated as child of another TABLE TextSegment if its span is subspan of another TextSegment with type TABLE.

TableRow

The text segment is a row in table. It will be treated as child of another TABLE TextSegment if its span is subspan of another TextSegment with type TABLE.

Token

The text segment is a token. e.g. word.

Unspecified

Should not be used.