|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectopennlp.tools.util.eval.Evaluator<POSSample>
opennlp.tools.postag.POSEvaluator
public class POSEvaluator
The POSEvaluator measures the performance of
the given POSTagger with the provided reference
POSSamples.
| Constructor Summary | |
|---|---|
POSEvaluator(POSTagger tagger,
POSTaggerEvaluationMonitor... listeners)
Initializes the current instance. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class opennlp.tools.util.eval.Evaluator |
|---|
evaluate, evaluateSample |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public POSEvaluator(POSTagger tagger,
POSTaggerEvaluationMonitor... listeners)
tagger - listeners - an array of evaluation listeners| Method Detail |
|---|
public double getWordAccuracy()
public long getWordCount()
public String toString()
String.
toString in class Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||