public class NamedEntity_Type extends ScoredTOP_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 |
|---|
NamedEntity_Type(JCas jcas,
Type casType)
initialize variables to correspond with Cas Type and Features
|
| Modifier and Type | Method and Description |
|---|---|
String |
getEntityClass(int addr) |
String |
getEntityId(int addr) |
String |
getEntitySubtype(int addr) |
String |
getEntityType(int addr) |
protected FSGenerator |
getFSGenerator() |
int |
getMentions(int addr) |
int |
getMentions(int addr,
int i) |
void |
setEntityClass(int addr,
String v) |
void |
setEntityId(int addr,
String v) |
void |
setEntitySubtype(int addr,
String v) |
void |
setEntityType(int addr,
String v) |
void |
setMentions(int addr,
int v) |
void |
setMentions(int addr,
int i,
int v) |
getScore, setScoreaddToIndexes, checkType, getTypeIndexID, invalidTypeArg, noObjCreate, removeFromIndexespublic static final boolean featOkTst
public static final int typeIndexID
public NamedEntity_Type(JCas jcas, Type casType)
jcas - JCascasType - Typepublic String getEntityClass(int addr)
addr - low level Feature Structure referencepublic String getEntityId(int addr)
addr - low level Feature Structure referencepublic String getEntitySubtype(int addr)
addr - low level Feature Structure referencepublic String getEntityType(int addr)
addr - low level Feature Structure referenceprotected FSGenerator getFSGenerator()
getFSGenerator in class ScoredTOP_Typepublic int getMentions(int addr)
addr - low level Feature Structure referencepublic int getMentions(int addr, int i)
addr - low level Feature Structure referencei - index of item in the arraypublic void setEntityClass(int addr, String v)
addr - low level Feature Structure referencev - value to setpublic void setEntityId(int addr, String v)
addr - low level Feature Structure referencev - value to setpublic void setEntitySubtype(int addr, String v)
addr - low level Feature Structure referencev - value to setpublic void setEntityType(int addr, String v)
addr - low level Feature Structure referencev - value to setpublic void setMentions(int addr, int v)
addr - low level Feature Structure referencev - value to setpublic void setMentions(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.