''' Purpose: produce spell-check corrected text ''' # get access to url support import url # CS 1112 most common words MOST_COMMOMN_URL = 'http://www.cs.virginia.edu/~cs1112/words/most-common' # CS 1112 words correctsions CSV CORRECTIONS_URL = 'http://www.cs.virginia.edu/~cs1112/words/corrections.csv' # get contents of most common words url spellings = url.get_text( MOST_COMMON_URL ) # get contents of corrections url dataset = url.get_dataset( CORRECTIONS_URL ) # get the user text to be checked reply = input( 'Enter text: ' ) # convert reply into a list of words text = reply.split() # what now ???