Answers for "nltk in heroku"

0

nltk in heroku

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
Posted by: Guest on December-08-2020

Browse Popular Code Answers by Language