public class SimpleCorpusEvaluator extends Object
SimpleCorpus.| Constructor and Description |
|---|
SimpleCorpusEvaluator(File... indexTopDirs) |
SimpleCorpusEvaluator(File indexTopDir) |
| Modifier and Type | Method and Description |
|---|---|
static void |
main(String[] args) |
org.languagetool.dev.eval.PrecisionRecall |
run(File file,
double threshold) |
public SimpleCorpusEvaluator(File indexTopDir)
public SimpleCorpusEvaluator(File... indexTopDirs)
public org.languagetool.dev.eval.PrecisionRecall run(File file, double threshold) throws IOException
IOExceptionpublic static void main(String[] args) throws IOException
IOException