Clean up raw word definition generation.