cjhutto / vaderSentiment

VADER Sentiment Analysis. VADER (Valence Aware Dictionary and sEntiment Reasoner) is a lexicon and rule-based sentiment analysis tool that is specifically attuned to sentiments expressed in social media, and works well on texts from other domains.
MIT License
4.43k stars 1k forks source link

Sentiment storing #80

Closed Panchal-Dakshesh closed 5 years ago

Panchal-Dakshesh commented 5 years ago

can we store the 4 emotion results in variable rather than displaying it on terminal, is there a way to do it ? if yes , help.

AbtinZo commented 5 years ago

What you mean by "4 emotion results" ?

cjhutto commented 5 years ago

If you check out the Python code example right on the front page of the README, you'll see one way to store results in a variable... it is just a simple python dictionary - so usage should be pretty straight forward for accessing any of the four measures you are interested in.