How to manually download a nltk corpus?
- Go to http://www.nltk.org/nltk_data/ and download whichever data file you want
- Now in a Python shell check the value of
nltk.data.path
- Choose one of the path that exists on your machine, and unzip the data files into the
corpora
subdirectory inside. - Now you can import the data
from nltk.corpus import stopwords