Loading project…
Loading project…
I lower-cased 2,304 product reviews, stripped punctuation and stop words and stemmed what was left. Then I scored each review with VADER, summed the positive, negative and neutral scores, and called the largest sum the overall mood.
Original tutorial by Aman Kharwal: Flipkart Reviews Sentiment Analysis (opens in a new tab)
| Output | Value | Cell # |
|---|---|---|
| Summed VADER positive | 923.55 | |
| Summed VADER negative | 96.78 | |
| Summed VADER neutral | 1,284 | |
| Overall verdict | Neutral |
Cell # counts every cell from the top of the notebook, Markdown included, starting at 1.
'Neutral' won because VADER's neutral share is high for almost any short text. Stemming made it worse: 'awesome' became 'awesom', which VADER does not know, so it scored as fully neutral.
Flipkart product reviews with star ratings from the tutorial author's GitHub data repository.