Index of the child token (note: tokens are indexed within their sentence).
Index of the parent token (note: tokens are indexed within their sentence);
The builder to allow chained calls.
Record a single token as a node of the tree.
Token to add. Its index must be correct, parent and children fields are ignored.
The builder to allow chained calls.
Record a collection of tokens as nodes of the tree.
Tokens to add. Their index must be correct, parent and children fields are ignored.
The builder to allow chained calls.
Record a dependency edge. The tokens connected by the edge might be added later.