public class ScoredTOP_Type extends TOP_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 |
|---|
ScoredTOP_Type(JCas jcas,
Type casType)
initialize variables to correspond with Cas Type and Features
|
| Modifier and Type | Method and Description |
|---|---|
protected FSGenerator |
getFSGenerator() |
double |
getScore(int addr) |
void |
setScore(int addr,
double v) |
addToIndexes, checkType, getTypeIndexID, invalidTypeArg, noObjCreate, removeFromIndexespublic static final boolean featOkTst
public static final int typeIndexID
public ScoredTOP_Type(JCas jcas, Type casType)
jcas - JCascasType - Typeprotected FSGenerator getFSGenerator()
getFSGenerator in class TOP_Typepublic double getScore(int addr)
addr - low level Feature Structure referencepublic void setScore(int addr, double v)
addr - low level Feature Structure referencev - value to setCopyright © 2014. All rights reserved.