# Homework 2 part 3 # David Wallace # A module for spell checking dictfile = "dict.txt" def checkword(word): """Test one word for correct spelling. If word is misspelled, return list of alternate spellings. Otherwise return empty list.""" pass def checktext(text): """Test a block of text for correct spelling. Return list of tuples, each representing a misspelled word in the following format: (index_of_first_char, word, list_of_alternate_spellings) If all words are correct, return empty list.""" pass def addword(word): """Add word to dictionary""" pass def removeword(word): """Remove word from dictionary""" pass def split_text_to_words(text): """Split the string 'text' into a list of words""" pass