12.4. A word puzzle

Word puzzle

Write a program to do this.

12.4.1. Source

NLTK book.