org.apache.ctakes.typesystem.type.syntax
Class TreebankNode_Type
java.lang.Object
org.apache.uima.jcas.cas.TOP_Type
org.apache.uima.jcas.cas.AnnotationBase_Type
org.apache.uima.jcas.tcas.Annotation_Type
org.apache.ctakes.typesystem.type.syntax.TreebankNode_Type
- Direct Known Subclasses:
- TerminalTreebankNode_Type, TopTreebankNode_Type
public class TreebankNode_Type
- extends org.apache.uima.jcas.tcas.Annotation_Type
A Penn Treebank-style tree node. Conforms to PTB 2.0
guidelines.
Updated by JCasGen Thu Nov 28 10:34:46 CST 2013
Fields inherited from class org.apache.uima.jcas.cas.TOP_Type |
casImpl, casType, casTypeCode, instanceOf_Type, jcas, ll_cas, lowLevelArrayBoundChecks, lowLevelTypeChecks, useExistingInstance |
Constructor Summary |
TreebankNode_Type(org.apache.uima.jcas.JCas jcas,
org.apache.uima.cas.Type casType)
initialize variables to correspond with Cas Type and Features |
Method Summary |
int |
getChildren(int addr)
|
int |
getChildren(int addr,
int i)
|
protected org.apache.uima.cas.impl.FSGenerator |
getFSGenerator()
|
int |
getHeadIndex(int addr)
|
boolean |
getLeaf(int addr)
|
int |
getNodeTags(int addr)
|
String |
getNodeTags(int addr,
int i)
|
String |
getNodeType(int addr)
|
String |
getNodeValue(int addr)
|
int |
getParent(int addr)
|
void |
setChildren(int addr,
int v)
|
void |
setChildren(int addr,
int i,
int v)
|
void |
setHeadIndex(int addr,
int v)
|
void |
setLeaf(int addr,
boolean v)
|
void |
setNodeTags(int addr,
int v)
|
void |
setNodeTags(int addr,
int i,
String v)
|
void |
setNodeType(int addr,
String v)
|
void |
setNodeValue(int addr,
String v)
|
void |
setParent(int addr,
int v)
|
Methods inherited from class org.apache.uima.jcas.tcas.Annotation_Type |
getBegin, getCoveredText, getEnd, setBegin, setEnd |
Methods inherited from class org.apache.uima.jcas.cas.AnnotationBase_Type |
getSofa, getView |
Methods inherited from class org.apache.uima.jcas.cas.TOP_Type |
addToIndexes, checkType, getTypeIndexID, invalidTypeArg, noObjCreate, removeFromIndexes |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
typeIndexID
public static final int typeIndexID
featOkTst
public static final boolean featOkTst
TreebankNode_Type
public TreebankNode_Type(org.apache.uima.jcas.JCas jcas,
org.apache.uima.cas.Type casType)
- initialize variables to correspond with Cas Type and Features
getFSGenerator
protected org.apache.uima.cas.impl.FSGenerator getFSGenerator()
- Overrides:
getFSGenerator
in class org.apache.uima.jcas.tcas.Annotation_Type
getNodeType
public String getNodeType(int addr)
setNodeType
public void setNodeType(int addr,
String v)
getNodeValue
public String getNodeValue(int addr)
setNodeValue
public void setNodeValue(int addr,
String v)
getLeaf
public boolean getLeaf(int addr)
setLeaf
public void setLeaf(int addr,
boolean v)
getParent
public int getParent(int addr)
setParent
public void setParent(int addr,
int v)
getChildren
public int getChildren(int addr)
setChildren
public void setChildren(int addr,
int v)
getChildren
public int getChildren(int addr,
int i)
setChildren
public void setChildren(int addr,
int i,
int v)
getNodeTags
public int getNodeTags(int addr)
setNodeTags
public void setNodeTags(int addr,
int v)
getNodeTags
public String getNodeTags(int addr,
int i)
setNodeTags
public void setNodeTags(int addr,
int i,
String v)
getHeadIndex
public int getHeadIndex(int addr)
setHeadIndex
public void setHeadIndex(int addr,
int v)
Copyright © 2012-2013 The Apache Software Foundation. All Rights Reserved.