Change all words list to dict.