Peter Norvigs Spellchecker in Perl6

July 23, 2018

I finally decided to dive into Perl6 and used Peter Norvigs Spellchecker as a staring point to learn what was what. The original can be found here.

My main takeaway regarding Perl6 is that it is awesome! And complicated. The gradual typeing will be a really nice feature once I get the hang of it. My biggest frustration was the lack of slicing for strings, all that is available is substr.

Here is the pretty much direct copy of the python version.

For a more up to date version, see here