Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
doc
 
 
 
 
 
 
 
 
 
 
 
 

Happy Holidays 🎅

Peter Norvig's spellchecker in Clojure!

This festive season, I decided to give myself the gift of learning a lisp - Clojure! This small project is a quick experiment in migrating Python code to Clojure and getting a taste of the joy that is so fondly associated with the language.

Since I didnt want to commit a big file in Git, the project contains a small one. Grab big.txt first if you want the spellchecker to give better results!

To run

$ git clone https://github.com/prakhar1989/spellchecker
$ cd spellchecker

#optional step
$mv ~/mybigfile.txt resources/words-file.txt


$ lein repl
(correct "speling" nwords)
> spelling

To test

$ lein test

About

Spell Checker in Clojure

Resources

License

Releases

No releases published

Packages

No packages published