Package opennlp.tools.tokenize

# Class DetokenizerEvaluator

java.lang.Object
opennlp.tools.util.eval.Evaluator<TokenSample>
opennlp.tools.tokenize.DetokenizerEvaluator

public class DetokenizerEvaluator extends Evaluator<TokenSample>
The `DetokenizerEvaluator` measures the performance of the given `Detokenizer` with the provided reference `samples`.

See Also:
  - `Detokenizer`
  - `TokenSample`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `DetokenizerEvaluator(Detokenizer detokenizer, DetokenEvaluationErrorListener... listeners)`
  Initializes the current instance with the given `Detokenizer`.

- ## Method Summary

  Modifier and Type
  Method
  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 Details

  - ### DetokenizerEvaluator

    public DetokenizerEvaluator(Detokenizer detokenizer, DetokenEvaluationErrorListener... listeners)
    Initializes the current instance with the given `Detokenizer`.
    Parameters:
      `detokenizer` - The `Detokenizer` to evaluate.
      `listeners` - The `evaluation sample listeners`.

- ## Method Details

  - ### getFMeasure

    public FMeasure getFMeasure()