| 1 | # Nerissa Ying - cs198-ad
|
| 2 | # CS198 - Craft #2
|
| 3 | # Date Created: 02/02/2003
|
| 4 | # Date Last Modified: 02/02/2003
|
| 5 | # Description: Design for module speling.
|
| 6 | # speling.py
|
| 7 |
|
| 8 | def addWord(wordStr)
|
| 9 | """Adds a word to the dictionary.
|
| 10 | """
|
| 11 | pass
|
| 12 |
|
| 13 | def removeWord(wordStr)
|
| 14 | """Removes a word from the dictionary.
|
| 15 | """
|
| 16 | pass
|
| 17 |
|
| 18 | def checkWord(wordStr)
|
| 19 | """Checks to see if the wordStr matches a word in the
|
| 20 | dictionary.
|
| 21 | """
|
| 22 | pass
|
| 23 |
|
| 24 | def checkSentence(sentenceStr)
|
| 25 | """Checks to make sure all the words in the sentence are
|
| 26 | spelled correctly.
|
| 27 | """
|
| 28 | pass
|
| 29 |
|
| 30 | def checkPassage(passageStr)
|
| 31 | """Checks to make sure all the words in the passage are
|
| 32 | spelled correctly.
|
| 33 | """
|
| 34 | pass |