public class MarkablePair_Type
extends TOP_Type
Modifier and Type | Field and Description |
---|---|
(package private) Feature |
casFeat_anaphor |
(package private) Feature |
casFeat_antecedent |
(package private) Feature |
casFeat_label |
(package private) int |
casFeatCode_anaphor |
(package private) int |
casFeatCode_antecedent |
(package private) int |
casFeatCode_label |
static boolean |
featOkTst |
private FSGenerator |
fsGenerator |
static int |
typeIndexID |
Constructor and Description |
---|
MarkablePair_Type(JCas jcas,
Type casType)
initialize variables to correspond with Cas Type and Features
|
Modifier and Type | Method and Description |
---|---|
int |
getAnaphor(int addr) |
int |
getAntecedent(int addr) |
protected FSGenerator |
getFSGenerator() |
boolean |
getLabel(int addr) |
void |
setAnaphor(int addr,
int v) |
void |
setAntecedent(int addr,
int v) |
void |
setLabel(int addr,
boolean v) |
private final FSGenerator fsGenerator
public static final int typeIndexID
public static final boolean featOkTst
final Feature casFeat_antecedent
final int casFeatCode_antecedent
final Feature casFeat_anaphor
final int casFeatCode_anaphor
final Feature casFeat_label
final int casFeatCode_label
public MarkablePair_Type(JCas jcas, Type casType)
jcas
- JCascasType
- Typeprotected FSGenerator getFSGenerator()
public int getAntecedent(int addr)
addr
- low level Feature Structure referencepublic void setAntecedent(int addr, int v)
addr
- low level Feature Structure referencev
- value to setpublic int getAnaphor(int addr)
addr
- low level Feature Structure referencepublic void setAnaphor(int addr, int v)
addr
- low level Feature Structure referencev
- value to setpublic boolean getLabel(int addr)
addr
- low level Feature Structure referencepublic void setLabel(int addr, boolean v)
addr
- low level Feature Structure referencev
- value to set