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 |
addChild(MutableAParseTree artifact)
Add child
|
void |
setScore(double score)
Set score
|
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 addChild(MutableAParseTree artifact)
artifact - child artifactpublic void setScore(double score)
score - score