Collectives™ on Stack Overflow
Find centralized, trusted content and collaborate around the technologies you use most.
Learn more about Collectives
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Learn more about Teams
>>> import nltk
>>> nltk.download('vader_lexicon')
[nltk_data] Downloading package vader_lexicon to
[nltk_data] /Users/liling.tan/nltk_data...
[nltk_data] Package vader_lexicon is already up-to-date!
Or on terminal:
$ python -m nltk.downloader vader_lexicon
[nltk_data] Downloading package vader_lexicon to
[nltk_data] /Users/liling.tan/nltk_data...
[nltk_data] Package vader_lexicon is already up-to-date!
You may try the following command in command prompt/terminal
python -m nltk.downloader vader_lexicon
Output for Windows:
[nltk_data] Downloading package vader_lexicon to
[nltk_data] C:\Users\username\AppData\Roaming\nltk_data...
It will download only the specific package to nltk_data
folder.