def addword(word): """Adds word to the dictionary.""" pass def removeword(word): """Removes word from the dictionary.""" pass def findword(word): """Finds word in the dictionary.""" pass def loadDictionary(filename): """Loads dictionary from filename.""" pass def parseWords(wordstring): """Returns a list of word strings, from the wordstring chunk.""" return wordstring.split() def checkspelling(word): """Checks the spelling of ONE word. -- and returns word or None""" file = open('dict.txt') for line in file: if word.lower() = line: return word elif word = line: return word return None def checkchunk(wordstring): """Returns a list of words that have been verified against dictionary""" pass