Class | Description |
---|---|
Corrector |
Skeleton implementation for classes capable of providing spelling corrections.
|
Dictionary |
A dictionary manages a collection of known, correctly-spelled words.
|
DictionaryTest | |
FileCorrector |
A Corrector whose spelling suggestions are given in a text file.
|
FileCorrectorTest | |
Levenshtein |
A smart Corrector that uses "edit distance" to generate corrections.
|
LevenshteinTest | |
MyTests |
Put your OWN test cases in this file, for all classes in the assignment.
|
SpellChecker |
A SpellChecker uses a Dictionary, a Corrector, and I/O to interactively
spell check an input stream.
|
SpellCheckerRunner |
The main entry point for the SpellChecker program.
|
SpellCheckerTest | |
SwapCorrector |
A Corrector whose spelling suggestions come from "swapped letter" typos.
|
SwapCorrectorTest | |
TokenScanner |
Provides a token Iterator for a given Reader.
|
TokenScannerTest |
Exception | Description |
---|---|
FileCorrector.FormatException |
A special purpose exception class to indicate errors when reading
the input for the FileCorrector.
|