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)
public TokenAnnotation(org.apache.uima.jcas.JCas jcas)
public TokenAnnotation(org.apache.uima.jcas.JCas jcas,
int begin,
int end)
public int getTypeIndexID()
getTypeIndexID in class TokenAnnotationpublic String getText()
public void setText(String v)
public int getTokenType()
public void setTokenType(int v)
public String getTokenClass()
public void setTokenClass(String v)
Copyright © 2006–2025 The Apache Software Foundation. All rights reserved.