public class LemmatizerEvaluator extends Evaluator<LemmaSample>
LemmatizerEvaluator measures the performance of
 the given Lemmatizer with the provided reference
 LemmaSamples.| Constructor and Description | 
|---|
| LemmatizerEvaluator(Lemmatizer aLemmatizer,
                   LemmatizerEvaluationMonitor... listeners)Initializes the current instance. | 
| Modifier and Type | Method and Description | 
|---|---|
| double | getWordAccuracy()Retrieves the word accuracy. | 
| long | getWordCount()Retrieves the total number of words considered
 in the evaluation. | 
| String | toString()Represents this objects as human readable  String. | 
evaluate, evaluateSamplepublic LemmatizerEvaluator(Lemmatizer aLemmatizer, LemmatizerEvaluationMonitor... listeners)
aLemmatizer - a lemmatizerlisteners - an array of evaluation listenerspublic double getWordAccuracy()
public long getWordCount()
Copyright © 2018 The Apache Software Foundation. All rights reserved.