Background This week we are going to write a spelling checker. 1. Use the Binary search tree program
Binary Search Tree (bst3a.txt).
Populate it with a dictionary, " dict45k_r.txt"
contains 45,000 random words (right click your mouse over the link
and use the "Save Link As.." option to transfer the file).
2. Process all the words in the file
" puppet.txt (524,470 words)"
(right click your mouse over the link
and use the "Save Link As.." option to transfer the file).
3. If a word from "puppet.txt" is in the dictionary, skip it, if
it is not in the dictionary, output it to a miss_spelled.txt file.
4. It is very important that you time the spell-check process and
turn that in as part of your results. We will be comparing your results
with another spell-checker program next week.
Helps:
Turn in:
You can turn in your work by using the Assignment Turn-in at tinyRealm.com BBS. Just post a "Reply" to the lab assignment message. |