Peter Norvig's spell corrector for Common Lisp.
Common Lisp
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
README.md
Re spellcheck.txt
big.txt
license.txt
package.lisp
spellcheck.asd
spellcheck.lisp

README.md

spellcheck

Peter Norvig's spell corrector for Common Lisp.

The article How to Write a Spelling Corrector mentions Mikael Jansson and his implementation on GitHub.

This project is based heavily on that code but packages it as an ASDF installable library with the hope of getting it into the Quicklisp repository.

Example

CL-USER> (ql:quickload "spellcheck")
...
("spellcheck")
CL-USER> (spellcheck:initialize)
#<HASH-TABLE :TEST EQUAL :COUNT 29157 {100F1D7233}>
CL-USER> (spellcheck:correct "supposidly")
"supposedly"

Rob Blackwell
July 2013