public class NamedEntity extends ScoredTOP
| Modifier and Type | Field and Description |
|---|---|
static int |
type |
static int |
typeIndexID |
| Modifier | Constructor and Description |
|---|---|
protected |
NamedEntity()
Never called.
|
|
NamedEntity(int addr,
TOP_Type type)
Internal - constructor used by generator
|
|
NamedEntity(JCas jcas) |
| Modifier and Type | Method and Description |
|---|---|
String |
getEntityClass()
getter for entityClass - gets
|
String |
getEntityId()
getter for entityId - gets
|
String |
getEntitySubtype()
getter for entitySubtype - gets
|
String |
getEntityType()
getter for entityType - gets
|
FSArray |
getMentions()
getter for mentions - gets
|
NamedEntityMention |
getMentions(int i)
indexed getter for mentions - gets an indexed value -
|
int |
getTypeIndexID() |
void |
setEntityClass(String v)
setter for entityClass - sets
|
void |
setEntityId(String v)
setter for entityId - sets
|
void |
setEntitySubtype(String v)
setter for entitySubtype - sets
|
void |
setEntityType(String v)
setter for entityType - sets
|
void |
setMentions(FSArray v)
setter for mentions - sets
|
void |
setMentions(int i,
NamedEntityMention v)
indexed setter for mentions - sets an indexed value -
|
addToIndexes, 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, toStringpublic static final int type
public static final int typeIndexID
protected NamedEntity()
public NamedEntity(int addr, TOP_Type type)
addr - low level Feature Structure referencetype - the type of this Feature Structurepublic NamedEntity(JCas jcas)
jcas - JCas to which this Feature Structure belongspublic String getEntityClass()
public String getEntityId()
public String getEntitySubtype()
public String getEntityType()
public FSArray getMentions()
public NamedEntityMention getMentions(int i)
i - index in the array to getpublic int getTypeIndexID()
getTypeIndexID in class ScoredTOPpublic void setEntityClass(String v)
v - value to set into the featurepublic void setEntityId(String v)
v - value to set into the featurepublic void setEntitySubtype(String v)
v - value to set into the featurepublic void setEntityType(String v)
v - value to set into the featurepublic void setMentions(FSArray v)
v - value to set into the featurepublic void setMentions(int i, NamedEntityMention v)
i - index in the array to setv - value to set into the arrayCopyright © 2014. All rights reserved.