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.
I am trying to pass a statement 'Nothing, Everything is great.' to vader, it is actually returning as 'Negative' but it is actually 'Positive' statment.
from vaderSentiment.vaderSentiment import SentimentIntensityAnalyzer
analyser = SentimentIntensityAnalyzer()
I am trying to pass a statement 'Nothing, Everything is great.' to vader, it is actually returning as 'Negative' but it is actually 'Positive' statment.
from vaderSentiment.vaderSentiment import SentimentIntensityAnalyzer analyser = SentimentIntensityAnalyzer()
def sentiment_analyzer_scores(sentence): score = analyser.polarity_scores(sentence)
max_key = max(score, key=score.get)
sentiment_analyzer_scores("Nothing. Everything is great") // Returns Negative, but it is actually positive statement.