Skip to content

juxing/SpellChecker

Repository files navigation

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.

  1. 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.

  2. cd hw2 directory, make, then you can launch spell checker by using ./spellChecker, more info please refer to ./spellChecker [--help | -h].

  3. Using ./attacker can launch testing program.

About

Spell Checker

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages