| 1 | def speling(): |
| 2 | '''Provides functions for checking spelling. |
| 3 | |
| 4 | Takes string and evaluates it for intidivual words. Then tests these words |
| 5 | against a dictionary of possible words. If a match is found then the word is |
| 6 | bypassed and the next word is checked. Words can be added and deleted from |
| 7 | the dictionary through module.''' |
| 8 | parser() |
| 9 | dictionary(words) |
| 10 | pass |
| 11 | |
| 12 | def test_dictionary(): |
| 13 | '''tests for the existance of a word from a list in dictionary''' |
| 14 | pass |
| 15 | |
| 16 | def add_word(): |
| 17 | '''allows user to add a word to the dictionary. word is first tested to see |
| 18 | if it already exists in the dictionary''' |
| 19 | pass |
| 20 | |
| 21 | def remove_word(): |
| 22 | '''allows user to remove a word to the dictionary. word is first tested to |
| 23 | see if it already exists in the dictionary''' |
| 24 | |
| 25 | pass |
| 26 | |
| 27 | def browse dictionary(): |
| 28 | '''allows user to enter in word to check for it's existence in dictionary. As |
| 29 | the user types in the word posible endings to the word are supplied from which |
| 30 | the user can scroll down and choose from.''' |
| 31 | pass |
| 32 | |
| 33 | def parser(): |
| 34 | '''takes strings and seperates out white spaces and punctuation, giving back a |
| 35 | list of words''' |
| 36 | pass |
| 37 | |
| 38 | def test_word(): |
| 39 | '''tests a word given to see if it is located in the dictionary. It will then |
| 40 | return a possitive or negative depending upon if a match was found.''' |
| 41 | |
| 42 | def create_words(): |
| 43 | '''takes words that weren't found in dictionary and attempts to make a list of |
| 44 | words from dictionary that it could be a possible composite of due to lack of |
| 45 | white spaces.''' |
| 46 | pass |
| 47 | |
| 48 | def possible_words(): |
| 49 | '''takes words that weren't found in dictionary and ruturns a list of words |
| 50 | that have simmilar spelling based upon the number of each letter and their |
| 51 | placement. Also looks for words that have letter small letter changes based |
| 52 | upon letters that are near the letter on a keyboard or have simmilar sounds''' |
| 53 | pass |