title: How can I download NLTK corpora via `requirements.txt` using `pip install -r requirements.txt`?
body: <p>One can download NLTK corpora <code>punkt</code> and <code>wordnet</code> via the command line:</p>
  
  <pre><code>python3 -m nltk.downloader punkt wordnet
  </code></pre>
  
  <p>How can I download NLTK corpora via <code>requirements.txt</code> using <code>pip install -r requirements.txt</code>?</p>
  
  <p>For example one can download spacy models <code>requirements.txt</code> using <code>pip install -r requirements.txt</code> by adding the URL of the model  (e.g. <a href="https://github.com/explosion/spacy-models/releases/download/en_core_web_sm-2.0.0/en_core_web_sm-2.0.0.tar.gz#egg=en_core_web_sm==2.0.0" rel="noreferrer">https://github.com/explosion/spacy-models/releases/download/en_core_web_sm-2.0.0/en_core_web_sm-2.0.0.tar.gz#egg=en_core_web_sm==2.0.0</a>
  in <code>requirements.txt</code>)</p>