I am working on an automated spelling corrector. Now I have to evaluate it. Therefore I need Precision and Recall and it is absolutely clear how to calculate these. My problem is that I am not sure what True Positive, False Negative, etc. is.
I think there are two options e.g. for TP (for the other 3 analogous):
a) The number of wrong written words which were recognized as wrong
b) The number of wrong written words which were corrected into the intended word
I think a) wouldn't say anything about the quality of the correction, but it fits most my intuation of TP.
Best
C.Klaus
A true positive is a wrong word which is properly recognized as wrong, and a true negative is a correct which is properly recognized as correct (and therefore not corrected by your algorithm). The other two are a bit more confusing, but from Wikipedia,
and
Thus, for example, FN represents all the wrong words which your spell checker missed.