public class NumToken extends BaseToken
Modifier and Type | Field and Description |
---|---|
static int |
type |
static int |
typeIndexID |
Modifier | Constructor and Description |
---|---|
protected |
NumToken()
Never called.
|
|
NumToken(int addr,
TOP_Type type)
Internal - constructor used by generator
|
|
NumToken(JCas jcas) |
|
NumToken(JCas jcas,
int begin,
int end) |
Modifier and Type | Method and Description |
---|---|
int |
getNumType()
getter for numType - gets
|
int |
getTypeIndexID() |
private void |
readObject()
Write your own initialization here
|
void |
setNumType(int v)
setter for numType - sets
|
getLemmaEntries, getNormalizedForm, getPartOfSpeech, getTokenNumber, setLemmaEntries, setNormalizedForm, setPartOfSpeech, setTokenNumber
protected NumToken()
public NumToken(int addr, TOP_Type type)
addr
- low level Feature Structure referencetype
- the type of this Feature Structurepublic NumToken(JCas jcas)
jcas
- JCas to which this Feature Structure belongspublic NumToken(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()
getTypeIndexID
in class BaseToken
private void readObject()
public int getNumType()
public void setNumType(int v)
v
- value to set into the feature