Example usage for Java edu.stanford.nlp.trees TreeFactory fields, constructors, methods, implement or subclass
The text is from its open source code.
Tree | newLeaf(String word) Create a new tree leaf node, where the label is formed from the String passed in. |
Tree | newLeaf(Label label) Create a new tree leaf node, with the given label. |
Tree | newTreeNode(String parent, List Create a new tree non-leaf node, where the label is formed from the String passed in. |
Tree | newTreeNode(Label label, List Create a new tree non-leaf node, with the given label. |