public class Token extends Annotation
| Modifier and Type | Field and Description |
|---|---|
static int |
type |
static int |
typeIndexID |
| Modifier | Constructor and Description |
|---|---|
protected |
Token()
Never called.
|
|
Token(int addr,
TOP_Type type)
Internal - constructor used by generator
|
|
Token(JCas jcas) |
|
Token(JCas jcas,
int begin,
int end) |
| Modifier and Type | Method and Description |
|---|---|
FSArray |
getDepRel()
getter for depRel - gets
|
DependencyRelation |
getDepRel(int i)
indexed getter for depRel - gets an indexed value -
|
Lemma |
getLemma()
getter for lemma - gets
|
Orthography |
getOrthogr()
getter for orthogr - gets
|
String |
getPos()
getter for pos - gets
|
FSArray |
getPosTag()
getter for posTag - gets
|
PosTag |
getPosTag(int i)
indexed getter for posTag - gets an indexed value -
|
int |
getTypeIndexID() |
void |
setDepRel(FSArray v)
setter for depRel - sets
|
void |
setDepRel(int i,
DependencyRelation v)
indexed setter for depRel - sets an indexed value -
|
void |
setLemma(Lemma v)
setter for lemma - sets
|
void |
setOrthogr(Orthography v)
setter for orthogr - sets
|
void |
setPos(String v)
setter for pos - sets
|
void |
setPosTag(FSArray v)
setter for posTag - sets
|
void |
setPosTag(int i,
PosTag v)
indexed setter for posTag - sets an indexed value -
|
getBegin, getCoveredText, getEnd, getStart, setBegin, setEndgetSofa, getViewaddToIndexes, addToIndexes, equals, getAddress, getCAS, getCASImpl, getLowLevelCas, hashCode, removeFromIndexes, removeFromIndexesclone, 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, waitgetViewclone, equals, getBooleanValue, getByteValue, getCAS, getDoubleValue, getFeatureValue, getFeatureValueAsString, getFloatValue, getIntValue, getLongValue, getShortValue, getStringValue, getType, hashCode, setBooleanValue, setByteValue, setDoubleValue, setFeatureValue, setFeatureValueFromString, setFloatValue, setIntValue, setLongValue, setShortValue, setStringValuepublic static final int type
public static final int typeIndexID
protected Token()
public Token(int addr, TOP_Type type)
addr - low level Feature Structure referencetype - the type of this Feature Structurepublic Token(JCas jcas)
jcas - JCas to which this Feature Structure belongspublic FSArray getDepRel()
public DependencyRelation getDepRel(int i)
i - index in the array to getpublic Orthography getOrthogr()
public FSArray getPosTag()
public PosTag getPosTag(int i)
i - index in the array to getpublic int getTypeIndexID()
getTypeIndexID in class Annotationpublic void setDepRel(FSArray v)
v - value to set into the featurepublic void setDepRel(int i, DependencyRelation v)
i - index in the array to setv - value to set into the arraypublic void setLemma(Lemma v)
v - value to set into the featurepublic void setOrthogr(Orthography v)
v - value to set into the featurepublic void setPos(String v)
v - value to set into the featurepublic void setPosTag(FSArray v)
v - value to set into the featureCopyright © 2014. All rights reserved.