public class NameMatch extends DeterministicCorefSieve
Modifier and Type | Field and Description |
---|---|
protected boolean |
ignoreGender |
protected MentionMatcher |
mentionMatcher |
protected int |
minTokens |
flags, lang
Constructor and Description |
---|
NameMatch() |
Modifier and Type | Method and Description |
---|---|
boolean |
checkEntityMatch(Document document,
CorefCluster mentionCluster,
CorefCluster potentialAntecedent,
Dictionaries dict,
java.util.Set<Mention> roleSet) |
void |
init(java.util.Properties props) |
coreferent, flagsToString, getOrderedAntecedents, skipThisMention, useRoleSkip
protected MentionMatcher mentionMatcher
protected int minTokens
protected boolean ignoreGender
public void init(java.util.Properties props)
init
in class DeterministicCorefSieve
public boolean checkEntityMatch(Document document, CorefCluster mentionCluster, CorefCluster potentialAntecedent, Dictionaries dict, java.util.Set<Mention> roleSet)
checkEntityMatch
in class DeterministicCorefSieve