public class NameMatch extends DeterministicCorefSieve
Sieve.ClassifierType
Modifier and Type | Field and Description |
---|---|
protected boolean |
ignoreGender |
protected MentionMatcher |
mentionMatcher |
protected int |
minTokens |
flags
aType, aTypeStr, classifierType, lang, maxSentDist, mType, mTypeStr, props, sievename
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, findCoreferentAntecedent, flagsToString, getOrderedAntecedents, skipThisMention, useRoleSkip
getOrderedAntecedents, hasThat, hasToVerb, isReallyCoref, loadSieve, loadSieves, matchedMentionType, matchedMentionType, merge, resolveMention, skipForAnalysis
protected MentionMatcher mentionMatcher
protected int minTokens
protected boolean ignoreGender
public void init(java.util.Properties props)
public boolean checkEntityMatch(Document document, CorefCluster mentionCluster, CorefCluster potentialAntecedent, Dictionaries dict, java.util.Set<Mention> roleSet)
checkEntityMatch
in class DeterministicCorefSieve