Cahracter span within the paragraph.
Nodes that depend on this node, ordered by word-order; empty for leafs or if no tree-structure is in the analysis.
Lemma of the token e.g. bezpecny. null if not requested/supported.
Universal and custom features
Label of the dependency edge. Null if not requested/supported.
Readonly
idID of this node used to refer to it from other objects.
Readonly
idxZero-based index of this node reflecting its word-order position within the sentence.
Simple lemma of the token, e.g. nejnebezpecnejsi (in Cz, includes negation and grade). Null if not requested/supported.
Morphological tag, e.g. AAMS1-...., VBD, ... Null if not requested/supported.
Character span within the original paragraph.
Text of this token in the original paragraph.
Node that this node depends on. Null for the root or if no tree-structure is in the analysis.
Google universal tag. Null if not requested/supported.
Sentence this node belongs to. Can be null only during construction.
Dependency sub-function. None if not requested/supported.
Text of this token, possibly after correction.
Static
Readonly
FEAT_Lemma info features, a list of strings.
Static
Readonly
FEAT_Key presence signifies it is a negated word, value = true.
Static
Readonly
FEAT_Key presence signifies it is an unknown word, value = true.
Full dependency function in the format {fnc}:{subFnc}
if the sub-function is present.
Otherwise it's the same as fnc
.
In-order iterator over the subtree of this node, optionally skipping some subtrees.
If true, the nodes on which [skipPredicate] returns true are included in the result.
When this predicate is true on any node, the node's subtree is not traversed (skipping only their subtrees).
Pre-order iterator over the subtree of this node, optionally skipping some subtrees.
If true, the nodes on which [skipPredicate] returns true are included in the result (skipping only their subtrees).
When this predicate is true on any node, the node's subtree is not traversed.
Token following of preceding this token within the sentence.
Relative offset. The following tokens have a positive offse, preceding a negative one. The ext token has offset = 1.
The token at the relative offset or null if the offset is invalid.
Indented string representation of the subtree of this node.
A function printing individual nodes.
A string used to indent each level from the previous one.
Indentation level to start with.
Static
ofToken factory method, public constructor.
A token including basic morphological and syntactic information. A token is similar to a word, but includes punctuation. Tokens have an zero-based index reflecting their position within their sentence. The morphological and syntactical features might be null (deepLemma, lemma, morphTag, pos, fnc, parent), or empty (children) if not requested or supported.