Example usage for Java edu.stanford.nlp.trees Trees fields, constructors, methods, implement or subclass
The text is from its open source code.
void | convertToCoreLabels(Tree tree) Converts the tree labels to CoreLabels. |
List | leaves(Tree t) returns the leaves in a Tree in the order that they're found. |
int | leftEdge(Tree t, Tree root) Returns the positional index of the left edge of a tree t within a given root, as defined by the size of the yield of all material preceding t. |
Tree | lexicalize(Tree t, HeadFinder hf) Returns a lexicalized Tree whose Labels are CategoryWordTag instances, all corresponds to the input tree. |
int | rightEdge(Tree t, Tree root) Returns the positional index of the right edge of a tree t within a given root, as defined by the size of the yield of all material preceding t plus all the material contained in t. |