You are viewing a free preview of this lesson.
Subscribe to unlock all 10 lessons in this course and every other course on LearningBro.
Sentiment analysis (also called opinion mining) is the task of determining the emotional tone or attitude expressed in a piece of text. It is one of the most popular and commercially valuable applications of NLP.
| Type | Description | Output Example |
|---|---|---|
| Polarity detection | Positive, negative, or neutral | "Great movie!" → Positive |
| Fine-grained | Star rating or scale (1–5) | "Decent but not amazing" → 3 stars |
| Aspect-based | Sentiment per aspect of an entity | "Great food but slow service" → food: +, service: - |
| Emotion detection | Specific emotions (joy, anger, sadness, etc.) | "I'm furious about this!" → Anger |
Subscribe to continue reading
Get full access to this lesson and all 10 lessons in this course.