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

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

  `evaluate, evaluateSample`

  ### Methods inherited from class 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()