public class ParserEvaluator extends opennlp.tools.util.eval.Evaluator<Parse>
ParserEvaluatorTool.| Constructor and Description |
|---|
ParserEvaluator(ShiftReduceParser aParser,
ParserEvaluationMonitor... monitors)
Construct a parser with some evaluation monitors.
|
| Modifier and Type | Method and Description |
|---|---|
opennlp.tools.util.eval.FMeasure |
getFMeasure()
It returns the fmeasure result.
|
static void |
main(String[] args)
Main method to show the example of running the evaluator.
|
protected Parse |
processSample(Parse reference) |
public ParserEvaluator(ShiftReduceParser aParser, ParserEvaluationMonitor... monitors)
aParser - the parsermonitors - the evaluation monitorsprotected final Parse processSample(Parse reference)
processSample in class opennlp.tools.util.eval.Evaluator<Parse>public final opennlp.tools.util.eval.FMeasure getFMeasure()
public static void main(String[] args)
args - argumentsCopyright © 2017 IXA pipes. All rights reserved.