Closed arnicas closed 7 years ago
thanks for the report! I think we might just be missing more checks for when the data is downloaded - and need to put up better error messages (instead of just blowing up)?
I'll try a clean install as well - to try to better figure out where additional error handling is needed.
AH. i misunderstood your error message. sorry! yes - it looks like we also need to add that punkt to the downloads. Thanks!
Ok. i was able to recreate your issue with python 2 and python 3.
punkt
in the downloads list. It also adds slightly more informative (?) error handling to the tokenizer commands.I've updated the version to 0.2.2
and published this version on PyPi.
I also tested locally to verify this fixes the issue for me on python 2 and python 3.
I think this is now resolved - but if you have a second to try it out on your machine - i can leave the issue open till its confirmed to be working for you.
Thanks again!
I just tried in in a new conda venv - saw the message "looking for punkt" so I imagine it's good now. Thanks!
Just tried installing fresh on a new machine and did install via pip install -U textkit. Then did textkit download.
Got this - are we missing something in the downloads, or has something changed in nltk. I can't look into it myself today... [Update: after I manually installed punkt it works fine.]