DepToken
Defined in: types.ts:2
A single token in a dependency graph, aligned to the CoNLL-U column model.
Properties
Section titled “Properties”deprel
Section titled “deprel”deprel:
string
Defined in: types.ts:12
Universal dependency relation label (DEPREL), e.g. “nsubj”, “obl:agent”.
form:
string
Defined in: types.ts:6
Surface form (the word as it appears).
head:
number
Defined in: types.ts:10
1-based id of the syntactic head; 0 means attached to the artificial ROOT.
id:
number
Defined in: types.ts:4
1-based position within the sentence.
upos:
string
Defined in: types.ts:8
Universal POS tag (UPOS).