Java edu.stanford.nlp.trees TreeGraphNode fields, constructors, methods, implement or subclass

Example usage for Java edu.stanford.nlp.trees TreeGraphNode fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for edu.stanford.nlp.trees TreeGraphNode.

The text is from its open source code.

Field

CoreLabellabel
Label for this node.
TreeGraphNodeparent
Parent of this node.

Constructor

TreeGraphNode(Label label)
Create a new TreeGraphNode with the supplied label.

Method

voidaddChild(Tree t)
Adds the tree t at the last index position among the daughters.
intindex()
Get the index for the current node.
StringnodeString()
Returns the value of the node's label as a String.
voidsetParent(TreeGraphNode parent)
Set the parent for the current node.