Enter list of words into dictionaries rather than one at a time?

Is there a way to enter lists of words into a dictionary in one operation rather than one at a time? And/or a way to enter an entire document to a dictionary, so all words are uniquely listed once?

Dupe