public class SemanticArgument_Type extends Argument_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 |
|---|
SemanticArgument_Type(JCas jcas,
Type casType)
initialize variables to correspond with Cas Type and Features
|
| Modifier and Type | Method and Description |
|---|---|
int |
getCoreferenceAnnotations(int addr) |
int |
getCoreferenceAnnotations(int addr,
int i) |
String |
getFeature(int addr) |
protected FSGenerator |
getFSGenerator() |
String |
getHyphenTag(int addr) |
String |
getLabel(int addr) |
String |
getPreposition(int addr) |
String |
getPropTxt(int addr) |
void |
setCoreferenceAnnotations(int addr,
int v) |
void |
setCoreferenceAnnotations(int addr,
int i,
int v) |
void |
setFeature(int addr,
String v) |
void |
setHyphenTag(int addr,
String v) |
void |
setLabel(int addr,
String v) |
void |
setPreposition(int addr,
String v) |
void |
setPropTxt(int addr,
String v) |
getAnnotation, setAnnotationgetScore, setScoregetBegin, getCoveredText, getEnd, setBegin, setEndgetSofa, getViewaddToIndexes, checkType, getTypeIndexID, invalidTypeArg, noObjCreate, removeFromIndexespublic static final boolean featOkTst
public static final int typeIndexID
public SemanticArgument_Type(JCas jcas, Type casType)
jcas - JCascasType - Typepublic int getCoreferenceAnnotations(int addr)
addr - low level Feature Structure referencepublic int getCoreferenceAnnotations(int addr, int i)
addr - low level Feature Structure referencei - index of item in the arraypublic String getFeature(int addr)
addr - low level Feature Structure referenceprotected FSGenerator getFSGenerator()
getFSGenerator in class Argument_Typepublic String getHyphenTag(int addr)
addr - low level Feature Structure referencepublic String getLabel(int addr)
addr - low level Feature Structure referencepublic String getPreposition(int addr)
addr - low level Feature Structure referencepublic String getPropTxt(int addr)
addr - low level Feature Structure referencepublic void setCoreferenceAnnotations(int addr, int v)
addr - low level Feature Structure referencev - value to setpublic void setCoreferenceAnnotations(int addr, int i, int v)
addr - low level Feature Structure referencei - index of item in the arrayv - value to setpublic void setFeature(int addr, String v)
addr - low level Feature Structure referencev - value to setpublic void setHyphenTag(int addr, String v)
addr - low level Feature Structure referencev - value to setpublic void setLabel(int addr, String v)
addr - low level Feature Structure referencev - value to setpublic void setPreposition(int addr, String v)
addr - low level Feature Structure referencev - value to setpublic void setPropTxt(int addr, String v)
addr - low level Feature Structure referencev - value to setCopyright © 2014. All rights reserved.