edu.umass.cs.mallet.projects.seg_plus_coref.anaphora
Class MentionPair
java.lang.Object
edu.umass.cs.mallet.projects.seg_plus_coref.anaphora.MentionPair
- public class MentionPair
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MentionPair
public MentionPair(Mention n1,
Mention n2)
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)