Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

hash_sentiment_emojis

Emoji Sentiment Polarity Lookup Table


Description

A dataset containing an emoji identifier key and sentiment value. This data comes from Novak, Smailovic, Sluban, & Mozetic's (2015) emoji sentiment data. The authors used Twitter data and 83 coders to rate each of the the emoji uses as negative, neutral, or positive to form a probability distribution (p_{-}, p_{0}, p_{+}) (http://journals.plos.org/plosone/article/file?id=10.1371/journal.pone.0144296&type=printable).. The sentiment score is calculated via the authors' formula: \frac{∑{(-1*p_{-}, 0 * p_{0}, p_{+}})}{∑{(p_{-}, p_{0}, p_{+}})}. This polarity lookup table differs from the other ones included in the lexicon package in the the first column are not words but identifiers. These identifiers are found in the emojis_sentiment data set. The typical use case is to utilize the textclean or sentimentr packages' replace_emoji to swap out emojis for a more computer friendly identifier.

Usage

data(hash_sentiment_emojis)

Format

A data frame with 734 rows and 2 variables

Details

  • x. Words

  • y. Sentiment

Copyright

2015 - Department of Knowledge Technologies

References

Novak, P. K., Smailovic, J., Sluban, B., and Mozetic, I. (2015) Sentiment of emojis. PLoS ONE 10(12). doi:10.1371/journal.pone.0144296

http://kt.ijs.si/data/Emoji_sentiment_ranking/index.html

https://creativecommons.org/licenses/by-sa/4.0/


lexicon

Lexicons for Text Analysis

v1.2.1
GPL-3
Authors
Tyler Rinker [aut, cre, cph], University of Notre Dame [dtc, cph], Department of Knowledge Technologies [dtc, cph], Unicode, Inc. [dtc, cph], John Higgins [dtc, cph], Grady Ward [dtc], Heiko Possel [dtc], Michal Boleslav Mechura [dtc, cph], Bing Liu [dtc], Minqing Hu [dtc], Saif M. Mohammad [dtc], Peter Turney [dtc], Erik Cambria [dtc], Soujanya Poria [dtc], Rajiv Bajpai [dtc], Bjoern Schuller [dtc], SentiWordNet [dtc, cph], Liang Wu [dtc, cph], Fred Morstatter [dtc, cph], Huan Liu [dtc, cph], Grammar Revolution [dtc, cph], Vidar Holen [dtc, cph], Alejandro U. Alvarez [dtc, cph], Stackoverflow User user2592414 [dtc, cph], BannedWordList.com [dtc, cph], Apache Software Foundation [dtc, cph], Andrew Kachites McCallum [dtc, cph], Alireza Savand [dtc, cph], Zact Anger [dtc, cph], Titus Wormer [dtc, cph], Colin Martindale [dtc, cph], John Wiseman [dtc, cph], Nadra Pencle [dtc, cph], Irina Malaescu [dtc, cph]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.