Remove word duplicates