import wordtool as wt nouns = wt.get_nouns() stop_words = wt.get_stop_words() noun_count = dict() def compute_noun_count(filename): wt.open_file_byword(filename) w = wt.next_word() while w != None: # Write your code here to update the # occurence count of words that are nouns # and not stopwords. You will be updating # the dictionary noun_count defined above. w = wt.next_word() def get_top(): best_noun = None best_count = 0 # Write your code here to identify the noun # with the highest count. Update best_noun, best_count # so that you return these at the end return (best_noun, best_count)