public class StatisticalCorefAlgorithm extends java.lang.Object implements CorefAlgorithm
StatisticalCorefTrainer for training a new model.| Constructor and Description |
|---|
StatisticalCorefAlgorithm(java.util.Properties props,
Dictionaries dictionaries) |
StatisticalCorefAlgorithm(java.util.Properties props,
Dictionaries dictionaries,
java.lang.String wordCountsFile,
java.lang.String modelFile,
int maxMentionDistance,
int maxMentionDistanceWithStringMatch,
double threshold) |
StatisticalCorefAlgorithm(java.util.Properties props,
Dictionaries dictionaries,
java.lang.String wordCountsFile,
java.lang.String modelPath,
int maxMentionDistance,
int maxMentionDistanceWithStringMatch,
double[] thresholds) |
| Modifier and Type | Method and Description |
|---|---|
void |
runCoref(Document document) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfromPropspublic StatisticalCorefAlgorithm(java.util.Properties props,
Dictionaries dictionaries)
public StatisticalCorefAlgorithm(java.util.Properties props,
Dictionaries dictionaries,
java.lang.String wordCountsFile,
java.lang.String modelFile,
int maxMentionDistance,
int maxMentionDistanceWithStringMatch,
double threshold)
public StatisticalCorefAlgorithm(java.util.Properties props,
Dictionaries dictionaries,
java.lang.String wordCountsFile,
java.lang.String modelPath,
int maxMentionDistance,
int maxMentionDistanceWithStringMatch,
double[] thresholds)
public void runCoref(Document document)
runCoref in interface CorefAlgorithm