我已经安装了nodejs应用程序所需的所有Node.js库。但后端的nodejs应用程序使用python库,其中包含一些代码行,如import nltk和所有其他库。部署在heroku上的完整代码可在github link - 中找到问题:如何在我的应用程序中使用这个nltk和其他python库。for scraping and Requests to make HTTP requests.
from bs4 impor
我不能使用nltk wordnet狐猴,因为由于访问权限问题,我无法在大学计算机上下载wordnet语料库。Please use the NLTK Downloader to obtain the resource: >>> nltk.download() Searched in: - '/usr/share/nltk<
我正在使用python进行NLP,发现了以下错误:NLTK Babelizer: type 'help' for a list of commands.in enumerate(babelize(phrase, 'english', language)):
File "/usr/local/lib/python2.7/dist-packages/nltk如前所述,我已经导入了nltk.book