public class MutableAParseTree extends AParseTree
BasicTree.BreadthFirstTreeNodes, BasicTree.DepthFirstPostOrderTreeNodes, BasicTree.DepthFirstPreOrderTreeNodes, BasicTree.TreeIterator<T extends BasicTree<T>>, BasicTree.TreeNodesByLevel| Modifier and Type | Field and Description |
|---|---|
private static long |
serialVersionUID |
annotations, score, value| Constructor and Description |
|---|
MutableAParseTree(java.lang.String value,
Token token,
double score)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
setChildren(java.util.List<AParseTree> children)
Set children
|
void |
setParent(AParseTree parent)
Set parent
|
getId, getILabel, getIndex, getLemma, getNode, getScore, getToken, getValue, getWord, toStringdepth, getChildren, getParent, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetChildrenprivate static final long serialVersionUID
public MutableAParseTree(java.lang.String value,
Token token,
double score)
value - valuetoken - tokenscore - scorepublic void setParent(AParseTree parent)
parent - parentpublic void setChildren(java.util.List<AParseTree> children)
children - children