opennlp.tools.chunker

## 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 `ChunkSample`s.
  See Also:
    `Evaluator`, `Chunker`, `ChunkSample`

- - ### Constructor Summary

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

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `FMeasure` | `getFMeasure()`

    - ### Methods inherited from class opennlp.tools.util.eval.Evaluator

      `evaluate, evaluateSample`

    - ### Methods inherited from class java.lang.Object

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

- - ### Constructor Detail

    - #### ChunkerEvaluator

          public ChunkerEvaluator(Chunker chunker,
                                  ChunkerEvaluationMonitor... listeners)

      Initializes the current instance with the given `Chunker`.
      Parameters:
        `chunker` - the `Chunker` to evaluate.
        `listeners` - evaluation listeners

  - ### Method Detail

    - #### getFMeasure

          public FMeasure getFMeasure()

Copyright © 2026 The Apache Software Foundation. All rights reserved.