public class WordToken_Type extends BaseToken_Type
Modifier and Type | Field and Description |
---|---|
(package private) Feature |
casFeat_canonicalForm |
(package private) Feature |
casFeat_capitalization |
(package private) Feature |
casFeat_numPosition |
(package private) Feature |
casFeat_suggestion |
(package private) int |
casFeatCode_canonicalForm |
(package private) int |
casFeatCode_capitalization |
(package private) int |
casFeatCode_numPosition |
(package private) int |
casFeatCode_suggestion |
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 |
---|
WordToken_Type(JCas jcas,
Type casType)
initialize variables to correspond with Cas Type and Features
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCanonicalForm(int addr) |
int |
getCapitalization(int addr) |
protected FSGenerator |
getFSGenerator() |
int |
getNumPosition(int addr) |
java.lang.String |
getSuggestion(int addr) |
void |
setCanonicalForm(int addr,
java.lang.String v) |
void |
setCapitalization(int addr,
int v) |
void |
setNumPosition(int addr,
int v) |
void |
setSuggestion(int addr,
java.lang.String 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_capitalization
final int casFeatCode_capitalization
final Feature casFeat_numPosition
final int casFeatCode_numPosition
final Feature casFeat_suggestion
final int casFeatCode_suggestion
final Feature casFeat_canonicalForm
final int casFeatCode_canonicalForm
public WordToken_Type(JCas jcas, Type casType)
jcas
- JCascasType
- Typeprotected FSGenerator getFSGenerator()
getFSGenerator
in class BaseToken_Type
public int getCapitalization(int addr)
addr
- low level Feature Structure referencepublic void setCapitalization(int addr, int v)
addr
- low level Feature Structure referencev
- value to setpublic int getNumPosition(int addr)
addr
- low level Feature Structure referencepublic void setNumPosition(int addr, int v)
addr
- low level Feature Structure referencev
- value to setpublic java.lang.String getSuggestion(int addr)
addr
- low level Feature Structure referencepublic void setSuggestion(int addr, java.lang.String v)
addr
- low level Feature Structure referencev
- value to setpublic java.lang.String getCanonicalForm(int addr)
addr
- low level Feature Structure referencepublic void setCanonicalForm(int addr, java.lang.String v)
addr
- low level Feature Structure referencev
- value to set