Return a list of tokens who are the children of the token at sentence position 'parentIndex'
Return a list of tokens who are the children of the token at sentence position 'parentIndex' and who also have the indicated label value.
Return the label on the edge from the child at sentence position 'index' to its parent.
Returns the parent token of the given token
Returns the parent token of the token at position childIndex (or null if the token at childIndex is the root)
Returns the sentence position of the parent of the token at position childIndex
Return the token at the root of the parse tree.
Return the token at the root of the parse tree. The parent of this token is null. The parentIndex of this position is -1.
Returns the position in the sentence of the root token.
Set the parent of the token 'child' to be 'parent'.
Set the parent of the token at position 'child' to be at position 'parentIndex'.
Set the parent of the token at position 'child' to be at position 'parentIndex'. A parentIndex of -1 indicates the root.
Make the argument the root of the tree.
Make the argument the root of the tree. This method does not prevent their being two roots.
Return the label on the edge from 'childToken' to its parent.
Return the label on the edge from 'childToken' to its parent.