beginner with NLP w/ Python

Skip to first unread message

Andrew Neiderer

Feb 10, 2019, 6:37:08 AM2/10/19
to nltk-dev
I am just getting started with "Natural Language Processing with Python" by Bird, (edition 1)

I am trying to re-generate Figure 4-4, p.169.

Could someone look at attached code (using Python 2.7) and tell me how to correct.

Thank you.

Steven Bird

Feb 10, 2019, 6:38:24 AM2/10/19
to nltk-dev
Please post this sort of non development question to nltk-users instead. 

You received this message because you are subscribed to the Google Groups "nltk-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
For more options, visit
Reply all
Reply to author
0 new messages