DocumentWord interface
A word object consisting of a contiguous sequence of characters. For non-space delimited languages, such as Chinese, Japanese, and Korean, each character is represented as its own word.
- Extends
Properties
| confidence | Confidence of correctly extracting the word. |
| content | Text content of the word. |
| span | Location of the word in the reading order concatenated content. |
Inherited Properties
| polygon | Bounding polygon of the entity. |
Property Details
confidence
Confidence of correctly extracting the word.
confidence: number
Property Value
number
content
Text content of the word.
content: string
Property Value
string
span
Location of the word in the reading order concatenated content.
span: DocumentSpan
Property Value
Inherited Property Details
polygon
Bounding polygon of the entity.
polygon?: Point2D[]
Property Value
Point2D[]
Inherited From HasBoundingPolygon.polygon