Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface DocumentWord

Package version

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. 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.

Hierarchy

Index

Properties

confidence

confidence: number

Confidence of correctly extracting the word. Confidence of correctly extracting the word.

content

content: string

Text content of the word. Text content of the word.

Optional polygon

polygon: number[]

Bounding polygon of the word.

span

Location of the word in the reading order concatenated content. Location of the word in the reading order concatenated content.

Generated using TypeDoc