public class WordToken extends BaseToken
Modifier and Type | Field and Description |
---|---|
static int |
type |
static int |
typeIndexID |
Modifier | Constructor and Description |
---|---|
protected |
WordToken()
Never called.
|
|
WordToken(int addr,
org.apache.uima.jcas.cas.TOP_Type type)
Internal - constructor used by generator
|
|
WordToken(org.apache.uima.jcas.JCas jcas) |
|
WordToken(org.apache.uima.jcas.JCas jcas,
int begin,
int end) |
Modifier and Type | Method and Description |
---|---|
String |
getCanonicalForm()
getter for canonicalForm - gets
|
int |
getCapitalization()
getter for capitalization - gets
|
int |
getNumPosition()
getter for numPosition - gets
|
String |
getSuggestion()
getter for suggestion - gets
|
int |
getTypeIndexID() |
void |
setCanonicalForm(String v)
setter for canonicalForm - sets
|
void |
setCapitalization(int v)
setter for capitalization - sets
|
void |
setNumPosition(int v)
setter for numPosition - sets
|
void |
setSuggestion(String v)
setter for suggestion - sets
|
getLemmaEntries, getNormalizedForm, getPartOfSpeech, getTokenNumber, setLemmaEntries, setNormalizedForm, setPartOfSpeech, setTokenNumber
getBegin, getCoveredText, getEnd, getStart, setBegin, setEnd
addToIndexes, addToIndexes, equals, getAddress, getCAS, getCASImpl, getLowLevelCas, hashCode, removeFromIndexes, removeFromIndexes
clone, getavoidcollisionTypeCode, getBooleanValue, getByteValue, getDoubleValue, getFeatureValue, getFeatureValueAsString, getFloatValue, getIntValue, getLongValue, getShortValue, getStringValue, getType, prettyPrint, prettyPrint, prettyPrint, setBooleanValue, setByteValue, setDoubleValue, setFeatureValue, setFeatureValueFromString, setFloatValue, setIntValue, setLongValue, setShortValue, setStringValue, toString, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
clone, equals, getBooleanValue, getByteValue, getCAS, getDoubleValue, getFeatureValue, getFeatureValueAsString, getFloatValue, getIntValue, getLongValue, getShortValue, getStringValue, getType, hashCode, setBooleanValue, setByteValue, setDoubleValue, setFeatureValue, setFeatureValueFromString, setFloatValue, setIntValue, setLongValue, setShortValue, setStringValue
protected WordToken()
public WordToken(int addr, org.apache.uima.jcas.cas.TOP_Type type)
addr
- low level Feature Structure referencetype
- the type of this Feature Structurepublic WordToken(org.apache.uima.jcas.JCas jcas)
jcas
- JCas to which this Feature Structure belongspublic WordToken(org.apache.uima.jcas.JCas jcas, int begin, int end)
jcas
- JCas to which this Feature Structure belongsbegin
- offset to the begin spot in the SofAend
- offset to the end spot in the SofApublic int getTypeIndexID()
getTypeIndexID
in class BaseToken
public int getCapitalization()
public void setCapitalization(int v)
v
- value to set into the featurepublic int getNumPosition()
public void setNumPosition(int v)
v
- value to set into the featurepublic String getSuggestion()
public void setSuggestion(String v)
v
- value to set into the featurepublic String getCanonicalForm()
public void setCanonicalForm(String v)
v
- value to set into the featureCopyright © 2012-2017 The Apache Software Foundation. All Rights Reserved.