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.38k stars 1k forks source link

Wrong weight assigned for hashtags with capitals #130

Open VibhaRavi1 opened 2 years ago

VibhaRavi1 commented 2 years ago

The values thrown by sentiment analyzer is wrong when using " # " in the beginning of the sentence followed with capitalized letters.

Ex : I have updated the value for "stress" to 0 in my use case. However for the following message: image

You can see the compound value is negative.

Without using the space: image

The output should ideally be 0 for both cases.