|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.uima.cas.impl.FeatureStructureImpl
org.apache.uima.jcas.cas.TOP
org.apache.uima.jcas.cas.AnnotationBase
org.apache.uima.jcas.tcas.Annotation
org.apache.ctakes.typesystem.type.syntax.TreebankNode
org.apache.ctakes.typesystem.type.syntax.TopTreebankNode
public class TopTreebankNode
A Penn Treebank Node; as the top node, this stores the whole subsumed sentence's parse tree as a string. It also stores all the terminals, allowing for traversal of the tree bottom-up (top-down is implied through the TreebankNode's 'children' attribute). Updated by JCasGen Wed Nov 27 20:11:48 CST 2013 XML source: C:/build-Apache-cTAKES/ctakes-3.1.1/rc2/checkout/ctakes/target/checkout/ctakes-type-system/src/main/resources/org/apache/ctakes/typesystem/types/TypeSystem.xml
Field Summary | |
---|---|
static int |
type
|
static int |
typeIndexID
|
Fields inherited from class org.apache.uima.jcas.cas.TOP |
---|
addr, jcasType |
Constructor Summary | |
---|---|
protected |
TopTreebankNode()
Never called. |
|
TopTreebankNode(int addr,
org.apache.uima.jcas.cas.TOP_Type type)
Internal - constructor used by generator |
|
TopTreebankNode(org.apache.uima.jcas.JCas jcas)
|
|
TopTreebankNode(org.apache.uima.jcas.JCas jcas,
int begin,
int end)
|
Method Summary | |
---|---|
org.apache.uima.jcas.cas.FSArray |
getTerminals()
getter for terminals - gets Stores the terminal nodes of the parse tree. |
TerminalTreebankNode |
getTerminals(int i)
indexed getter for terminals - gets an indexed value - Stores the terminal nodes of the parse tree. |
String |
getTreebankParse()
getter for treebankParse - gets A bracketed sentence string representing the parse tree. |
int |
getTypeIndexID()
|
void |
setTerminals(org.apache.uima.jcas.cas.FSArray v)
setter for terminals - sets Stores the terminal nodes of the parse tree. |
void |
setTerminals(int i,
TerminalTreebankNode v)
indexed setter for terminals - sets an indexed value - Stores the terminal nodes of the parse tree. |
void |
setTreebankParse(String v)
setter for treebankParse - sets A bracketed sentence string representing the parse tree. |
Methods inherited from class org.apache.ctakes.typesystem.type.syntax.TreebankNode |
---|
getChildren, getChildren, getHeadIndex, getLeaf, getNodeTags, getNodeTags, getNodeType, getNodeValue, getParent, setChildren, setChildren, setHeadIndex, setLeaf, setNodeTags, setNodeTags, setNodeType, setNodeValue, setParent |
Methods inherited from class org.apache.uima.jcas.tcas.Annotation |
---|
getBegin, getCoveredText, getEnd, getStart, setBegin, setEnd |
Methods inherited from class org.apache.uima.jcas.cas.AnnotationBase |
---|
getSofa, getView |
Methods inherited from class org.apache.uima.jcas.cas.TOP |
---|
addToIndexes, addToIndexes, equals, getAddress, getCAS, getCASImpl, getLowLevelCas, hashCode, removeFromIndexes, removeFromIndexes |
Methods inherited from class org.apache.uima.cas.impl.FeatureStructureImpl |
---|
clone, 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, toString |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.apache.uima.cas.AnnotationBaseFS |
---|
getView |
Methods inherited from interface org.apache.uima.cas.FeatureStructure |
---|
clone, equals, getBooleanValue, getByteValue, getCAS, getDoubleValue, getFeatureValue, getFeatureValueAsString, getFloatValue, getIntValue, getLongValue, getShortValue, getStringValue, getType, hashCode, setBooleanValue, setByteValue, setDoubleValue, setFeatureValue, setFeatureValueFromString, setFloatValue, setIntValue, setLongValue, setShortValue, setStringValue |
Field Detail |
---|
public static final int typeIndexID
public static final int type
Constructor Detail |
---|
protected TopTreebankNode()
public TopTreebankNode(int addr, org.apache.uima.jcas.cas.TOP_Type type)
public TopTreebankNode(org.apache.uima.jcas.JCas jcas)
public TopTreebankNode(org.apache.uima.jcas.JCas jcas, int begin, int end)
Method Detail |
---|
public int getTypeIndexID()
getTypeIndexID
in class TreebankNode
public String getTreebankParse()
public void setTreebankParse(String v)
public org.apache.uima.jcas.cas.FSArray getTerminals()
public void setTerminals(org.apache.uima.jcas.cas.FSArray v)
public TerminalTreebankNode getTerminals(int i)
public void setTerminals(int i, TerminalTreebankNode v)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |