Beginner level · Module 6 of 6 · 8 guided hours
Introduction to Sentiment Analysis
Measuring opinion and feeling in text: lexicon-based scoring, the limits of off-the-shelf sentiment tools on local text, and responsible use of sentiment results. It ends with the level project.
Learning objectives
- Explain sentiment analysis and its uses
- Score sentiment with a lexicon-based tool and interpret the results
- Recognise the limits of sentiment tools for local and mixed-language text
Topics
- what sentiment analysis measures
- lexicon-based scoring
- VADER in NLTK
- negation and sarcasm
- limits for local text
- reporting sentiment responsibly
Lessons
-
Lesson 1 What Sentiment Analysis Measures
An introduction to polarity, intensity and aspects of sentiment, using student and customer feedback as examples.
polarityintensityaspectopinionfeedback analysis
-
Lesson 2 Lexicon-Based Sentiment with VADER
Learners use NLTK's VADER sentiment analyser, read its scores and test how it handles negation, emphasis, emojis and local expressions.
sentiment lexiconSentimentIntensityAnalyzercompound scorenegationemphasis
-
Lesson 3 Reporting Sentiment Responsibly and Presenting the Project
Learners combine sentiment signals with their classifier, present results with honest limits and finish the level project demonstration.
aggregationsample readingcaveatsurgent-message flagdemonstration
Practical activity
Complete the level project: the institutional enquiry classifier with cleaning, tokenisation, evaluation, sentiment flags and a staff user guide, followed by a demonstration.
Expected outcomes
- A complete beginner NLP system
- Responsible reporting of NLP results
Assessment
The level project, assessed against the level criteria, with a demonstration.
Taught live by an instructor — online or in person. Free course lessons are for self-study and do not lead to a certificate — see registration options.