see if you can make this a one-liner -- what does tri_dict.setdefault(key_words, []) return?