My data is tweets from Stocktwits and I try to do sentiment analysis using the Vader library in python. The problem is that the positive, neutral and negative fields do not add up to 1.0. Instead of this, they add up to 2.0.
{'neg': 0.0, 'neu': 2.0, 'pos': 0.0, 'compound': 0.0}
Is this normal?
Yes, that's normal. The example in the docs shows similar results:
You probably want to use the
compound
score: