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

Updating the negate words #102

Open HongManLi opened 4 years ago

HongManLi commented 4 years ago

Hi there,

I'm rather new so what I ask might be a bit simple. But I want to put "no" as a negate word, because in my text I have things like "no problem" and "no concerns" and they are all returning negative polarity scores. But I can't find how to do that?

I have went in to vader.py and added "no" to the negate dictionary in VaderConstants class, but the issue is still there... Since you created this package could you let me know how I can add "no" as a negate word?

Thanks