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 referenceChunkSample
s.- See Also:
Evaluator
,Chunker
,ChunkSample
-
-
Constructor Summary
Constructors Constructor Description ChunkerEvaluator(Chunker chunker, ChunkerEvaluationMonitor... listeners)
Initializes the current 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 the current instance with the givenChunker
.- Parameters:
chunker
- theChunker
to evaluate.listeners
- evaluation listeners
-
-
Method Detail
-
getFMeasure
public FMeasure getFMeasure()
-
-