cjhutto/vaderSentiment

Incorrect results for sentences containing negations

Open

#71 aperta il 13 gen 2019

Vedi su GitHub
 (1 commento) (0 reazioni) (0 assegnatari)Python (975 fork)batch import
help wanted

Metriche repository

Star
 (4146 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

Hi

First of all, great work!

I've noticed some negations are analysed incorrectly. For instance,

Not the worst show I've seen-------- {'neg': 0.0, 'neu': 0.603, 'pos': 0.397, 'compound': 0.5096} Not the worst ever but definitely worst this year------ {'neg': 0.0, 'neu': 0.372, 'pos': 0.628, 'compound': 0.879}

The compound scores are incorrectly positive as these two sentences are neural at best.

Guida contributor