A Haskell implementation of Peter Norvig's spelling corrector