Abstract
Many people use social media nowadays to express their emotions or opinions about something. This paper proposes the use of a deep learning network architecture for emotion classification in Twitter messages, using the six emotions model of Ekman: happiness, sadness, anger, fear, disgust and surprise. We collected the tweets from a labeled dataset that contains about 2.5 million tweets and used the Word2Vec predictive model to learn the relations of each word and transform them into numbers that the deep network receives as input. Our approach achieved a 63% accuracy with all the classes and 77% accuracy on a binary classification scheme.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
Ekman, P., Friesen, W.V., Ellsworth, P.: Emotion in the Human Face, 1st edn. Pergamon, New York (1972)
Santos, C.N.D., Gatti, M.: Deep convolutional neural networks for sentiment analysis of short texts. In: 25th International Conference on Computational Linguistics: Technical Papers, Dublin, Ireland, pp. 69–78 (2014)
Wang, W., Chen, L., Thirunarayan, K., Sheth, A.P.: Harnessing twitter “Big Data” for automatic emotion identification. In: Proceedings of the 2012 AE/IEEE International Conference on Social Computing, Washington, DC, USA, pp. 587–592 (2012)
Liu, B.: Sentiment Analysis and Opinion Mining. Morgan & Claypool Publishers, San Rafael (2012)
Damasio, A.R.: Descartes Error: Emotion, Reason and the Human Brain. G.P. Putnam’s Sons, New York (1994)
Mikolov, T., Chen, K., Corrado, G.S., Jeffrey, D.: Efficient estimation of word representations in vector space. In: Proceedings of Workshop at ICLR
Thelwall, M., et al.: Sentiment strength detection for the social web. J. Am. Soc. Inf. Sci. Technol., 2544–2558 (2010)
Balabantaray, R.C., Mohammad, M., Sharma, N.: Multi-class twitter emotion classification: a new approach. Int. J. Appl. Inf. Syst. 4(1), 48–53 (2012)
Suttles, J., Ide, N.: Distant supervision for emotion classification with discrete binary values. In: Computational Linguistics and Intelligent Text Processing, pp. 121–136 (2013)
Plutchik, R.: Emotion: Theory, Research and Experience, pp. 370–372. Academic Press, New York (1980)
Damasio, A.: Looking for Spinoza: Joy, Sorrow, and the Feeling Brain. Harvest, San Diego (2003)
Scherer, K.R.: What are emotions? And how can they be measured? Soc. Sci. Inf. 44, 695–729 (2005)
Stets, J.: Emotions and sentiments. In: Handbook of Social Psychology, pp. 309–335. Springer, US (2006)
Tang, D., Wei, F., Qin, B., Liu, T., Zhou, M.: Coooolll: a deep learning system for twitter sentiment classification, pp. 208–212 (2014)
Intel Distribution for Python. https://software.intel.com/en-us/distribution-for-python. Accessed 26 Mar 2018
Acknowledgements
The authors thank CAPES, CNPq, Fapesp, and MackPesquisa for the financial support. The authors also acknowledge the support of Intel for the Natural Computing and Machine Learning Laboratory as an Intel Center of Excellence in Machine Learning.
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
da Silva, I.R.R., Lima, A.C.E.S., Pasti, R., de Castro, L.N. (2019). Classifying Emotions in Twitter Messages Using a Deep Neural Network. In: Rodríguez, S., et al. Distributed Computing and Artificial Intelligence, Special Sessions, 15th International Conference. DCAI 2018. Advances in Intelligent Systems and Computing, vol 801. Springer, Cham. https://doi.org/10.1007/978-3-319-99608-0_32
Download citation
DOI: https://doi.org/10.1007/978-3-319-99608-0_32
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-319-99607-3
Online ISBN: 978-3-319-99608-0
eBook Packages: Intelligent Technologies and RoboticsIntelligent Technologies and Robotics (R0)