Closed nthrodeo closed 10 years ago
Thanks for the very detailed error report. It looks like it may an issue with NLTK 3, not Python, but I will investigate more & let you know.
I've verified that the same code works in Python 3.3.5 but not with Python 3.4.2, at least on my Mac. It appears that Python 3.4 is not handling exceptions as expected, or handles __attrs differently. I'll report this to NLTK and seem if there's a way to handle this. In the meantime, it looks like you'll need to use Python 3.3 instead of 3.4
Hi. I am getting an error with python 3.4.1 when trying to complete the example from Chapter 4 called Training a Brill Tagger. Could below be related to the book's use of version 3.3.5? Thanks in advance for any assistance.
I did not submit this via Pakt's Errata form because maybe it's just be a python version issue and on the errata form at https://www.packtpub.com/books/content/errata, only the NLTK 2.0 book seems to be available from its dropdown: