ChunkerEvaluator (Apache OpenNLP Tools 2.5.9 API)
Description: declaration: package: opennlp.tools.chunker, class: ChunkerEvaluator

# Class ChunkerEvaluator

java.lang.Object
opennlp.tools.util.eval.Evaluator<ChunkSample>
opennlp.tools.chunker.ChunkerEvaluator

public class ChunkerEvaluator extends Evaluator<ChunkSample>
The `ChunkerEvaluator` measures the performance of the given `Chunker` with the provided reference `samples`.

See Also:
  - `Evaluator`
  - `Chunker`
  - `ChunkSample`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `ChunkerEvaluator(Chunker chunker, ChunkerEvaluationMonitor... listeners)`
  Initializes a `ChunkerEvaluator` instance with the given `Chunker`.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `FMeasure`
  `getFMeasure()`

  ### Methods inherited from class Evaluator

  `evaluate, evaluateSample`

  ### Methods inherited from class Object

  `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### ChunkerEvaluator

    public ChunkerEvaluator(Chunker chunker, ChunkerEvaluationMonitor... listeners)
    Initializes a `ChunkerEvaluator` instance with the given `Chunker`.
    Parameters:
      `chunker` - The `Chunker` to evaluate.
      `listeners` - The `evaluation listeners`.

- ## Method Details

  - ### getFMeasure

    public FMeasure getFMeasure()