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

Add support for Facebook Emojis #62

Closed Rosadojonathan closed 4 years ago

Rosadojonathan commented 6 years ago

Hey there! I was using vaderSentiment to analyze Facebook comments on my ads and I realized that comments that used Facebook emojis were parsed as neutral {'pos': 0.0, 'neg': 0.0, 'compound': 0.0, 'neu': 1.0} example -> image Plus de 50 euros de frais de réservation, je trouve ça très exagéré !!😡 However, if I removed the Facebook emoji from a sentence that used those emojis I would get actual scores, for instance : {'pos': 0.0, 'neu': 0.834, 'compound': -0.2465, 'neg': 0.166}

Do you know why Facebook Emojis make the whole sentence neutral? Do you plan to add support for these emojis?

Thanks!

cjhutto commented 4 years ago

Got this fix in. Thanks!