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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe content defines \u003ccode\u003eTextSegmentType\u003c/code\u003e, an enum within the \u003ccode\u003eGoogle.Cloud.AutoML.V1\u003c/code\u003e namespace, used to classify segments of text within a document.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version available is 3.4.0, with versions ranging back to 2.2.0, allowing users to select their preferred version.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eTextSegmentType\u003c/code\u003e has several field options, including \u003ccode\u003eFormField\u003c/code\u003e, \u003ccode\u003eFormFieldContents\u003c/code\u003e, \u003ccode\u003eFormFieldName\u003c/code\u003e, \u003ccode\u003eParagraph\u003c/code\u003e, \u003ccode\u003eTable\u003c/code\u003e, \u003ccode\u003eTableCell\u003c/code\u003e, \u003ccode\u003eTableHeader\u003c/code\u003e, \u003ccode\u003eTableRow\u003c/code\u003e, \u003ccode\u003eToken\u003c/code\u003e, and \u003ccode\u003eUnspecified\u003c/code\u003e, each with a specific description.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eTextSegmentType\u003c/code\u003e fields are used to categorize text, whether it is a form field, a table component, a paragraph, or a token.\u003c/p\u003e\n"],["\u003cp\u003eFields within the enum, such as \u003ccode\u003eTableCell\u003c/code\u003e, \u003ccode\u003eTableHeader\u003c/code\u003e, and \u003ccode\u003eTableRow\u003c/code\u003e specify the ability to recognize the parent-child relationship among text segments within tables or forms.\u003c/p\u003e\n"]]],[],null,[]]