public class SemanticRoleRelation_Type extends Relation_Type
Modifier and Type | Field and Description |
---|---|
static boolean |
featOkTst |
static int |
typeIndexID |
Constructor and Description |
---|
SemanticRoleRelation_Type(org.apache.uima.jcas.JCas jcas,
org.apache.uima.cas.Type casType)
initialize variables to correspond with Cas Type and Features
|
Modifier and Type | Method and Description |
---|---|
int |
getArgument(int addr) |
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
public static final int typeIndexID
public static final boolean featOkTst
public SemanticRoleRelation_Type(org.apache.uima.jcas.JCas jcas, org.apache.uima.cas.Type casType)
jcas
- JCascasType
- Typepublic 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 setCopyright © 2012-2017 The Apache Software Foundation. All Rights Reserved.