public class Token_Type extends Annotation_Type
| Modifier and Type | Field and Description |
|---|---|
static boolean |
featOkTst |
static int |
typeIndexID |
casImpl, casType, casTypeCode, instanceOf_Type, jcas, ll_cas, lowLevelArrayBoundChecks, lowLevelTypeChecks, useExistingInstance| Constructor and Description |
|---|
Token_Type(JCas jcas,
Type casType)
initialize variables to correspond with Cas Type and Features
|
| Modifier and Type | Method and Description |
|---|---|
int |
getDepRel(int addr) |
int |
getDepRel(int addr,
int i) |
protected FSGenerator |
getFSGenerator() |
int |
getLemma(int addr) |
int |
getOrthogr(int addr) |
String |
getPos(int addr) |
int |
getPosTag(int addr) |
int |
getPosTag(int addr,
int i) |
void |
setDepRel(int addr,
int v) |
void |
setDepRel(int addr,
int i,
int v) |
void |
setLemma(int addr,
int v) |
void |
setOrthogr(int addr,
int v) |
void |
setPos(int addr,
String v) |
void |
setPosTag(int addr,
int v) |
void |
setPosTag(int addr,
int i,
int v) |
getBegin, getCoveredText, getEnd, setBegin, setEndgetSofa, getViewaddToIndexes, checkType, getTypeIndexID, invalidTypeArg, noObjCreate, removeFromIndexespublic static final boolean featOkTst
public static final int typeIndexID
public Token_Type(JCas jcas, Type casType)
jcas - JCascasType - Typepublic int getDepRel(int addr)
addr - low level Feature Structure referencepublic int getDepRel(int addr, int i)
addr - low level Feature Structure referencei - index of item in the arrayprotected FSGenerator getFSGenerator()
getFSGenerator in class Annotation_Typepublic int getLemma(int addr)
addr - low level Feature Structure referencepublic int getOrthogr(int addr)
addr - low level Feature Structure referencepublic String getPos(int addr)
addr - low level Feature Structure referencepublic int getPosTag(int addr)
addr - low level Feature Structure referencepublic int getPosTag(int addr, int i)
addr - low level Feature Structure referencei - index of item in the arraypublic void setDepRel(int addr, int v)
addr - low level Feature Structure referencev - value to setpublic void setDepRel(int addr, int i, int v)
addr - low level Feature Structure referencei - index of item in the arrayv - value to setpublic void setLemma(int addr, int v)
addr - low level Feature Structure referencev - value to setpublic void setOrthogr(int addr, int v)
addr - low level Feature Structure referencev - value to setpublic void setPos(int addr, String v)
addr - low level Feature Structure referencev - value to setpublic void setPosTag(int addr, int v)
addr - low level Feature Structure referencev - value to setpublic void setPosTag(int addr, int i, int v)
addr - low level Feature Structure referencei - index of item in the arrayv - value to setCopyright © 2014. All rights reserved.