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\u003eThis webpage provides documentation for the \u003ccode\u003eTextSegmentType\u003c/code\u003e enum within the \u003ccode\u003eGoogle.Cloud.AutoML.V1\u003c/code\u003e namespace, detailing the different types of text segments found in a document.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version available is 3.4.0, and older versions, from 3.3.0 down to 2.2.0, are also documented.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eTextSegmentType\u003c/code\u003e defines various text segments like \u003ccode\u003eFormField\u003c/code\u003e, \u003ccode\u003eParagraph\u003c/code\u003e, \u003ccode\u003eTable\u003c/code\u003e, \u003ccode\u003eToken\u003c/code\u003e, and others, specifying their roles and relationships within the document.\u003c/p\u003e\n"],["\u003cp\u003eEach \u003ccode\u003eTextSegmentType\u003c/code\u003e field has a description that explains what it represents within the context of a document's structure.\u003c/p\u003e\n"],["\u003cp\u003eSome text segments can be treated as children of others, such as \u003ccode\u003eFormFieldName\u003c/code\u003e or \u003ccode\u003eTableCell\u003c/code\u003e being children of \u003ccode\u003eFormField\u003c/code\u003e or \u003ccode\u003eTableRow\u003c/code\u003e, respectively, if their span is a subspan of another \u003ccode\u003eTextSegment\u003c/code\u003e with the corresponding type.\u003c/p\u003e\n"]]],[],null,[]]