public class SemanticRoleRelation_Type extends Relation_Type
Modifier and Type | Field and Description |
---|---|
(package private) Feature |
casFeat_argument |
(package private) Feature |
casFeat_predicate |
(package private) int |
casFeatCode_argument |
(package private) int |
casFeatCode_predicate |
static boolean |
featOkTst |
private FSGenerator |
fsGenerator |
static int |
typeIndexID |
Constructor and Description |
---|
SemanticRoleRelation_Type(JCas jcas,
Type casType)
initialize variables to correspond with Cas Type and Features
|
Modifier and Type | Method and Description |
---|---|
int |
getArgument(int addr) |
protected FSGenerator |
getFSGenerator() |
int |
getPredicate(int addr) |
void |
setArgument(int addr,
int v) |
void |
setPredicate(int addr,
int v) |
getCategory, getConditional, getConfidence, getDiscoveryTechnique, getId, getPolarity, getUncertainty, setCategory, setConditional, setConfidence, setDiscoveryTechnique, setId, setPolarity, setUncertainty
private final FSGenerator fsGenerator
public static final int typeIndexID
public static final boolean featOkTst
final Feature casFeat_predicate
final int casFeatCode_predicate
final Feature casFeat_argument
final int casFeatCode_argument
public SemanticRoleRelation_Type(JCas jcas, Type casType)
jcas
- JCascasType
- Typeprotected FSGenerator getFSGenerator()
getFSGenerator
in class Relation_Type
public int getPredicate(int addr)
addr
- low level Feature Structure referencepublic void setPredicate(int addr, int v)
addr
- low level Feature Structure referencev
- value to setpublic int getArgument(int addr)
addr
- low level Feature Structure referencepublic void setArgument(int addr, int v)
addr
- low level Feature Structure referencev
- value to set