public class ContextAnnotation_Type extends IdentifiedAnnotation_Type
Modifier and Type | Field and Description |
---|---|
(package private) Feature |
casFeat_FocusText |
(package private) Feature |
casFeat_Scope |
(package private) int |
casFeatCode_FocusText |
(package private) int |
casFeatCode_Scope |
static boolean |
featOkTst |
private FSGenerator |
fsGenerator |
static int |
typeIndexID |
casFeat_conditional, casFeat_confidence, casFeat_discoveryTechnique, casFeat_generic, casFeat_historyOf, casFeat_id, casFeat_ontologyConceptArr, casFeat_originalText, casFeat_polarity, casFeat_segmentID, casFeat_sentenceID, casFeat_subject, casFeat_typeID, casFeat_uncertainty, casFeatCode_conditional, casFeatCode_confidence, casFeatCode_discoveryTechnique, casFeatCode_generic, casFeatCode_historyOf, casFeatCode_id, casFeatCode_ontologyConceptArr, casFeatCode_originalText, casFeatCode_polarity, casFeatCode_segmentID, casFeatCode_sentenceID, casFeatCode_subject, casFeatCode_typeID, casFeatCode_uncertainty
Constructor and Description |
---|
ContextAnnotation_Type(JCas jcas,
Type casType)
initialize variables to correspond with Cas Type and Features
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getFocusText(int addr) |
protected FSGenerator |
getFSGenerator() |
java.lang.String |
getScope(int addr) |
void |
setFocusText(int addr,
java.lang.String v) |
void |
setScope(int addr,
java.lang.String v) |
getConditional, getConfidence, getDiscoveryTechnique, getGeneric, getHistoryOf, getId, getOntologyConceptArr, getOntologyConceptArr, getOriginalText, getOriginalText, getPolarity, getSegmentID, getSentenceID, getSubject, getTypeID, getUncertainty, setConditional, setConfidence, setDiscoveryTechnique, setGeneric, setHistoryOf, setId, setOntologyConceptArr, setOntologyConceptArr, setOriginalText, setOriginalText, setPolarity, setSegmentID, setSentenceID, setSubject, setTypeID, setUncertainty
private final FSGenerator fsGenerator
public static final int typeIndexID
public static final boolean featOkTst
final Feature casFeat_FocusText
final int casFeatCode_FocusText
final Feature casFeat_Scope
final int casFeatCode_Scope
public ContextAnnotation_Type(JCas jcas, Type casType)
jcas
- JCascasType
- Typeprotected FSGenerator getFSGenerator()
getFSGenerator
in class IdentifiedAnnotation_Type
public java.lang.String getFocusText(int addr)
addr
- low level Feature Structure referencepublic void setFocusText(int addr, java.lang.String v)
addr
- low level Feature Structure referencev
- value to setpublic java.lang.String getScope(int addr)
addr
- low level Feature Structure referencepublic void setScope(int addr, java.lang.String v)
addr
- low level Feature Structure referencev
- value to set