edu.stanford.nlp.ie.machinereading.domains.ace.reader
Class AceEvent
java.lang.Object
edu.stanford.nlp.ie.machinereading.domains.ace.reader.AceElement
edu.stanford.nlp.ie.machinereading.domains.ace.reader.AceEvent
public class AceEvent
- extends AceElement
Stores one ACE event
|
Field Summary |
static java.lang.String |
NIL_LABEL
|
| Fields inherited from class edu.stanford.nlp.ie.machinereading.domains.ace.reader.AceElement |
mId |
|
Constructor Summary |
AceEvent(java.lang.String id,
java.lang.String type,
java.lang.String subtype,
java.lang.String modality,
java.lang.String polarity,
java.lang.String genericity,
java.lang.String tense)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NIL_LABEL
public static final java.lang.String NIL_LABEL
- See Also:
- Constant Field Values
AceEvent
public AceEvent(java.lang.String id,
java.lang.String type,
java.lang.String subtype,
java.lang.String modality,
java.lang.String polarity,
java.lang.String genericity,
java.lang.String tense)
addMention
public void addMention(AceEventMention m)
getMention
public AceEventMention getMention(int which)
getMentionCount
public int getMentionCount()
getType
public java.lang.String getType()
setType
public void setType(java.lang.String s)
getSubtype
public java.lang.String getSubtype()
setSubtype
public void setSubtype(java.lang.String s)
getModality
public java.lang.String getModality()
setModality
public void setModality(java.lang.String modality)
getmPolarity
public java.lang.String getmPolarity()
setmPolarity
public void setmPolarity(java.lang.String mPolarity)
getGenericity
public java.lang.String getGenericity()
setGenericity
public void setGenericity(java.lang.String genericity)
getTense
public java.lang.String getTense()
setTense
public void setTense(java.lang.String tense)
Stanford NLP Group