NLTK 3.2.2 released

298 views
Skip to first unread message

Steven Bird

unread,
Dec 31, 2016, 5:05:02 PM12/31/16
to nltk-users

NLTK 3.2.2 is now available from:
https://pypi.python.org/pypi/nltk

NLTK 3.2.2 includes the following:
Support for Aline, ChrF and GLEU MT evaluation metrics, Russian POS tagger model, Moses detokenizer, rewrite Porter Stemmer and FrameNet corpus reader, update FrameNet Corpus to version 1.7, fixes: stanford_segmenter.py, SentiText, CoNLL Corpus Reader, BLEU, naivebayes, Krippendorff's alpha, Punkt, Moses tokenizer, TweetTokenizer, ToktokTokenizer; improvements to testing framework


Thanks to the following contributors to 3.2.2:
Prasasto Adi, Mark Amery, Geoff Bacon, George Berry, Colin Carroll, Alexis Dimitriadis,
Nicholas Fabina, German Ferrero, Tsolak Ghukasyan, Hyuckin David Lim, Naoya Kanai,
Greg Kondrak, Igor Korolev, Tim Leslie, Rob Malouf, Heguang Miao, Dmitrijs Milajevs,
Adam Nelson, Dennis O'Brien, Qi Liu, Pierpaolo Pantone, Andy Reagan, Mike Recachinas,
Nathan Schneider, Jānis Šlapiņš, Richard Snape, Liling Tan, Marcus Uneson,
Linghao Zhang, drevicko, SaintNazaire


Message has been deleted

hyperviper

unread,
Jan 2, 2017, 5:05:08 AM1/2/17
to nltk-users
Hi,
Happy New Year first of all!

I have some problem installing data using mac os 10.12.2 with python3.6:

$ python3.6 -m nltk.downloader all
/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/runpy.py:125: RuntimeWarning: 'nltk.downloader' found in sys.modules after import of package 'nltk', but prior to execution of 'nltk.downloader'; this may result in unpredictable behaviour
  warn(RuntimeWarning(msg))
[nltk_data] Error loading all: <urlopen error [SSL:
[nltk_data]     CERTIFICATE_VERIFY_FAILED] certificate verify failed
[nltk_data]     (_ssl.c:749)>
Error installing package. Retry? [n/y/e]
y
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/nltk/downloader.py", line 2267, in <module>
    halt_on_error=options.halt_on_error)
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/nltk/downloader.py", line 677, in download
    if not self.download(msg.package.id, download_dir,
AttributeError: 'NoneType' object has no attribute 'id'

python 3.5.2 works well.

Tnx.

Raul Escamilla

unread,
Feb 2, 2018, 1:31:39 AM2/2/18
to nltk-users
Do you resolve this issue? I am experimenting the same problem when I run the command 'python -m nltk.downloader -d punkt' on docker file.
Reply all
Reply to author
Forward
0 new messages