public class BaseToken
extends Annotation
Modifier and Type | Field and Description |
---|---|
static int |
type |
static int |
typeIndexID |
Modifier | Constructor and Description |
---|---|
protected |
BaseToken()
Never called.
|
|
BaseToken(int addr,
TOP_Type type)
Internal - constructor used by generator
|
|
BaseToken(JCas jcas) |
|
BaseToken(JCas jcas,
int begin,
int end) |
Modifier and Type | Method and Description |
---|---|
FSList |
getLemmaEntries()
getter for lemmaEntries - gets
|
java.lang.String |
getNormalizedForm()
getter for normalizedForm - gets
|
java.lang.String |
getPartOfSpeech()
getter for partOfSpeech - gets
|
int |
getTokenNumber()
getter for tokenNumber - gets
|
int |
getTypeIndexID() |
private void |
readObject()
Write your own initialization here
|
void |
setLemmaEntries(FSList v)
setter for lemmaEntries - sets
|
void |
setNormalizedForm(java.lang.String v)
setter for normalizedForm - sets
|
void |
setPartOfSpeech(java.lang.String v)
setter for partOfSpeech - sets
|
void |
setTokenNumber(int v)
setter for tokenNumber - sets
|
protected BaseToken()
public BaseToken(int addr, TOP_Type type)
addr
- low level Feature Structure referencetype
- the type of this Feature Structurepublic BaseToken(JCas jcas)
jcas
- JCas to which this Feature Structure belongspublic BaseToken(JCas jcas, int begin, int end)
jcas
- JCas to which this Feature Structure belongsbegin
- offset to the begin spot in the SofAend
- offset to the end spot in the SofApublic int getTypeIndexID()
private void readObject()
public int getTokenNumber()
public void setTokenNumber(int v)
v
- value to set into the featurepublic java.lang.String getNormalizedForm()
public void setNormalizedForm(java.lang.String v)
v
- value to set into the featurepublic java.lang.String getPartOfSpeech()
public void setPartOfSpeech(java.lang.String v)
v
- value to set into the featurepublic FSList getLemmaEntries()
public void setLemmaEntries(FSList v)
v
- value to set into the feature