August 2018
Intermediate to advanced
522 pages
12h 45m
English
For the English language, NLTK provides an already trained model called Valence Aware Dictionary and sEntiment Reasoner (VADER) which works in a slightly different way and adopts a rule engine together with a lexicon to infer the sentiment intensity of a piece of text. More information and details can be found in VADER: A Parsimonious Rule-based Model for Sentiment Analysis of Social Media Text, Hutto C J, Gilbert E, AAAI, 2014.
The NLTK version uses the SentimentIntensityAnalyzer class and can immediately be used to have a polarity sentiment measure made up of four components:
The first three don't need any explanation, while the last one ...
Read now
Unlock full access