Welcome to this C-based Spell-checker using BK-Tree and Levenshtein-Damerau distance.
Type the following command in a terminal : sudo apt-get install libcunit1 libcunit1-dev libcunit1-doc doxygen
For the compilation of the executable, tests and documentation :
make all
For the compilation of the executable only :
make exe
For the compilation of the tests alone :
make tests
For the compilation of the documentation only :
make doc
For the cleaning of the directory :
make clean
The French dictionary used by our spellchecker is generated from the file dico-ref-ascii.txt.
To fill it with the French dictionary : ./bin/corrector -d fic.dico -f dico-ref-ascii.txt
To correct a sentence once your .dico file is generated, type in a terminal :
echo "sentence to correct" | correcteur.exe -d <dictionnary.dico>