Package opennlp.tools.chunker
Class ChunkerEvaluator
- java.lang.Object
-
- opennlp.tools.util.eval.Evaluator<ChunkSample>
-
- opennlp.tools.chunker.ChunkerEvaluator
-
public class ChunkerEvaluator extends Evaluator<ChunkSample>
TheChunkerEvaluator
measures the performance of the givenChunker
with the provided referencesamples
.- See Also:
Evaluator
,Chunker
,ChunkSample
-
-
Constructor Summary
Constructors Constructor Description ChunkerEvaluator(Chunker chunker, ChunkerEvaluationMonitor... listeners)
Initializes aChunkerEvaluator
instance with the givenChunker
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FMeasure
getFMeasure()
-
Methods inherited from class opennlp.tools.util.eval.Evaluator
evaluate, evaluateSample
-
-
-
-
Constructor Detail
-
ChunkerEvaluator
public ChunkerEvaluator(Chunker chunker, ChunkerEvaluationMonitor... listeners)
Initializes aChunkerEvaluator
instance with the givenChunker
.- Parameters:
chunker
- TheChunker
to evaluate.listeners
- Theevaluation listeners
.
-
-
Method Detail
-
getFMeasure
public FMeasure getFMeasure()
-
-