/spellCorrector

a spell corrector written in Prolog

Primary LanguageProlog

spellingCorrector

a spelling corrector written in Prolog

following the idea from http://norvig.com/spell-correct.html

But implemented with Prolog.

To Run

  1. consult spellCorrector.pl into swi-prolog version 7.0+
  • try to run: corrects('tha',Result).

Some Note

The first part is the main code, which is hard annotated.

The second part of the code is the dictionary, you can implement your own.

Have fun :)