efxtools.sample.type
Class Token
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
efxtools.sample.type.Token
- All Implemented Interfaces:
- java.lang.Cloneable, org.apache.uima.cas.AnnotationBaseFS, org.apache.uima.cas.FeatureStructure, org.apache.uima.cas.text.AnnotationFS
public class Token
- extends org.apache.uima.jcas.tcas.Annotation
A Token annotation
Updated by JCasGen Tue Jul 24 14:47:41 CEST 2012
XML source: /Users/hwachsmuth/Documents/Arbeit/workspace/IE-as-a-Filtering-Task/desc/typesystems/SampleTypeSystem.xml
| Fields inherited from class org.apache.uima.jcas.cas.TOP |
jcasType |
|
Constructor Summary |
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)
|
|
Method Summary |
java.lang.String |
getChunk()
getter for chunk - gets The chunk tag of the token. |
java.lang.String |
getLemma()
getter for lemma - gets The lemma of the token. |
java.lang.String |
getPos()
getter for pos - gets The part-of-speech tag of the token |
int |
getTypeIndexID()
|
void |
setChunk(java.lang.String v)
setter for chunk - sets The chunk tag of the token. |
void |
setLemma(java.lang.String v)
setter for lemma - sets The lemma of the token. |
void |
setPos(java.lang.String v)
setter for pos - sets The part-of-speech tag of the token |
| 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 class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
| 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
Token
public Token(int addr,
org.apache.uima.jcas.cas.TOP_Type type)
- Internal - constructor used by generator
Token
public Token(org.apache.uima.jcas.JCas jcas)
Token
public Token(org.apache.uima.jcas.JCas jcas,
int begin,
int end)
getTypeIndexID
public int getTypeIndexID()
- Overrides:
getTypeIndexID in class org.apache.uima.jcas.tcas.Annotation
getPos
public java.lang.String getPos()
- getter for pos - gets The part-of-speech tag of the token
setPos
public void setPos(java.lang.String v)
- setter for pos - sets The part-of-speech tag of the token
getChunk
public java.lang.String getChunk()
- getter for chunk - gets The chunk tag of the token.
setChunk
public void setChunk(java.lang.String v)
- setter for chunk - sets The chunk tag of the token.
getLemma
public java.lang.String getLemma()
- getter for lemma - gets The lemma of the token.
setLemma
public void setLemma(java.lang.String v)
- setter for lemma - sets The lemma of the token.