|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.stanford.nlp.dcoref.CorefChain.CorefMention
public static class CorefChain.CorefMention
Mention for coref output. This is one instance of the entity referred to by a given CorefChain.
| Field Summary | |
|---|---|
Dictionaries.Animacy |
animacy
|
int |
corefClusterID
|
int |
endIndex
One past the end word number, indexed from 1 |
Dictionaries.Gender |
gender
|
int |
headIndex
Head word of the mention |
int |
mentionID
|
java.lang.String |
mentionSpan
|
Dictionaries.MentionType |
mentionType
|
Dictionaries.Number |
number
|
IntTuple |
position
|
int |
sentNum
Sentence number in the document containing this mention, indexed from 1. |
int |
startIndex
Starting word number, indexed from 1 |
| Constructor Summary | |
|---|---|
CorefChain.CorefMention(Dictionaries.MentionType mentionType,
Dictionaries.Number number,
Dictionaries.Gender gender,
Dictionaries.Animacy animacy,
int startIndex,
int endIndex,
int headIndex,
int corefClusterID,
int mentionID,
int sentNum,
IntTuple position,
java.lang.String mentionSpan)
|
|
CorefChain.CorefMention(Mention m,
IntTuple pos)
|
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object aThat)
|
int |
hashCode()
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public final Dictionaries.MentionType mentionType
public final Dictionaries.Number number
public final Dictionaries.Gender gender
public final Dictionaries.Animacy animacy
public final int startIndex
public final int endIndex
public final int headIndex
public final int corefClusterID
public final int mentionID
public final int sentNum
public final IntTuple position
public final java.lang.String mentionSpan
| Constructor Detail |
|---|
public CorefChain.CorefMention(Dictionaries.MentionType mentionType,
Dictionaries.Number number,
Dictionaries.Gender gender,
Dictionaries.Animacy animacy,
int startIndex,
int endIndex,
int headIndex,
int corefClusterID,
int mentionID,
int sentNum,
IntTuple position,
java.lang.String mentionSpan)
public CorefChain.CorefMention(Mention m,
IntTuple pos)
| Method Detail |
|---|
public boolean equals(java.lang.Object aThat)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||