public class TerminalTreebankNode_Type extends TreebankNode_Type
Modifier and Type | Field and Description |
---|---|
(package private) Feature |
casFeat_index |
(package private) Feature |
casFeat_tokenIndex |
(package private) int |
casFeatCode_index |
(package private) int |
casFeatCode_tokenIndex |
static boolean |
featOkTst |
private FSGenerator |
fsGenerator |
static int |
typeIndexID |
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
Constructor and Description |
---|
TerminalTreebankNode_Type(JCas jcas,
Type casType)
initialize variables to correspond with Cas Type and Features
|
Modifier and Type | Method and Description |
---|---|
protected FSGenerator |
getFSGenerator() |
int |
getIndex(int addr) |
int |
getTokenIndex(int addr) |
void |
setIndex(int addr,
int v) |
void |
setTokenIndex(int addr,
int v) |
getChildren, getChildren, getHeadIndex, getLeaf, getNodeTags, getNodeTags, getNodeType, getNodeValue, getParent, setChildren, setChildren, setHeadIndex, setLeaf, setNodeTags, setNodeTags, setNodeType, setNodeValue, setParent
private final FSGenerator fsGenerator
public static final int typeIndexID
public static final boolean featOkTst
final Feature casFeat_index
final int casFeatCode_index
final Feature casFeat_tokenIndex
final int casFeatCode_tokenIndex
public TerminalTreebankNode_Type(JCas jcas, Type casType)
jcas
- JCascasType
- Typeprotected FSGenerator getFSGenerator()
getFSGenerator
in class TreebankNode_Type
public int getIndex(int addr)
addr
- low level Feature Structure referencepublic void setIndex(int addr, int v)
addr
- low level Feature Structure referencev
- value to setpublic int getTokenIndex(int addr)
addr
- low level Feature Structure referencepublic void setTokenIndex(int addr, int v)
addr
- low level Feature Structure referencev
- value to set