edu.umass.cs.mallet.projects.seg_plus_coref.anaphora
Class Mention
java.lang.Object
edu.umass.cs.mallet.projects.seg_plus_coref.anaphora.Mention
- public class Mention
- extends java.lang.Object
Constructor Summary |
Mention(MalletPhrase ph,
java.io.File targetDocPath,
org.jdom.Document doc,
int id,
java.lang.String sourceType)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Mention
public Mention(MalletPhrase ph,
java.io.File targetDocPath,
org.jdom.Document doc,
int id,
java.lang.String sourceType)
setUniqueEntityIndex
public void setUniqueEntityIndex(java.lang.String index)
getUniqueEntityIndex
public java.lang.String getUniqueEntityIndex()
getId
public int getId()
getDocument
public org.jdom.Document getDocument()
getDocPath
public java.io.File getDocPath()
getSentence
public org.jdom.Element getSentence()
setSentence
public void setSentence(org.jdom.Element sent)
setGender
public void setGender(java.lang.String gen)
getGender
public java.lang.String getGender()
getString
public java.lang.String getString()
getHead
public java.lang.String getHead()
getMalletPhrase
public MalletPhrase getMalletPhrase()
getEntityId
public java.lang.String getEntityId()
getEntityRef
public java.lang.String getEntityRef()
setEntityId
public void setEntityId(java.lang.String sourceType)
getElement
public org.jdom.Element getElement()
getAntecedent
public Mention getAntecedent()
getAntecedentValue
public double getAntecedentValue()
setAntecedent
public void setAntecedent(Mention ant)
setAntecedentCount
public void setAntecedentCount(int count)
getAntecedentCount
public int getAntecedentCount()