NLTK语料库部署Chatterbot Heroku
问题描述:
我的第一个电报chatbot出现问题,用Chatterbot库完成。NLTK语料库部署Chatterbot Heroku
我的项目是由组成:
- Procfile
- 要求(txt文件)
- telegramtoken(txt文件)
- 运行时(txt文件)
- NLTK(txt文件)
- botusers(csv文件)
- magghybot(py文件)
- Magghy(PY文件)
- 对话(名为郎文件夹中的阳明文件)
- math_words(名为郎文件夹中的JSON文件)
我部署了我在Heroku上项目,但有这个问题:
Counting objects: 3, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (2/2), done.
Writing objects: 100% (3/3), 275 bytes | 0 bytes/s, done.
Total 3 (delta 1), reused 0 (delta 0)
remote: Compressing source files... done.
remote: Building source:
remote:
remote: -----> Python app detected
remote: -----> Installing requirements with pip
remote:
remote: -----> Downloading NLTK corpora…
remote: ! 'nltk.txt' not found, not downloading any corpora
remote: ! Learn more: https://devcenter.heroku.com/articles/python-nltk
remote: -----> Discovering process types
remote: Procfile declares types -> worker
remote:
remote: -----> Compressing...
remote: Done: 47.3M
remote: -----> Launching...
remote: Released v5
remote: https://magghy.herokuapp.com/ deployed to Heroku
remote:
remote: Verifying deploy.... done.
To https://git.heroku.com/magghy.git
2cdd74d..254cbad master -> master
我不知道要插入什么NLTK语料库。 chatbot必须引用的语料库位于名为“conversations”(yml文件)和“math_words”(json文件)的文件中。
我该如何从这里出发?
虽然这种联系可以回答这个问题,最好是包括的基本部分。这里的答案和提供的链接供参考。如果链接页面更改,则仅链接答案可能会失效。 - [来自评论](/ review/low-quality-posts/18549281) – SeM
@SeM在我看来,URL是运行构建时使用的参数,而不是OP发布让我们点击阅读的参数。 – tripleee
@tripleee我认为你是对的。 – SeM