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