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.38k
stars
1k
forks
source link
vaderSentiment data output in a different order than specified in the docs #129
just trying out vaderSentiment for emotional analysis and everything works fine from a technical point of view.
Only thing that's kind of confusing is that the output we get from vs = analyzer.polarity_scores() is different from what is stated in the README.md.
The README at the following section https://github.com/cjhutto/vaderSentiment#code-examples shows f.e. this result:
{'pos': 0.746, 'compound': 0.8316, 'neu': 0.254, 'neg': 0.0},
while when running it locally on my jupyter notebook the output looks like that:
{'neg': 0.0, 'neu': 1.0, 'pos': 0.0, 'compound': 0.0}
Expected behaviour:
Get the values in the same order as in vaderSentiment's README.md
Actual behaviour:
Printing out the result of vs = analyzer.polarity_scores() shows a different order (see example above).
Just want to make sure I'm not mixing up something here.
For my point of view it looks like as if the documentation seems not up to date here .. but maybe I'm missing something?
Hey there,
just trying out vaderSentiment for emotional analysis and everything works fine from a technical point of view. Only thing that's kind of confusing is that the output we get from
vs = analyzer.polarity_scores()
is different from what is stated in the README.md.The README at the following section https://github.com/cjhutto/vaderSentiment#code-examples shows f.e. this result:
{'pos': 0.746, 'compound': 0.8316, 'neu': 0.254, 'neg': 0.0}
, while when running it locally on my jupyter notebook the output looks like that:{'neg': 0.0, 'neu': 1.0, 'pos': 0.0, 'compound': 0.0}
Expected behaviour: Get the values in the same order as in vaderSentiment's README.md
Actual behaviour: Printing out the result of
vs = analyzer.polarity_scores()
shows a different order (see example above).Just want to make sure I'm not mixing up something here. For my point of view it looks like as if the documentation seems not up to date here .. but maybe I'm missing something?
Thanks