public static class CorefChain.CorefMention extends Object implements 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 |
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,
String mentionSpan) |
CorefMention(Mention m,
IntTuple pos) |
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 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, String mentionSpan)