clips/pattern — pull request #43 by sloria (2013-08-23 07:56:49+00:00)
Title: 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

These changes were implemented in the `pattern.text.Spelling.suggest` and `pattern.en.suggest` functions.