Skip to main content
Deno 2 is finally here 🎉️
Learn more
interface DocumentWord
import { type DocumentWord } from "https://deno.land/x/aiformrecognizer@v1.2.0/src/interfaces/document-analysis.ts";

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.

Properties

content: string

Text content of the word.

optional
polygon: number[]

Bounding polygon of the word.

Location of the word in the reading order concatenated content.

confidence: number

Confidence of correctly extracting the word.