# speling.py # a happy little python module that provides spellchecking # all these fuctions are methods of the dictionary object def load_dictionary() """Takes a file path and loads a dictionary file into memory, returning the dictionary object. This function is called whenever a dictionary object is created.""" pass def save_dictionary() """Saves a dictionary object to disk, takes an optional file path to save it in a place different than its original location.""" pass def add_entry() """Takes a word (string) and adds it to the dictionary object.""" pass def remove_entry() """Takes a word (string) and removes it from the dictionary object. Returns true if it was successful.""" pass def check_word() """Takes a word (string) and looks it up in the dictionary object. Returns a list, containing the same word if the word is spelled correctly, or else a list of any possible corrections out of the dictionary object.""" pass def import_entries() """Takes a file name and imports dictionary entries from the text file. Returns 0 if successful.""" pass def export_entries() """Takes a file name and exports dictionary entries into a text file. Returns 0 if successful.""" pass