Skip to content

nuhman/spelling-corrector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

spelling-corrector

a simple spelling corrector in python.

Based on the work of Peter Norvig.

Steps:

  • run generate_word_count.py to create the WORDS pickle file.
  • run unit_tests.py to make sure all the tests pass.
  • run spell_test.py on the given test files and get the accuracy of the corrector.

Note that the datasets directory contains the required data in .txt formats:

More info on the algorithm.

About

a simple spelling corrector

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages