Skip to content

Latest commit

 

History

History
16 lines (11 loc) · 1.05 KB

README.md

File metadata and controls

16 lines (11 loc) · 1.05 KB

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.