Scoring a Review by Counting Cues
Add up positive minus negative hits.
The Core Idea
To judge a review, count positive cue words, count negative ones, and compare. This simple score already captures a lot of the feeling.
Tokenize First
Split the review into words before counting. Each token becomes one thing you can check against your positive and negative lists.
tokens = review.lower().split()All lessons in this course
- What Is Sentiment Analysis?
- Building a Positive and Negative Word List
- Scoring a Review by Counting Cues
- Handling Negation and Edge Cases