How do I download nltk stopwords in online server Jupyter notebook? In the local host, we can easily type nltk.download and downloading starts but in online Kaggle server notebook, nltk.download doesn't work.
Asked
Active
Viewed 557 times
1 Answers
1
In kaggle kernel, the datasets are already pre-downloaded and packaged.
You can simply do:
import nltk
from nltk.corpus import stopwords
stopwords.words('english')
See https://www.kaggle.com/alvations/nltk-datasets?scriptVersionId=5266785

alvas
- 115,346
- 109
- 446
- 738