def get_words_from_dictionary(lemmas):
 words = set()
 for lemma in lemmas:
  words.update(set(lemmas[lemma]))
 return words

def get_words_from_dictionary ( lemmas ) : words = set ( ) for lemma in lemmas : words . update ( set ( lemmas [ lemma ] ) ) return words
get original set of words used for analysis .