edu.stanford.nlp.ie.machinereading.domains.ace.reader
Class AceRelation

java.lang.Object
  extended by edu.stanford.nlp.ie.machinereading.domains.ace.reader.AceElement
      extended by edu.stanford.nlp.ie.machinereading.domains.ace.reader.AceRelation

public class AceRelation
extends AceElement

Stores one ACE relation


Field Summary
static java.lang.String NIL_LABEL
           
 
Fields inherited from class edu.stanford.nlp.ie.machinereading.domains.ace.reader.AceElement
mId
 
Constructor Summary
AceRelation(java.lang.String id, java.lang.String type, java.lang.String subtype, java.lang.String modality, java.lang.String tense)
           
 
Method Summary
 void addMention(AceRelationMention m)
           
 AceRelationMention getMention(int which)
           
 int getMentionCount()
           
 java.lang.String getSubtype()
           
 java.lang.String getType()
           
 void setSubtype(java.lang.String s)
           
 void setType(java.lang.String s)
           
 java.lang.String toXml(int offset)
           
 
Methods inherited from class edu.stanford.nlp.ie.machinereading.domains.ace.reader.AceElement
appendOffset, getId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NIL_LABEL

public static final java.lang.String NIL_LABEL
See Also:
Constant Field Values
Constructor Detail

AceRelation

public AceRelation(java.lang.String id,
                   java.lang.String type,
                   java.lang.String subtype,
                   java.lang.String modality,
                   java.lang.String tense)
Method Detail

addMention

public void addMention(AceRelationMention m)

getMention

public AceRelationMention 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)

toXml

public java.lang.String toXml(int offset)


Stanford NLP Group