|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.uima.cas.impl.FeatureStructureImpl
org.apache.uima.jcas.cas.TOP
org.apache.uima.jcas.cas.AnnotationBase
org.apache.uima.jcas.tcas.Annotation
org.apache.ctakes.typesystem.type.textsem.IdentifiedAnnotation
public class IdentifiedAnnotation
Any span of text that has been discovered or flagged for some reason, such as a Named Entity. Allows for mapping to an ontology. Generalized from cTAKES: org.apache.ctakes.typesystem.type.IdentifiedAnnotation. Updated by JCasGen Tue Apr 09 12:44:04 EDT 2013 XML source: trunk/ctakes-pad-term-spotter-res/src/main/resources/org/apache/ctakes/padtermspotter/types/TypeSystem.xml
Field Summary | |
---|---|
static int |
type
|
static int |
typeIndexID
|
Fields inherited from class org.apache.uima.jcas.cas.TOP |
---|
addr, jcasType |
Constructor Summary | |
---|---|
protected |
IdentifiedAnnotation()
Never called. |
|
IdentifiedAnnotation(int addr,
org.apache.uima.jcas.cas.TOP_Type type)
Internal - constructor used by generator |
|
IdentifiedAnnotation(org.apache.uima.jcas.JCas jcas)
|
|
IdentifiedAnnotation(org.apache.uima.jcas.JCas jcas,
int begin,
int end)
|
Method Summary | |
---|---|
boolean |
getConditional()
getter for conditional - gets |
float |
getConfidence()
getter for confidence - gets The confidence of the annotation. |
int |
getDiscoveryTechnique()
getter for discoveryTechnique - gets |
boolean |
getGeneric()
getter for generic - gets |
int |
getHistoryOf()
getter for historyOf - gets |
int |
getId()
getter for id - gets |
org.apache.uima.jcas.cas.FSArray |
getOntologyConceptArr()
getter for ontologyConceptArr - gets |
OntologyConcept |
getOntologyConceptArr(int i)
indexed getter for ontologyConceptArr - gets an indexed value - |
int |
getPolarity()
getter for polarity - gets |
java.lang.String |
getSegmentID()
getter for segmentID - gets |
java.lang.String |
getSentenceID()
getter for sentenceID - gets contains the sentence id of the sentence that contains the NE's text span |
java.lang.String |
getSubject()
getter for subject - gets |
int |
getTypeID()
getter for typeID - gets The type of named entity (e.g. |
int |
getTypeIndexID()
|
int |
getUncertainty()
getter for uncertainty - gets |
void |
setConditional(boolean v)
setter for conditional - sets |
void |
setConfidence(float v)
setter for confidence - sets The confidence of the annotation. |
void |
setDiscoveryTechnique(int v)
setter for discoveryTechnique - sets |
void |
setGeneric(boolean v)
setter for generic - sets |
void |
setHistoryOf(int v)
setter for historyOf - sets |
void |
setId(int v)
setter for id - sets |
void |
setOntologyConceptArr(org.apache.uima.jcas.cas.FSArray v)
setter for ontologyConceptArr - sets |
void |
setOntologyConceptArr(int i,
OntologyConcept v)
indexed setter for ontologyConceptArr - sets an indexed value - |
void |
setPolarity(int v)
setter for polarity - sets |
void |
setSegmentID(java.lang.String v)
setter for segmentID - sets |
void |
setSentenceID(java.lang.String v)
setter for sentenceID - sets contains the sentence id of the sentence that contains the NE's text span |
void |
setSubject(java.lang.String v)
setter for subject - sets |
void |
setTypeID(int v)
setter for typeID - sets The type of named entity (e.g. |
void |
setUncertainty(int v)
setter for uncertainty - sets |
Methods inherited from class org.apache.uima.jcas.tcas.Annotation |
---|
getBegin, getCoveredText, getEnd, getStart, setBegin, setEnd |
Methods inherited from class org.apache.uima.jcas.cas.AnnotationBase |
---|
getSofa, getView |
Methods inherited from class org.apache.uima.jcas.cas.TOP |
---|
addToIndexes, addToIndexes, equals, getAddress, getCAS, getCASImpl, getLowLevelCas, hashCode, removeFromIndexes, removeFromIndexes |
Methods inherited from class org.apache.uima.cas.impl.FeatureStructureImpl |
---|
clone, getBooleanValue, getByteValue, getDoubleValue, getFeatureValue, getFeatureValueAsString, getFloatValue, getIntValue, getLongValue, getShortValue, getStringValue, getType, prettyPrint, prettyPrint, prettyPrint, setBooleanValue, setByteValue, setDoubleValue, setFeatureValue, setFeatureValueFromString, setFloatValue, setIntValue, setLongValue, setShortValue, setStringValue, toString, toString |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.apache.uima.cas.AnnotationBaseFS |
---|
getView |
Methods inherited from interface org.apache.uima.cas.FeatureStructure |
---|
clone, equals, getBooleanValue, getByteValue, getCAS, getDoubleValue, getFeatureValue, getFeatureValueAsString, getFloatValue, getIntValue, getLongValue, getShortValue, getStringValue, getType, hashCode, setBooleanValue, setByteValue, setDoubleValue, setFeatureValue, setFeatureValueFromString, setFloatValue, setIntValue, setLongValue, setShortValue, setStringValue |
Field Detail |
---|
public static final int typeIndexID
public static final int type
Constructor Detail |
---|
protected IdentifiedAnnotation()
public IdentifiedAnnotation(int addr, org.apache.uima.jcas.cas.TOP_Type type)
public IdentifiedAnnotation(org.apache.uima.jcas.JCas jcas)
public IdentifiedAnnotation(org.apache.uima.jcas.JCas jcas, int begin, int end)
Method Detail |
---|
public int getTypeIndexID()
getTypeIndexID
in class org.apache.uima.jcas.tcas.Annotation
public int getId()
public void setId(int v)
public org.apache.uima.jcas.cas.FSArray getOntologyConceptArr()
public void setOntologyConceptArr(org.apache.uima.jcas.cas.FSArray v)
public OntologyConcept getOntologyConceptArr(int i)
public void setOntologyConceptArr(int i, OntologyConcept v)
public int getTypeID()
public void setTypeID(int v)
public java.lang.String getSegmentID()
public void setSegmentID(java.lang.String v)
public java.lang.String getSentenceID()
public void setSentenceID(java.lang.String v)
public int getDiscoveryTechnique()
public void setDiscoveryTechnique(int v)
public float getConfidence()
public void setConfidence(float v)
public int getPolarity()
public void setPolarity(int v)
public int getUncertainty()
public void setUncertainty(int v)
public boolean getConditional()
public void setConditional(boolean v)
public boolean getGeneric()
public void setGeneric(boolean v)
public java.lang.String getSubject()
public void setSubject(java.lang.String v)
public int getHistoryOf()
public void setHistoryOf(int v)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |