Sentence
Defined in: document.ts:27
A sentence: its global char anchor, its dependency graph, and word tokens.
Properties
Section titled “Properties”dep:
DepSentence
Defined in: document.ts:34
Dependency graph for structural rules (from nlpgraph’s parser).
end:
number
Defined in: document.ts:30
index:
number
Defined in: document.ts:32
Position of this sentence in the document.
start:
number
Defined in: document.ts:29
text:
string
Defined in: document.ts:28
words:
Tok[]
Defined in: document.ts:36
Non-punctuation tokens with global char offsets (for lexical rules).