public class TopTreebankNode extends TreebankNode
| Modifier and Type | Field and Description |
|---|---|
static int |
type |
static int |
typeIndexID |
| Modifier | Constructor and Description |
|---|---|
protected |
TopTreebankNode()
Never called.
|
|
TopTreebankNode(int addr,
TOP_Type type)
Internal - constructor used by generator
|
|
TopTreebankNode(JCas jcas) |
|
TopTreebankNode(JCas jcas,
int begin,
int end) |
| Modifier and Type | Method and Description |
|---|---|
FSArray |
getTerminals()
getter for terminals - gets
|
TerminalTreebankNode |
getTerminals(int i)
indexed getter for terminals - gets an indexed value -
|
String |
getTreebankParse()
getter for treebankParse - gets
|
int |
getTypeIndexID() |
void |
setTerminals(FSArray v)
setter for terminals - sets
|
void |
setTerminals(int i,
TerminalTreebankNode v)
indexed setter for terminals - sets an indexed value -
|
void |
setTreebankParse(String v)
setter for treebankParse - sets
|
getChildren, getChildren, getLeaf, getNodeTags, getNodeTags, getNodeType, getNodeValue, getParent, setChildren, setChildren, setLeaf, setNodeTags, setNodeTags, setNodeType, setNodeValue, setParentgetScore, setScoregetBegin, getCoveredText, getEnd, getStart, setBegin, setEndgetSofa, getViewaddToIndexes, addToIndexes, equals, getAddress, getCAS, getCASImpl, getLowLevelCas, hashCode, removeFromIndexes, removeFromIndexesclone, getBooleanValue, getByteValue, getDoubleValue, getFeatureValue, getFeatureValueAsString, getFloatValue, getIntValue, getLongValue, getShortValue, getStringValue, getType, prettyPrint, prettyPrint, prettyPrint, setBooleanValue, setByteValue, setDoubleValue, setFeatureValue, setFeatureValueFromString, setFloatValue, setIntValue, setLongValue, setShortValue, setStringValue, toString, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitgetViewclone, equals, getBooleanValue, getByteValue, getCAS, getDoubleValue, getFeatureValue, getFeatureValueAsString, getFloatValue, getIntValue, getLongValue, getShortValue, getStringValue, getType, hashCode, setBooleanValue, setByteValue, setDoubleValue, setFeatureValue, setFeatureValueFromString, setFloatValue, setIntValue, setLongValue, setShortValue, setStringValuepublic static final int type
public static final int typeIndexID
protected TopTreebankNode()
public TopTreebankNode(int addr, TOP_Type type)
addr - low level Feature Structure referencetype - the type of this Feature Structurepublic TopTreebankNode(JCas jcas)
jcas - JCas to which this Feature Structure belongspublic TopTreebankNode(JCas jcas, int begin, int end)
jcas - JCas to which this Feature Structure belongsbegin - offset to the begin spot in the SofAend - offset to the end spot in the SofApublic FSArray getTerminals()
public TerminalTreebankNode getTerminals(int i)
i - index in the array to getpublic String getTreebankParse()
public int getTypeIndexID()
getTypeIndexID in class TreebankNodepublic void setTerminals(FSArray v)
v - value to set into the featurepublic void setTerminals(int i, TerminalTreebankNode v)
i - index in the array to setv - value to set into the arraypublic void setTreebankParse(String v)
v - value to set into the featureCopyright © 2014. All rights reserved.