Open richsiemers opened 10 years ago
Are you running the code in the VM that's provided or on your machine in a Python interpreter?
In either case, can you try running nltk.download()
(if in an IPython Notebook, do it in a new cell.)
Running thru notebook Ran other examples in ch 9 without issue
Will try the download as you suggest
Sent from my Verizon Wireless 4GLTE smartphone
----- Reply message ----- From: "Matthew A. Russell" notifications@github.com To: "ptwobrussell/Mining-the-Social-Web-2nd-Edition" Mining-the-Social-Web-2nd-Edition@noreply.github.com Cc: "richsiemers" richsiemers1234@gmail.com Subject: [Mining-the-Social-Web-2nd-Edition] Ch9 Ex24, getting error (#202) Date: Mon, Jun 9, 2014 5:10 pm Are you running the code in the VM that's provided or on your machine in a Python interpreter?
In either case, can you try running nltk.download() (if in an IPython Notebook, do it in a new cell.)
— Reply to this email directly or view it on GitHub.
If you are working in ipynb, there should be a non-numbered cell that you can execute to trigger the download of various NLTK dependencies in a notebook from a previous chapter (5 or 6). It is a minor omission that it isn't replicated in 9 for folks who haven't worked through chapter by chapter. I'll make a note to add that in
On Jun 9, 2014, at 5:52 PM, richsiemers notifications@github.com wrote:
Running thru notebook Ran other examples in ch 9 without issue
Will try the download as you suggest
Sent from my Verizon Wireless 4GLTE smartphone
----- Reply message ----- From: "Matthew A. Russell" notifications@github.com To: "ptwobrussell/Mining-the-Social-Web-2nd-Edition" Mining-the-Social-Web-2nd-Edition@noreply.github.com Cc: "richsiemers" richsiemers1234@gmail.com Subject: [Mining-the-Social-Web-2nd-Edition] Ch9 Ex24, getting error (#202) Date: Mon, Jun 9, 2014 5:10 pm Are you running the code in the VM that's provided or on your machine in a Python interpreter?
In either case, can you try running nltk.download() (if in an IPython Notebook, do it in a new cell.)
— Reply to this email directly or view it on GitHub. — Reply to this email directly or view it on GitHub.
did the download as suggested and example worked. thanks for the input
Regards
Sent from Windows Mail
From: Matthew A. Russell Sent: Monday, June 9, 2014 7:40 PM To: ptwobrussell/Mining-the-Social-Web-2nd-Edition Cc: richsiemers
If you are working in ipynb, there should be a non-numbered cell that you can execute to trigger the download of various NLTK dependencies in a notebook from a previous chapter (5 or 6). It is a minor omission that it isn't replicated in 9 for folks who haven't worked through chapter by chapter. I'll make a note to add that in
On Jun 9, 2014, at 5:52 PM, richsiemers notifications@github.com wrote:
Running thru notebook Ran other examples in ch 9 without issue
Will try the download as you suggest
Sent from my Verizon Wireless 4GLTE smartphone
----- Reply message ----- From: "Matthew A. Russell" notifications@github.com To: "ptwobrussell/Mining-the-Social-Web-2nd-Edition" Mining-the-Social-Web-2nd-Edition@noreply.github.com Cc: "richsiemers" richsiemers1234@gmail.com Subject: [Mining-the-Social-Web-2nd-Edition] Ch9 Ex24, getting error (#202) Date: Mon, Jun 9, 2014 5:10 pm Are you running the code in the VM that's provided or on your machine in a Python interpreter?
In either case, can you try running nltk.download() (if in an IPython Notebook, do it in a new cell.)
— Reply to this email directly or view it on GitHub. — Reply to this email directly or view it on GitHub. — Reply to this email directly or view it on GitHub.
I encountered the same problem since I went from Chapter 1 to Chapter 9. I should have checked the forum a few hours ago. A note in the instructions to use nltk.download() would have been helpful.
Recv error in running ch 9: ex 24> Any thoughts. err listed below Thanks
LookupError Traceback (most recent call last)