How to install nltk_data as package with pip?

Viewed 6559

I am new at Python and coming from Java background.

I've got a project, which uses nltk and nltk_data. I downloaded nltk_data with nltk.download() on my laptop and the project works fine but I would like to automate the downloading of nltk_data.

I can download it from command line but I want to do it lazily as pip downloads package upon pip install. So my questions are:

  • Can I install nltk_data as a regular Python package with pip ?
  • What is the best way to download nltk_data lazily ?
1 Answers
Related