|
Download this file.
Please log in if you would like to add comments. | |
| 1 | def lookup(word): | | 2 | """Scan the current dictionary for word, report a spelling error if not found""" | | 3 | pass | | 4 | | | 5 | def check(chunk): | | 6 | """Tokenize chunk into words and use lookup() to spell check them"""" | | 7 | pass | | 8 | | | 9 | def add(key, dict): | | 10 | """Add key to dictionary dict""" | | 11 | pass | | 12 | | | 13 | def remove(key,dict): | | 14 | """Remove key from dictionary dict""" | | 15 | pass | | 16 | | | 17 | def setdict(dict): | | 18 | """Set the current dictionary to dict""" | | 19 | pass |
|