Skip to content

DocumentRegion

Defined in: structure.ts:26

Source structure supplied by an extractor, separate from linguistic parsing.

Metadata = unknown

end: number

Defined in: structure.ts:30


id: string

Defined in: structure.ts:27


optional language?: string

Defined in: structure.ts:33

BCP 47 language tag when this region differs from the document default.


optional metadata?: Metadata

Defined in: structure.ts:36


optional mode?: string

Defined in: structure.ts:35

Extensible writing mode such as descriptive or procedural.


optional parentId?: string

Defined in: structure.ts:31


role: DocumentRegionRole

Defined in: structure.ts:28


start: number

Defined in: structure.ts:29