edu.umass.cs.mallet.projects.seg_plus_coref.anaphora
Class MentionPair

java.lang.Object
  extended byedu.umass.cs.mallet.projects.seg_plus_coref.anaphora.MentionPair

public class MentionPair
extends java.lang.Object


Constructor Summary
MentionPair(Mention n1, Mention n2)
           
 
Method Summary
 Mention getAntecedent()
           
 java.lang.String getEntityReference()
           
 PropertyList getFeatures()
           
 double getFeatureValue(java.lang.String key)
           
 Mention getReferent()
           
 int getReferentIndex()
           
 boolean nullPair()
           
 void setEntityReference(java.lang.String ref)
           
 void setFeatures(PropertyList pl)
           
 void setFeatureValue(java.lang.String key, double value)
           
 void setReferentIndex(int val)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MentionPair

public MentionPair(Mention n1,
                   Mention n2)
Method Detail

getReferentIndex

public int getReferentIndex()

setReferentIndex

public void setReferentIndex(int val)

setEntityReference

public void setEntityReference(java.lang.String ref)

getEntityReference

public java.lang.String getEntityReference()

nullPair

public boolean nullPair()

getAntecedent

public Mention getAntecedent()

getReferent

public Mention getReferent()

setFeatureValue

public void setFeatureValue(java.lang.String key,
                            double value)

getFeatureValue

public double getFeatureValue(java.lang.String key)

getFeatures

public PropertyList getFeatures()

setFeatures

public void setFeatures(PropertyList pl)