On 10/7/11 3:58 PM, Nicolas Hernandez wrote:
Dear Everyone,
I have got a question: why do the PosTaggerEvaluator and the
PosTaggerCrossValidator programs give an evaluation result in terms of
Accuracy instead of Precision, Recall and F-measure like for the other
programs (SentenceDetector, Tokenizer, Chunker) ?
Does the Accuracy measure correspond to the Precision measure ?
Personnaly, I ll be interested by having these measures for this program.
We do you use Recall/Precision in OpenNLP only for components which
output spans,
but the POS Tagger just assigns a tag to a token, and that is either
correct or not.
In this case we just measure how often it was correct, and compute the
accuracy
score based on this. The same is actually done in the doccat component.
How do you want to compute recall and precision for the POS Tagger?
Jörn