Spell Checker
This is a simple spell checker program, it returns the words if you type in the right words in dictionary, or returns all hint words based on your input, the search algorithm is hashtable.
All problems are solved, using hash table.
-
spellChecker.c -- Main program for spell checker. levDis.c levDis.h -- Functions for calculating edit distance. hashTable.c hashTable.h -- Functions for hash table. output -- Used for calculating dictionary length. Makefile -- makefile. README -- Introduction.
attacker.c -- Attacker program. myDict emptyDict -- Test dictionaries. Test -- Testing result.
-
cd hw2 directory, make, then you can launch spell checker by using ./spellChecker, more info please refer to ./spellChecker [--help | -h].
-
Using ./attacker can launch testing program.