Abstract
New forms of communication, like emojis, are frequent today in social media. Having in mind their strong connection with expressed emotions, we exploit emojis towards the creation of a model for emotion recognition in Portuguese. We gather short texts from Twitter and follow a traditional text classification task, where emojis are used as labels. After the process of feature engineering, two types of Naive Bayes and SVM classifiers are trained: one for classifying emotion, based on related emojis; another for predicting emojis. Interesting but debatable results were obtained on the former task, while the latter revealed to be more challenging, mainly due to emoji similarity. Yet, this also suggests that we can rely on them as an alternative to manually labelling emotions.
This work was developed in the scope of the SOCIALITE Project (PTDC/EEISCR/2072/2014), co-financed by COMPETE 2020, Portugal 2020 – Operational Program for Competitiveness and Internationalization (POCI), European Union’s ERDF (European Regional Development Fund), and the Portuguese Foundation for Science and Technology (FCT).
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Notes
- 1.
- 2.
- 3.
- 4.
We used the stopword list in NLTK, https://www.nltk.org.
- 5.
References
Alm, C.O., Roth, D., Sproat, R.: Emotions from text: machine learning for text-based emotion prediction. In: Proceedings of the Conference on Human Language Technology and Empirical Methods in Natural Language Processing, pp. 579–586. Association for Computational Linguistics (2005)
Barbieri, F., Anke, L.E., Camacho-Collados, J., Schockaert, S., Saggion, H.: Interpretable emoji prediction via label-wise attention LSTMs. In: Proceedings of 2018 Conference on Empirical Methods in Natural Language Processing (EMNLP), pp. 4766–4771. ACL Press (2018)
Barbieri, F., Ballesteros, M., Saggion, H.: Are emojis predictable? In: Proceedings of the 15th Conference of the European Chapter of the Association for Computational Linguistics: Volume 2, Short Papers, Valencia, Spain, pp. 105–111. Association for Computational Linguistics, April 2017
Barbieri, F., et al.: SemEval 2018 task 2: multilingual emoji prediction. In: Proceedings of 12th International Workshop on Semantic Evaluation, pp. 24–33. ACL Press, June 2018
Buechel, S., Hahn, U.: Representation mapping: a novel approach to generate high-quality multi-lingual emotion lexicons. In: Proceedings of the 11th International Conference on Language Resources and Evaluation, LREC 2018, Miyazaki, Japan, pp. 184–191, 7–12 May 2018 (2018)
Ekman, P.: Basic emotions. In: Handbook of Cognition and Emotion, pp. 45–60 (1999)
van der Maaten, L., Hinton, G.: Visualizing data using t-SNE. J. Mach. Learn. Res. 9(Nov), 2579–2605 (2008)
Malheiro, R., Gonçalo Oliveira, H., Gomes, P., Paiva, R.P.: Keyword-based approach for lyrics emotion variation detection. In: 8th International Conference on Knowledge Discovery and Information Retrieval, KDIR 2016 (2016)
Martinazzo, B., Dosciatti, M.M., Paraiso, E.C.: Identifying emotions in short texts for Brazilian Portuguese. In: IV International Workshop on Web and Text Intelligence (WTI 2012), p. 16 (2011)
Mikolov, T., Chen, K., Corrado, G., Dean, J.: Efficient estimation of word representations in vector space. In: Proceedings of Workshop track of the International Conference on Learning Representations (ICLR), Scottsdale, Arizona (2013)
Mohammad, S.M.: Obtaining reliable human ratings of valence, arousal, and dominance for 20,000 English words. In: Proceedings of The 56th Annual Conference of the Association for Computational Linguistics (ACL), Melbourne, Australia. ACL Press (2018)
Mohammad, S.M., Kiritchenko, S.: Using hashtags to capture fine emotion categories from tweets. Comput. Intell. 31(2), 301–326 (2015)
Nascimento, P., et al.: Análise de sentimento de tweets com foco em notícias. In: Brazilian Workshop on Social Network Analysis and Mining (2012)
Picard, R.W.: Affective computing for HCI. In: HCI, no. 1, pp. 829–833. Citeseer (1999)
Rodrigues, D., Prada, M., Gaspar, R., Garrido, M.V., Lopes, D.: Lisbon Emoji and Emoticon Database (LEED): norms for emoji and emoticons in seven evaluative dimensions. Behav. Res. Methods 50(1), 392–405 (2018)
Russell, J.A.: Affective space is bipolar. J. Pers. Soc. Psychol. 37(3), 345 (1979)
Russell, J.A., Lewicka, M., Niit, T.: A cross-cultural study of a circumplex model of affect. J. Pers. Soc. Psychol. 57(5), 848 (1989)
Silva, M.J., Carvalho, P., Sarmento, L.: Building a sentiment lexicon for social judgement mining. In: Caseli, H., Villavicencio, A., Teixeira, A., Perdigão, F. (eds.) PROPOR 2012. LNCS (LNAI), vol. 7243, pp. 218–228. Springer, Heidelberg (2012). https://doi.org/10.1007/978-3-642-28885-2_25
Soares, A.P., Comesaña, M., Pinheiro, A.P., Simões, A., Frade, C.S.: The adaptation of the affective norms for English words (ANEW) for European Portuguese. Behav. Res. Methods 44(1), 256–269 (2012)
Souza, M., Vieira, R.: Sentiment analysis on Twitter data for Portuguese language. In: Caseli, H., Villavicencio, A., Teixeira, A., Perdigão, F. (eds.) PROPOR 2012. LNCS (LNAI), vol. 7243, pp. 241–247. Springer, Heidelberg (2012). https://doi.org/10.1007/978-3-642-28885-2_28
Suttles, J., Ide, N.: Distant supervision for emotion classification with discrete binary values. In: Gelbukh, A. (ed.) CICLing 2013. LNCS, vol. 7817, pp. 121–136. Springer, Heidelberg (2013). https://doi.org/10.1007/978-3-642-37256-8_11
Tkalčič, M., Košir, A., Tasič, J.F.: Affective recommender systems: the role of emotions in recommender systems. In: Proceedings of RecSys 2011 Workshop Decisions, pp. 9–13. CEUR-WS.org (2011)
Wood, I., Ruder, S.: Emoji as emotion tags for tweets. In: Proceedings of the Emotion and Sentiment Analysis Workshop LREC 2016, Portorož, Slovenia, pp. 76–79 (2016)
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2019 Springer Nature Switzerland AG
About this paper
Cite this paper
Duarte, L., Macedo, L., Gonçalo Oliveira, H. (2019). Exploring Emojis for Emotion Recognition in Portuguese Text. In: Moura Oliveira, P., Novais, P., Reis, L. (eds) Progress in Artificial Intelligence. EPIA 2019. Lecture Notes in Computer Science(), vol 11805. Springer, Cham. https://doi.org/10.1007/978-3-030-30244-3_59
Download citation
DOI: https://doi.org/10.1007/978-3-030-30244-3_59
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-030-30243-6
Online ISBN: 978-3-030-30244-3
eBook Packages: Computer ScienceComputer Science (R0)