The spelling checker The invocation java MySpeller filename will cause incorrect words in the file named filename to be written to stdout (the screen). Each incorrect word will be written only once. A word is considered any consecutive string of letters or numbers. You might find the methods in the JFC [login to view URL] class helpful in parsing words. Valid English words that should be accepted by the spell-checker are to be found in two places: the file /usr/share/dict/words, which exists on all Unix-style systems (usually as /usr/dict/words) ; and a file called .mydictionary that is used only by your program (and may be empty or non-existent). It is acceptable if your program is case sensitive. For example, treating Dad and dad as different words is OK. The spelling corrector The invocation java MySpeller replacefilename filename will read word pairs from the file named replacefilename, replacing any of the words that appear first in a pair in the file named filename with the word that appears second. For example, if the replace file contains the pair (lead,gold), then all occurrences of lead will be replaced with the word gold in filename. In addition to correcting words in filename, this function of MySpeller should also write any words that appear as the second of a pair but that are not in /usr/share/dict/words or .mydictionary into .mydictionary so that they are not found as incorrect next time around. Sample input and output for both uses of the program are available on the unit www page. Helpful classes In addition to the I/O classes we have discussed in lectures, you might find the following classes helpful: [login to view URL] [login to view URL] [login to view URL]
## Deliverables
Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. Complete copyrights to all work purchased.
## Platform
unix
## Deadline information
must be completed by 26 march