I came across Peter Norvig's article How to Write a Spelling Corrector the other day and felt that packaging it as a ruby gem would be a nice way to learn how to create gems. The gem gives you a SpellingBee class that can suggest corrections for mis-spelled words based on the frequency of words [...]