#!/usr/bin/env python # Calvin Smith # Craft assignment 2 part trois # 2/02/03 def setdictionary(dictionaryfilename): """Set the dictionary to be used. dictionaryfilename gives the filename of the dictionary. """ pass def addword(word): """Add a word to the dictionary.""" pass def deleteword(word): """Delete a word from the dictionary.""" pass def checktext(text): """Spellcheck a chunk of text.""" pass def splittext(text): """Split up text into a list of words.""" pass def removenonwordchars(text): """Remove non-word characters such as numbers and punctuation from text.""" pass def checkword(word): """Spellcheck an individual word.""" pass def getsuggestions(misspelledword): """Suggest correctly spelled similar words to the misspelled word.""" pass