small updates
pattern.vector: can't use probability with one-class SVM (so for DETECTION, parameter -b should be 0).
Improve spelling correction

Handles special cases:
- word is punctuation character
- word is numerical
- word is a one-letter, uppercased word (e.g. 'I')

In these cases, returns the original word with a confidence of 1.0