Skip to content

jaimeburnap/spell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

spell

Super naive php spell checker based on Peter Norvig's python code (http://norvig.com/spell-correct.html).

I wrote this a very long time ago, right around the time the article came out, so it's not the best code in the world. I have included a new version of the dictionary because I couldn't find the one I used at the time.

Usage

Just create the object and call check(). Returns the word that fits best.

$spell = new Spell();
$spell->check('speling');

Spell::create()->check('speling');

About

Super naive php spell checker based on Peter Norvig's python code

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages