November 2017
Beginner to intermediate
366 pages
7h 59m
English
Sentiment lexicons, in which words are categorized as positive and negative, are used in this technique. There are several lexicons available today:
We match these lexicons to the tokens (words) in the input data and we can then calculate an overall sentiment, for example, based on the proportion of positive words to negative words.
The tidyr package has three sentiment lexicons. ...
Read now
Unlock full access