How to install NLTK modules in Heroku
问题 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. 回答1: 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. 回答2: Update As Kenneth Reitz pointed out, a much simpler solution has been added to the heroku-python-buildpack. Add a nltk.txt file to your root directory and list your corpora inside.