DocumentRegion
Defined in: structure.ts:26
Source structure supplied by an extractor, separate from linguistic parsing.
Type Parameters
Section titled “Type Parameters”Metadata
Section titled “Metadata”Metadata = unknown
Properties
Section titled “Properties”end:
number
Defined in: structure.ts:30
id:
string
Defined in: structure.ts:27
language?
Section titled “language?”
optionallanguage?:string
Defined in: structure.ts:33
BCP 47 language tag when this region differs from the document default.
metadata?
Section titled “metadata?”
optionalmetadata?:Metadata
Defined in: structure.ts:36
optionalmode?:string
Defined in: structure.ts:35
Extensible writing mode such as descriptive or procedural.
parentId?
Section titled “parentId?”
optionalparentId?:string
Defined in: structure.ts:31
role:
DocumentRegionRole
Defined in: structure.ts:28
start:
number
Defined in: structure.ts:29