Package opennlp.tools.tokenize

# Class DetokenizerEvaluator

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

public class DetokenizerEvaluator extends opennlp.tools.util.eval.Evaluator<opennlp.tools.tokenize.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(opennlp.tools.tokenize.Detokenizer detokenizer, opennlp.tools.cmdline.tokenizer.DetokenEvaluationErrorListener... listeners)`
  Initializes the current instance with the given `Detokenizer`.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `opennlp.tools.util.eval.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(opennlp.tools.tokenize.Detokenizer detokenizer, opennlp.tools.cmdline.tokenizer.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 opennlp.tools.util.eval.FMeasure getFMeasure()