Example usage for Java edu.stanford.nlp.trees TreeGraphNode fields, constructors, methods, implement or subclass
The text is from its open source code.
TreeGraphNode(Label label) Create a new TreeGraphNode with the supplied label. |
void | addChild(Tree t) Adds the tree t at the last index position among the daughters. |
int | index() Get the index for the current node. |
String | nodeString() Returns the value of the node's label as a String. |
void | setParent(TreeGraphNode parent) Set the parent for the current node. |