Package opennlp.tools.parser
Class ParserEvaluator
This implementation of
Evaluator<Parse>
behaves like EVALB
with no exceptions,
e.g, without removing punctuation tags, or equality between ADVP
and PRT
, as
in
COLLINS convention.
To follow parsing evaluation conventions (Bikel, Collins, Charniak, etc.) as in EVALB
,
options are to be added to the ParserEvaluatorTool
.
-
Constructor Summary
ConstructorDescriptionParserEvaluator
(Parser aParser, ParserEvaluationMonitor... monitors) Initializes aParserEvaluator
instance with the givenParser
. -
Method Summary
Methods inherited from class opennlp.tools.util.eval.Evaluator
evaluate, evaluateSample
-
Constructor Details
-
ParserEvaluator
Initializes aParserEvaluator
instance with the givenParser
.- Parameters:
aParser
- TheParser
to evaluate.monitors
- Theevaluation listeners
.
-
-
Method Details
-
getFMeasure
-