public class TokenAnnotation extends TokenAnnotation
| Modifier and Type | Field and Description |
|---|---|
static int |
type |
static int |
typeIndexID |
| Modifier | Constructor and Description |
|---|---|
protected |
TokenAnnotation()
Never called.
|
|
TokenAnnotation(int addr,
org.apache.uima.jcas.cas.TOP_Type type)
Internal - constructor used by generator
|
|
TokenAnnotation(org.apache.uima.jcas.JCas jcas) |
|
TokenAnnotation(org.apache.uima.jcas.JCas jcas,
int begin,
int end) |
| Modifier and Type | Method and Description |
|---|---|
String |
getText()
getter for text - gets text of token
|
String |
getTokenClass()
getter for tokenClass - gets semantic class, or other such classification of this token
|
int |
getTokenType()
getter for tokenType - gets
|
int |
getTypeIndexID() |
void |
setText(String v)
setter for text - sets text of token
|
void |
setTokenClass(String v)
setter for tokenClass - sets semantic class, or other such classification of this token
|
void |
setTokenType(int v)
setter for tokenType - sets
|
getBegin, getCoveredText, getEnd, getStart, setBegin, setEndaddToIndexes, addToIndexes, equals, getAddress, getCAS, getCASImpl, getLowLevelCas, hashCode, removeFromIndexes, removeFromIndexesclone, 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, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitclone, equals, getBooleanValue, getByteValue, getCAS, getDoubleValue, getFeatureValue, getFeatureValueAsString, getFloatValue, getIntValue, getLongValue, getShortValue, getStringValue, getType, hashCode, setBooleanValue, setByteValue, setDoubleValue, setFeatureValue, setFeatureValueFromString, setFloatValue, setIntValue, setLongValue, setShortValue, setStringValueprotected TokenAnnotation()
public TokenAnnotation(int addr,
org.apache.uima.jcas.cas.TOP_Type type)
addr - -type - -public TokenAnnotation(org.apache.uima.jcas.JCas jcas)
jcas - -public TokenAnnotation(org.apache.uima.jcas.JCas jcas,
int begin,
int end)
jcas - -begin - -end - -public int getTypeIndexID()
getTypeIndexID in class TokenAnnotationpublic String getText()
public void setText(String v)
v - -public int getTokenType()
public void setTokenType(int v)
v - -public String getTokenClass()
public void setTokenClass(String v)
v - -Copyright © 2006–2018 The Apache Software Foundation. All rights reserved.