http://norvig.com/spell-correct.html
(scroll down the page for two AWK implementations)
-- later on,Mike