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