public class NumToken_Type extends BaseToken_Type
Modifier and Type | Field and Description |
---|---|
(package private) Feature |
casFeat_numType |
(package private) int |
casFeatCode_numType |
static boolean |
featOkTst |
private FSGenerator |
fsGenerator |
static int |
typeIndexID |
casFeat_lemmaEntries, casFeat_normalizedForm, casFeat_partOfSpeech, casFeat_tokenNumber, casFeatCode_lemmaEntries, casFeatCode_normalizedForm, casFeatCode_partOfSpeech, casFeatCode_tokenNumber
Constructor and Description |
---|
NumToken_Type(JCas jcas,
Type casType)
initialize variables to correspond with Cas Type and Features
|
Modifier and Type | Method and Description |
---|---|
protected FSGenerator |
getFSGenerator() |
int |
getNumType(int addr) |
void |
setNumType(int addr,
int v) |
getLemmaEntries, getNormalizedForm, getPartOfSpeech, getTokenNumber, setLemmaEntries, setNormalizedForm, setPartOfSpeech, setTokenNumber
private final FSGenerator fsGenerator
public static final int typeIndexID
public static final boolean featOkTst
final Feature casFeat_numType
final int casFeatCode_numType
public NumToken_Type(JCas jcas, Type casType)
jcas
- JCascasType
- Typeprotected FSGenerator getFSGenerator()
getFSGenerator
in class BaseToken_Type
public int getNumType(int addr)
addr
- low level Feature Structure referencepublic void setNumType(int addr, int v)
addr
- low level Feature Structure referencev
- value to set