📜  heroku 中的 nltk - 任何代码示例

📅  最后修改于: 2022-03-11 14:58:10.733000             🧑  作者: Mango

代码示例1
You need to follow the below steps.

nltk.txt needs to present at the root folder
Add the modules you want to download like punkt, stopwords as separate row items
Change the line ending from windows to UNIX
Changing the line ending is a very important step. Can be easily done through Sublime Text or Notepad++. 
In Sublime Text, it can done from the View menu, then Line Endings