org.apache.uima
Class TokenAnnotation
java.lang.Object
org.apache.uima.cas.impl.FeatureStructureImpl
org.apache.uima.jcas.cas.TOP
org.apache.uima.jcas.cas.AnnotationBase
org.apache.uima.jcas.tcas.Annotation
org.apache.uima.TokenAnnotation
- All Implemented Interfaces:
- Cloneable, org.apache.uima.cas.AnnotationBaseFS, org.apache.uima.cas.FeatureStructure, org.apache.uima.cas.text.AnnotationFS
public class TokenAnnotation
- extends org.apache.uima.jcas.tcas.Annotation
Single token annotation Updated by JCasGen Thu Oct 25 11:28:37 CEST 2007 XML source:
C:/code/ApacheUIMA/Tagger/desc/HmmTaggerTAE.xml
Fields inherited from class org.apache.uima.jcas.cas.TOP |
addr, jcasType |
Methods inherited from class org.apache.uima.jcas.tcas.Annotation |
getBegin, getCoveredText, getEnd, getStart, setBegin, setEnd |
Methods inherited from class org.apache.uima.jcas.cas.AnnotationBase |
getSofa, getView |
Methods inherited from class org.apache.uima.jcas.cas.TOP |
addToIndexes, addToIndexes, equals, getAddress, getCAS, getCASImpl, getLowLevelCas, hashCode, removeFromIndexes, removeFromIndexes |
Methods inherited from class org.apache.uima.cas.impl.FeatureStructureImpl |
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 |
Methods inherited from interface org.apache.uima.cas.AnnotationBaseFS |
getView |
Methods inherited from interface org.apache.uima.cas.FeatureStructure |
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 |
typeIndexID
public static final int typeIndexID
type
public static final int type
TokenAnnotation
protected TokenAnnotation()
- Never called. Disable default constructor
TokenAnnotation
public TokenAnnotation(int addr,
org.apache.uima.jcas.cas.TOP_Type type)
- Internal - constructor used by generator
TokenAnnotation
public TokenAnnotation(org.apache.uima.jcas.JCas jcas)
TokenAnnotation
public TokenAnnotation(org.apache.uima.jcas.JCas jcas,
int begin,
int end)
getTypeIndexID
public int getTypeIndexID()
- Overrides:
getTypeIndexID
in class org.apache.uima.jcas.tcas.Annotation
getTokenType
public String getTokenType()
- getter for tokenType - gets token type
setTokenType
public void setTokenType(String v)
- setter for tokenType - sets token type
getPosTag
public String getPosTag()
- getter for posTag - gets contains part-of-speech of a corresponding token
setPosTag
public void setPosTag(String v)
- setter for posTag - sets contains part-of-speech of a corresponding token
Copyright © 2006-2011 The Apache Software Foundation. All Rights Reserved.