Open Deepankar-98 opened 2 years ago
Check out the "additional_resources" directory in this repo. The complete set of resources is compressed into the .tar.gz file for your convenience.
Thanks a lot for the info and the wonderful package.
Hi @cjhutto,
I downloaded the additional datasets but I am unable to figure out how to use it. I figured that I can select the file to access using this code:
from nltk.sentiment.vader import SentimentIntensityAnalyzer sid_mod = SentimentIntensityAnalyzer (lexicon_file="vader_lexicon download path")
The content inside vader_lexicon.txt is of the form:
Whereas tweets_annonDataRatings.txt is:
And tweets_GroundTruth.txt is:
This 2 appear to be just dataset and rating of 20 people. I have 2 questions:
Your help is much appreciated.
From where can I download the additional DATASETS AND TESTING RESOURCES (items 4-12): mentioned in the README file? https://github.com/cjhutto/vaderSentiment#resources-and-dataset-descriptions
I tried to download the resources using
nltk.download('name')
but it didn't work the mentioned file names are not there in NLTK Corpura (https://www.nltk.org/nltk_data/)I am trying to download:
Can someone help me with this?