/eecs233-spellcheck

This is the code for a basic spell checker that I implemented using Hash Tables. It takes in two text files that are the dictionary and personal dictionary as well as the file that is to be spellchecked. For every wrongly spelled word in the document that is to be checked, it prints out the word, the line number that the wrong word is present in, as well as a possible suggestion to a word that is present in the dictionary. To run the program, type in "run SpellChecker dict.txt dict.txt inputFile.txt" if you are using the files provided here on github. Else type in run Spellchecker followed by the path to the dictionary, the personal dictionary, and the file to be spellchecked.

Primary LanguageJava

Stargazers

No one’s star this repository yet.