1 | def check(doc):
|
2 | """Parse document and look for awkward words.
|
3 |
|
4 | check takes a text document and goes through the file. It returns a list of words."""
|
5 | pass
|
6 |
|
7 | def suggest(word):
|
8 | """Suggest alternate spelling of word.
|
9 |
|
10 | suggest takes a word from the text that does not match any word in the dict ionary. It then recommends the closest word to the awkard spelled word."""
|
11 | pass
|
12 |
|
13 | def ignore(word):
|
14 | """Do not change the awkard spelled word.
|
15 |
|
16 | ignore skips the awkard word and goes on to another"""
|
17 | pass
|
18 |
|
19 | def ignore_all(word):
|
20 | """Do not change any words that are identical to this word.
|
21 |
|
22 | ignore_all remembers the word being checked and does not flag it as an
|
23 | error in the remainder of the document."""
|
24 | pass
|
25 |
|
26 | def add(word):
|
27 | """Add word to the dictionary
|
28 |
|
29 | add takes a word and inserts it into the dictionary. Future spell checks will not flag this work as mispelled."""
|
30 | pass
|
31 |
|
32 | def options():
|
33 | """Bring menu for changing spellcheck preferences.
|
34 |
|
35 | options allows the user to change how the spellcheck works. Some examples can be to set it to check as you type, always suggest corrections, ignore words with number, etc. The user can also add different dictionaries for different languages."""
|
36 | pass |