This is a Ruby implementation of a basic spell-correction algorithm described in Peter Norvig's essay
spell_correct.py contains the original Python program
spell_correct1.rb is a Ruby implementation, rather ugly
spell_correct2.rb better looking Ruby implementation, but using monkey patching.
spell_correct3.rb better looking, uses refinements instead of moneky patching.
(spell-correct.rb contains a practice implementation, similar to that in spell_correct1.rb)