| 1 | #Spelling Module
|
| 2 |
|
| 3 | def addword(word):
|
| 4 | """Adds a new word to the dictionary's database"""
|
| 5 | pass
|
| 6 |
|
| 7 | def removeword(word):
|
| 8 | """Removes an old word from the dictionary's database"""
|
| 9 | pass
|
| 10 |
|
| 11 | def spellcheck(word):
|
| 12 | """Searches through dictionary database for a word that matches the input.
|
| 13 | If input does not match any word in the database, function returns that
|
| 14 | the input is mispelled."""
|
| 15 | pass
|
| 16 |
|
| 17 | def wordsearch(word):
|
| 18 | """Given a mispelled word, this function searches the database for other
|
| 19 | possible words which look alike."""
|
| 20 | pass
|
| 21 |
|
| 22 | def wordlist(word):
|
| 23 | """Given any amount of letters of an uncompleted word, even as little as one
|
| 24 | letter, this function displays a range of words that begin with the same letter."""
|
| 25 | pass
|
| 26 |
|
| 27 | def unscramble(word):
|
| 28 | """Given any number of letters, this function returns words of the same length with
|
| 29 | the exact same letters."""
|
| 30 | pass
|
| 31 |
|
| 32 | def wordending(word):
|
| 33 | """Given a correctly spelled word, this function returns any and all other forms of
|
| 34 | this word."""
|
| 35 | pass
|
| 36 |
|
| 37 | def sentcheck(sent):
|
| 38 | """Given a sentence with a minimum of 1 word, this function returns all the mispelled
|
| 39 | words in the sentence."""
|
| 40 | pass
|
| 41 |
|
| 42 | def fullword(word):
|
| 43 | """Given either a full word, or incomplete word, this function returns whether or not
|
| 44 | the input is a complete word."""
|
| 45 | pass
|
| 46 |
|
| 47 | def nextword(word):
|
| 48 | """Given a correctly spelled word, this function returns the next word in the
|
| 49 | database."""
|
| 50 | pass
|
| 51 |
|
| 52 | def prevword(word):
|
| 53 | """Given a correctly spelled word, this function returns the previous word in the
|
| 54 | database."""
|
| 55 | pass
|
| 56 |
|
| 57 | def wordfind(num):
|
| 58 | """Given a number less than or equal to the total number of words in the database,
|
| 59 | this function returns the word that corresponds to the input number."""
|
| 60 | pass
|
| 61 |
|
| 62 | def editword(word):
|
| 63 | """Given a word, this function allows the user to alter and save the spelling of a
|
| 64 | particular word."""
|
| 65 | pass |