Changed parsed list of words to be set in order to exclude possible duplicates.