How to install NLTK modules in Heroku

后端 未结 4 1878
独厮守ぢ
独厮守ぢ 2021-02-20 08:11

Hey i\'d like to install the NLTK pos_tag on my Heroku server. How can i do so. Please give me the steps as im new to the Heroku server system.

4条回答
  •  Happy的楠姐
    2021-02-20 08:39

    I just added official nltk support to the buildpack!

    Simply add a nltk.txt file with a list of corpora you want installed, and everything should work as expected.

提交回复
热议问题