Package opennlp.tools.namefind

# Class TokenNameFinderEvaluator

java.lang.Object
opennlp.tools.util.eval.Evaluator<NameSample>
opennlp.tools.namefind.TokenNameFinderEvaluator

public class TokenNameFinderEvaluator extends Evaluator<NameSample>
The `TokenNameFinderEvaluator` measures the performance of the given `TokenNameFinder` with the provided reference `samples`.

See Also:
  - `Evaluator`
  - `TokenNameFinder`
  - `NameSample`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `TokenNameFinderEvaluator(TokenNameFinder nameFinder, TokenNameFinderEvaluationMonitor... listeners)`
  Initializes a `TokenNameFinderEvaluator` for a given `TokenNameFinder`.

- ## 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

  - ### TokenNameFinderEvaluator

    public TokenNameFinderEvaluator(TokenNameFinder nameFinder, TokenNameFinderEvaluationMonitor... listeners)
    Initializes a `TokenNameFinderEvaluator` for a given `TokenNameFinder`.
    Parameters:
      `nameFinder` - The `TokenNameFinder` to evaluate.
      `listeners` - The `evaluation listeners`.

- ## Method Details

  - ### getFMeasure

    public FMeasure getFMeasure()