“Natural Language Processing with Python” (read my review) has lots of motivating examples for natural language processing, focused on NLTK, which among other things, does a nice job of collecting NLP datasets and algorithms into one library. Let’s take one of Shakespeare’s sonnets and see if we can recommend alternate rhymes: import nltk from nltk.corpus import cmudict sonnet = ['O thou, my lovel