Examples and exercises from Natural Language Processing with Python, O'Reilly