org.apache.ctakes.typesystem.type.syntax
Class TerminalTreebankNode_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
org.apache.ctakes.typesystem.type.syntax.TerminalTreebankNode_Type
public class TerminalTreebankNode_Type
- extends TreebankNode_Type
A Penn Treebank Node; as a terminal, there is an associated word, and the index of the word is a feature.
Updated by JCasGen Tue Apr 09 11:44:42 EDT 2013
Fields inherited from class org.apache.ctakes.typesystem.type.syntax.TreebankNode_Type |
casFeat_children, casFeat_headIndex, casFeat_leaf, casFeat_nodeTags, casFeat_nodeType, casFeat_nodeValue, casFeat_parent, casFeatCode_children, casFeatCode_headIndex, casFeatCode_leaf, casFeatCode_nodeTags, casFeatCode_nodeType, casFeatCode_nodeValue, casFeatCode_parent |
Fields inherited from class org.apache.uima.jcas.cas.TOP_Type |
casImpl, casType, casTypeCode, instanceOf_Type, jcas, ll_cas, lowLevelArrayBoundChecks, lowLevelTypeChecks, useExistingInstance |
Constructor Summary |
TerminalTreebankNode_Type(org.apache.uima.jcas.JCas jcas,
org.apache.uima.cas.Type casType)
initialize variables to correspond with Cas Type and Features |
Methods inherited from class org.apache.ctakes.typesystem.type.syntax.TreebankNode_Type |
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_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
casFeat_index
final org.apache.uima.cas.Feature casFeat_index
casFeatCode_index
final int casFeatCode_index
casFeat_tokenIndex
final org.apache.uima.cas.Feature casFeat_tokenIndex
casFeatCode_tokenIndex
final int casFeatCode_tokenIndex
TerminalTreebankNode_Type
public TerminalTreebankNode_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 TreebankNode_Type
getIndex
public int getIndex(int addr)
setIndex
public void setIndex(int addr,
int v)
getTokenIndex
public int getTokenIndex(int addr)
setTokenIndex
public void setTokenIndex(int addr,
int v)