public class Token
extends org.apache.uima.jcas.tcas.Annotation
Modifier and Type | Field and Description |
---|---|
static int |
type |
static int |
typeIndexID |
Constructor and Description |
---|
Token(int addr,
org.apache.uima.jcas.cas.TOP_Type type)
Internal - constructor used by generator
|
Token(org.apache.uima.jcas.JCas jcas) |
Token(org.apache.uima.jcas.JCas jcas,
int begin,
int end) |
Modifier and Type | Method and Description |
---|---|
POS |
getPOS()
getter for POS - gets The part-of-speech of the token.
|
boolean |
getSkip()
getter for skip - gets Specifies whether this is a 'skip' token.
|
int |
getTypeIndexID() |
void |
setPOS(POS v)
setter for POS - sets The part-of-speech of the token.
|
void |
setSkip(boolean v)
setter for skip - sets Specifies whether this is a 'skip' token.
|
getBegin, getCoveredText, getEnd, getStart, setBegin, setEnd
addToIndexes, addToIndexes, equals, getAddress, getCAS, getCASImpl, getLowLevelCas, hashCode, removeFromIndexes, removeFromIndexes
clone, 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
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
public Token(int addr, org.apache.uima.jcas.cas.TOP_Type type)
public Token(org.apache.uima.jcas.JCas jcas)
public Token(org.apache.uima.jcas.JCas jcas, int begin, int end)
public int getTypeIndexID()
getTypeIndexID
in class org.apache.uima.jcas.tcas.Annotation
public POS getPOS()
public void setPOS(POS v)
v
- value to set into the featurepublic boolean getSkip()
public void setSkip(boolean v)
v
- value to set into the feature