Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
interface DocumentWord
import { type DocumentWord } from "https://deno.land/x/aiformrecognizer@v1.1.0/mod.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.