Embrace duplicate characters, shun duplicate output words.

First diff created and committed on a tablet.