A quanteda dictionary object containing the Affective Norms for English Words (AFINN), a publicly available list of English words rated for valence with values between -5 (negative) and +5 (positive). AFINN-111, the latest version, contains 2,477 words and phrases. Note that the version implemented in quanteda.dictionaries uses a binary classification into 878 positive (valence > 0) and 1,599 negative (valence < 0) features.
An object of class
dictionary2 of length 2.
Nielsen, F.Å. (2011). A new ANEW: Evaluation of a Word List for Sentiment Analysis in Microblogs. In Proceedings of the ESWC2011 Workshop on 'Making Sense of Microposts': Big Things Come in Small Packages, 93–98.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.