peter-norvig

Has anyone implemented Peter Norvig's spellchecker in Perl?

I saw Michael Sparks's very interesting dissection of Peter Norvig's Spell Checker at the SO DevDays in London and it got me wondering if anyone has attempted to implement this piece of code in another language, say Perl or maybe C++? ...

How can I approximate Python's or operator for set comparison in Scala?

After hearing the latest Stack Overflow podcast, Peter Norvig's compact Python spell-checker intrigued me, so I decided to implement it in Scala if I could express it well in the functional Scala idiom, and also to see how many lines of code it would take. Here's the whole problem. (Let's not compare lines of code yet.) (Two notes: You...