- getDepth
Calculates the depth of the TreebankNode. The root node has depth 0, children of
the root node have
- getPath
Get the path from the source TreebankNode to the target TreebankNode via the
least common ancestor.
- getPathToRoot
Find the path from a TreebankNode to the root of the tree it belongs to.
- selectMatchingLeaf
Selects a single TreebankNode leaf that has the same span as the given
annotation.
- print
- selectHighestCoveredTreebankNode
Selects the highest TreebankNode in the parse tree that is at least partially
covered by the given a
- selectHighestMatchingTreebankNode
- toTreebankString
Format the TreebankNode as a Penn-Treebank-style parenthesized string.