remove duplicates from word association hash