We can build a spelling corrector which is accurate most of the time and much faster than the Faroo implementation:
def corrections_for(word)
return [word]
end
P.S. I added a gist here with some reformatting because I found it hard to read the code on the author's site:https://gist.github.com/fj/8393399
The raw source is here:
https://gist.github.com/fj/8393399/raw/7d4acd14db21dd0c7d802...