public class IdentifiedAnnotation
extends Annotation
Modifier and Type | Field and Description |
---|---|
static int |
type |
static int |
typeIndexID |
Modifier | Constructor and Description |
---|---|
protected |
IdentifiedAnnotation()
Never called.
|
|
IdentifiedAnnotation(int addr,
TOP_Type type)
Internal - constructor used by generator
|
|
IdentifiedAnnotation(JCas jcas) |
|
IdentifiedAnnotation(JCas jcas,
int begin,
int end) |
Modifier and Type | Method and Description |
---|---|
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
|
FSArray |
getOntologyConceptArr()
getter for ontologyConceptArr - gets
|
OntologyConcept |
getOntologyConceptArr(int i)
indexed getter for ontologyConceptArr - gets an indexed value -
|
FSArray |
getOriginalText()
getter for originalText - gets The covered text of the span or the disjoint spans that resulted in the creation of this
IdentifiedAnnotation.
|
TOP |
getOriginalText(int i)
indexed getter for originalText - gets an indexed value - The covered text of the span or the disjoint spans that resulted in the creation of this
IdentifiedAnnotation.
|
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
|
private void |
readObject()
Write your own initialization here
|
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(FSArray v)
setter for ontologyConceptArr - sets
|
void |
setOntologyConceptArr(int i,
OntologyConcept v)
indexed setter for ontologyConceptArr - sets an indexed value -
|
void |
setOriginalText(FSArray v)
setter for originalText - sets The covered text of the span or the disjoint spans that resulted in the creation of this
IdentifiedAnnotation.
|
void |
setOriginalText(int i,
TOP v)
indexed setter for originalText - sets an indexed value - The covered text of the span or the disjoint spans that resulted in the creation of this
IdentifiedAnnotation.
|
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
|
protected IdentifiedAnnotation()
public IdentifiedAnnotation(int addr, TOP_Type type)
addr
- low level Feature Structure referencetype
- the type of this Feature Structurepublic IdentifiedAnnotation(JCas jcas)
jcas
- JCas to which this Feature Structure belongspublic IdentifiedAnnotation(JCas jcas, int begin, int end)
jcas
- JCas to which this Feature Structure belongsbegin
- offset to the begin spot in the SofAend
- offset to the end spot in the SofApublic int getTypeIndexID()
private void readObject()
public int getId()
public void setId(int v)
v
- value to set into the featurepublic FSArray getOntologyConceptArr()
public void setOntologyConceptArr(FSArray v)
v
- value to set into the featurepublic OntologyConcept getOntologyConceptArr(int i)
i
- index in the array to getpublic void setOntologyConceptArr(int i, OntologyConcept v)
i
- index in the array to setv
- value to set into the arraypublic int getTypeID()
public void setTypeID(int v)
v
- value to set into the featurepublic java.lang.String getSegmentID()
public void setSegmentID(java.lang.String v)
v
- value to set into the featurepublic java.lang.String getSentenceID()
public void setSentenceID(java.lang.String v)
v
- value to set into the featurepublic int getDiscoveryTechnique()
public void setDiscoveryTechnique(int v)
v
- value to set into the featurepublic float getConfidence()
public void setConfidence(float v)
v
- value to set into the featurepublic int getPolarity()
public void setPolarity(int v)
v
- value to set into the featurepublic int getUncertainty()
public void setUncertainty(int v)
v
- value to set into the featurepublic boolean getConditional()
public void setConditional(boolean v)
v
- value to set into the featurepublic boolean getGeneric()
public void setGeneric(boolean v)
v
- value to set into the featurepublic java.lang.String getSubject()
public void setSubject(java.lang.String v)
v
- value to set into the featurepublic int getHistoryOf()
public void setHistoryOf(int v)
v
- value to set into the featurepublic FSArray getOriginalText()
public void setOriginalText(FSArray v)
v
- value to set into the featurepublic TOP getOriginalText(int i)
i
- index in the array to getpublic void setOriginalText(int i, TOP v)
i
- index in the array to setv
- value to set into the array