public static class CorefChain.CorefMention
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
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
Position is a binary tuple of (sentence number, mention number
in that sentence).
|
int |
sentNum
Sentence number in the document containing this mention,
indexed from 1.
|
int |
startIndex
Starting word number, indexed from 1
|
Constructor and Description |
---|
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)
This constructor is used to recreate a CorefMention following serialization.
|
CorefMention(Mention m,
IntTuple pos)
This constructor builds the external CorefMention class from the internal Mention.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object aThat) |
int |
hashCode() |
java.lang.String |
toString() |
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
public 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)