cwlr.net
当前位置:首页 >> nltk DAtA的安装位置 >>

nltk DAtA的安装位置

你将nltk_data里面的zip包全解压出来试试,或者你看错误提示里这句 text1 = Text(gutenberg.words('melville-moby_dick.txt')) 里说gutenberg,你就将这个解压,将idle restart一下,再from nltk.book import *,然后这句错误提示里就会变成别的。

网上找的答案,和您分享: Assuming you can import Tkinter, type >>> import nltk >>> nltk.download() in the GUI which appears, select Everything from the nltk book and click download. Wait.

你将nltk_data里面的zip包全解压出来试试,或者你看错误提示里这句 text1 = Text(gutenberg.words('melville-moby_dick.txt')) 里说gutenberg,你就将这个解压,将idle restart一下,再from nltk.book import *,然后这句错误提示里就会变成别的...

非常值得推荐 The 5 courses in this University of Michigan specialization introduce learners to data science through the python programming language. This skills-based specialization is intended for learners who have basic a pyt...

网站首页 | 网站地图
All rights reserved Powered by www.cwlr.net
copyright ©right 2010-2021。
内容来自网络,如有侵犯请联系客服。zhit325@qq.com