| 1 | FirstMisspelledWord( instring ): |
| 2 | """ finds the first misspelled word in instring i.e. the first word that doesn't appear in the dictionary file.""" |
| 3 | pass |
| 4 | |
| 5 | MisspelledWords( instring ): |
| 6 | """ returns a list of all misspelled words in the text instring """ |
| 7 | pass |
| 8 | |
| 9 | MisspelledWordIndecies( instring ): |
| 10 | """ returns a list of pairs of indecies which mark the substrings which are misspelled words.""" |
| 11 | pass |
| 12 | |
| 13 | GuessRealSpelling( inword ): |
| 14 | """ returns a list of guesses as to the real spelling of the word inword.""" |
| 15 | pass |
| 16 | |
| 17 | LearnWord( inword ): |
| 18 | """ adds inword to the dictionary file.""" |
| 19 | pass |
| 20 | |
| 21 | UnlearnWord( inword ): |
| 22 | """ removes inword from the dictinary file.""" |
| 23 | pass |