Skip to content

Sentence

Defined in: document.ts:35

A sentence: its global char anchor, its dependency graph, and word tokens.

dep: DepSentence

Defined in: document.ts:42

Dependency graph for structural rules.


end: number

Defined in: document.ts:38


index: number

Defined in: document.ts:40

Position of this sentence in the document.


start: number

Defined in: document.ts:37


text: string

Defined in: document.ts:36


words: Tok[]

Defined in: document.ts:44

Non-punctuation tokens with global char offsets (for lexical rules).