public class Subtoken extends ScoredAnnotation
| Modifier and Type | Field and Description |
|---|---|
static int |
type |
static int |
typeIndexID |
| Modifier | Constructor and Description |
|---|---|
protected |
Subtoken()
Never called.
|
|
Subtoken(int addr,
TOP_Type type)
Internal - constructor used by generator
|
|
Subtoken(JCas jcas) |
|
Subtoken(JCas jcas,
int begin,
int end) |
| Modifier and Type | Method and Description |
|---|---|
int |
getPosition()
getter for position - gets
|
int |
getTypeIndexID() |
void |
setPosition(int v)
setter for position - sets
|
getScore, setScoregetBegin, 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 Subtoken()
public Subtoken(int addr, TOP_Type type)
addr - low level Feature Structure referencetype - the type of this Feature Structurepublic Subtoken(JCas jcas)
jcas - JCas to which this Feature Structure belongspublic int getPosition()
public int getTypeIndexID()
getTypeIndexID in class ScoredAnnotationpublic void setPosition(int v)
v - value to set into the featureCopyright © 2014. All rights reserved.