org.apache.ctakes.typesystem.type.textsem
Class PolarityModifier_Type
java.lang.Object
org.apache.uima.jcas.cas.TOP_Type
org.apache.uima.jcas.cas.AnnotationBase_Type
org.apache.uima.jcas.tcas.Annotation_Type
org.apache.ctakes.typesystem.type.textsem.IdentifiedAnnotation_Type
org.apache.ctakes.typesystem.type.textsem.Modifier_Type
org.apache.ctakes.typesystem.type.textsem.PolarityModifier_Type
public class PolarityModifier_Type
- extends Modifier_Type
Used to indicate that a procedure or assertion did not occur or does not exist. If indicated, negation is present and polarity should be -1. If not indicated, negation is not present and polarity should be +1 by default.
Updated by JCasGen Tue Apr 09 12:44:05 EDT 2013
Fields inherited from class org.apache.ctakes.typesystem.type.textsem.IdentifiedAnnotation_Type |
casFeat_conditional, casFeat_confidence, casFeat_discoveryTechnique, casFeat_generic, casFeat_historyOf, casFeat_id, casFeat_ontologyConceptArr, 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_polarity, casFeatCode_segmentID, casFeatCode_sentenceID, casFeatCode_subject, casFeatCode_typeID, casFeatCode_uncertainty |
Fields inherited from class org.apache.uima.jcas.cas.TOP_Type |
casImpl, casType, casTypeCode, instanceOf_Type, jcas, ll_cas, lowLevelArrayBoundChecks, lowLevelTypeChecks, useExistingInstance |
Constructor Summary |
PolarityModifier_Type(org.apache.uima.jcas.JCas jcas,
org.apache.uima.cas.Type casType)
initialize variables to correspond with Cas Type and Features |
Methods inherited from class org.apache.ctakes.typesystem.type.textsem.IdentifiedAnnotation_Type |
getConditional, getConfidence, getDiscoveryTechnique, getGeneric, getHistoryOf, getId, getOntologyConceptArr, getOntologyConceptArr, getPolarity, getSegmentID, getSentenceID, getSubject, getTypeID, getUncertainty, setConditional, setConfidence, setDiscoveryTechnique, setGeneric, setHistoryOf, setId, setOntologyConceptArr, setOntologyConceptArr, setPolarity, setSegmentID, setSentenceID, setSubject, setTypeID, setUncertainty |
Methods inherited from class org.apache.uima.jcas.tcas.Annotation_Type |
getBegin, getCoveredText, getEnd, setBegin, setEnd |
Methods inherited from class org.apache.uima.jcas.cas.AnnotationBase_Type |
getSofa, getView |
Methods inherited from class org.apache.uima.jcas.cas.TOP_Type |
addToIndexes, checkType, getTypeIndexID, invalidTypeArg, noObjCreate, removeFromIndexes |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
typeIndexID
public static final int typeIndexID
featOkTst
public static final boolean featOkTst
casFeat_indicated
final org.apache.uima.cas.Feature casFeat_indicated
casFeatCode_indicated
final int casFeatCode_indicated
PolarityModifier_Type
public PolarityModifier_Type(org.apache.uima.jcas.JCas jcas,
org.apache.uima.cas.Type casType)
- initialize variables to correspond with Cas Type and Features
getFSGenerator
protected org.apache.uima.cas.impl.FSGenerator getFSGenerator()
- Overrides:
getFSGenerator
in class Modifier_Type
getIndicated
public boolean getIndicated(int addr)
setIndicated
public void setIndicated(int addr,
boolean v)