public class NamedEntityMention extends ScoredAnnotation
| Modifier and Type | Field and Description |
|---|---|
static int |
type |
static int |
typeIndexID |
| Modifier | Constructor and Description |
|---|---|
protected |
NamedEntityMention()
Never called.
|
|
NamedEntityMention(int addr,
TOP_Type type)
Internal - constructor used by generator
|
|
NamedEntityMention(JCas jcas) |
|
NamedEntityMention(JCas jcas,
int begin,
int end) |
| Modifier and Type | Method and Description |
|---|---|
Annotation |
getAnnotation()
getter for annotation - gets
|
Annotation |
getHead()
getter for head - gets
|
NamedEntity |
getMentionedEntity()
getter for mentionedEntity - gets
|
String |
getMentionId()
getter for mentionId - gets
|
String |
getMentionType()
getter for mentionType - gets
|
int |
getTypeIndexID() |
void |
setAnnotation(Annotation v)
setter for annotation - sets
|
void |
setHead(Annotation v)
setter for head - sets
|
void |
setMentionedEntity(NamedEntity v)
setter for mentionedEntity - sets
|
void |
setMentionId(String v)
setter for mentionId - sets
|
void |
setMentionType(String v)
setter for mentionType - sets
|
getScore, setScoregetBegin, getCoveredText, getEnd, getStart, setBegin, setEndgetSofa, getViewaddToIndexes, addToIndexes, equals, getAddress, getCAS, getCASImpl, getLowLevelCas, hashCode, removeFromIndexes, removeFromIndexesclone, 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, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitgetViewclone, equals, getBooleanValue, getByteValue, getCAS, getDoubleValue, getFeatureValue, getFeatureValueAsString, getFloatValue, getIntValue, getLongValue, getShortValue, getStringValue, getType, hashCode, setBooleanValue, setByteValue, setDoubleValue, setFeatureValue, setFeatureValueFromString, setFloatValue, setIntValue, setLongValue, setShortValue, setStringValuepublic static final int type
public static final int typeIndexID
protected NamedEntityMention()
public NamedEntityMention(int addr, TOP_Type type)
addr - low level Feature Structure referencetype - the type of this Feature Structurepublic NamedEntityMention(JCas jcas)
jcas - JCas to which this Feature Structure belongspublic NamedEntityMention(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 Annotation getAnnotation()
public Annotation getHead()
public NamedEntity getMentionedEntity()
public String getMentionId()
public String getMentionType()
public int getTypeIndexID()
getTypeIndexID in class ScoredAnnotationpublic void setAnnotation(Annotation v)
v - value to set into the featurepublic void setHead(Annotation v)
v - value to set into the featurepublic void setMentionedEntity(NamedEntity v)
v - value to set into the featurepublic void setMentionId(String v)
v - value to set into the featurepublic void setMentionType(String v)
v - value to set into the featureCopyright © 2014. All rights reserved.