Document
Defined in: document.ts:40
A parsed document: the text, its sentences, and a flat token stream.
Properties
Section titled “Properties”sentences
Section titled “sentences”sentences:
Sentence[]
Defined in: document.ts:42
text:
string
Defined in: document.ts:41
tokens
Section titled “tokens”tokens:
Tok[]
Defined in: document.ts:44
Flat word-token stream across the whole document (lexical convenience).