public class RFSieve extends Sieve
Sieve.ClassifierType| Modifier and Type | Field and Description |
|---|---|
RandomForest |
rf |
double |
thresMerge
the probability threshold for merging two mentions
|
aType, aTypeStr, classifierType, lang, maxSentDist, mType, mTypeStr, props, sievename| Constructor and Description |
|---|
RFSieve(RandomForest rf,
java.util.Properties props,
java.lang.String sievename) |
| Modifier and Type | Method and Description |
|---|---|
static RVFDatum<java.lang.Boolean,java.lang.String> |
extractDatum(Mention m,
Mention candidate,
Document document,
int mentionDist,
Dictionaries dict,
java.util.Properties props,
java.lang.String sievename) |
void |
findCoreferentAntecedent(Mention m,
int mIdx,
Document document,
Dictionaries dict,
java.util.Properties props,
java.lang.StringBuilder sbLog) |
getOrderedAntecedents, hasThat, hasToVerb, isReallyCoref, loadSieve, loadSieves, matchedMentionType, matchedMentionType, merge, resolveMention, skipForAnalysispublic RandomForest rf
public double thresMerge
public RFSieve(RandomForest rf, java.util.Properties props, java.lang.String sievename)
public void findCoreferentAntecedent(Mention m, int mIdx, Document document, Dictionaries dict, java.util.Properties props, java.lang.StringBuilder sbLog) throws java.lang.Exception
findCoreferentAntecedent in class Sievejava.lang.Exceptionpublic static RVFDatum<java.lang.Boolean,java.lang.String> extractDatum(Mention m, Mention candidate, Document document, int mentionDist, Dictionaries dict, java.util.Properties props, java.lang.String sievename)