Abstract
Brazil’s social security reform, approved in 2019, moved several social networks, revealing the high polarity of this theme. In this paper, we perform an automatic investigation of this polarity using sentiment analysis techniques. We collected 980,577 tweets published between January and November of that year and compared four supervised machine learning algorithms: Multinomial Naïve Bayes, Logistic Regression, Support Vector Machines, and Random Forest. Due to the large volume of data collected, we employed a transfer learning approach to train these algorithms. As a result, the four algorithms predominantly classified the tweets as “neutral”, that is, these posts do not explicitly expose their users’ opinion about the topic. Of the tweets that showed polarity, there was a dominance of posts classified as “positive”, i.e., their authors have positive feelings (support, affinity) concerning the Social Security Reform proposal.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
Araújo, M., Gonçalves, P., Benevenuto, F.: Measuring sentiments in online social networks. In: Proceedings of the 19th Brazilian Symposium on Multimedia and the Web - WebMedia 2013. ACM Press (2013)
Bhattacharya, S., Yang, C., Srinivasan, P., Boynton, B.: Perceptions of presidential candidates’ personalities in twitter. J. Assoc. Inf. Sci. Technol. 67(2), 249–267 (2016)
Blitzer, J., Dredze, M., Pereira, F.: Biographies, Bollywood, boom-boxes and blenders: domain adaptation for sentiment classification. In: Proceedings of the 45th Annual Meeting of the Association of Computational Linguistics, pp. 440–447. Association for Computational Linguistics, Prague, Czech Republic, June 2007
Bosch, T.: Twitter activism and youth in South Africa: the case of #RhodesMustFall. Inf. Commun. Soc. 20(2), 221–232 (2016)
Bovet, A., Makse, H.A.: Influence of fake news in Twitter during the 2016 US presidential election. Nat. Commun. 10(1), 1–14 (2019)
Budiharto, W., Meiliana, M.: Prediction and analysis of Indonesia Presidential election from Twitter using sentiment analysis. J. Big Data 5(1), 1–10 (2018)
Caetano, J.A., Lima, H.S., Santos, M.F., Marques-Neto, H.T.: Using sentiment analysis to define twitter political users’ classes and their homophily during the 2016 American presidential election. J. Internet Serv. Appl. 9(18), 1–15 (2018)
Giachanou, A., Crestani, F.: Like it or not: a survey of Twitter sentiment analysis methods. ACM Comput. Surv. 49(2), 1–41 (2016)
Gonçalves, P., Araújo, M., Benevenuto, F., Cha, M.: Comparing and combining sentiment analysis methods. In: Proceedings of the First ACM Conference on Online Social Networks - COSN 2013, pp. 27–38. ACM Press, Boston (2013)
Guerra, P.H.C., Veloso, A., Meira, W., Almeida, V.: From bias to opinion: a transfer-learning approach to real-time sentiment analysis. In: Proceedings of the 17th ACM SIGKDD International Conference on Knowledge Discovery and Data Mining - KDD 2011, pp. 150–158. KDD 2011. ACM Press, New York, NY, USA (2011)
Guimarães, E., Carvalho, J., Paes, A., Plastino, A.: Transfer learning for Twitter sentiment analysis: choosing an effective source dataset. In: Proceedings of 8th Symposium on Knowledge Discovery, Mining and Learning, pp. 161–168 (2020)
Hasan, A., Moin, S., Karim, A., Shamshirband, S.: Machine learning-based sentiment analysis for twitter accounts. Math. Comput. Appl. 23(1), 11 (2018)
Kralj Novak, P., Smailović, J., Sluban, B., Mozetič, I.: Sentiment of emojis. PLoS One 10(12), e0144296 (2015)
Kušen, E., Strembeck, M.: Politics, sentiments, and misinformation: an analysis of the Twitter discussion on the 2016 Austrian Presidential elections. Online Soc. Networks Media 5, 37–50 (2018)
Liu, R., Shi, Y., Ji, C., Jia, M.: A survey of sentiment analysis based on transfer learning. IEEE Access 7, 85401–85412 (2019)
Mottl, D.: GetOldTweets3: Project description. The Python Package Index, November 2019. https://pypi.org/project/GetOldTweets3/
Pan, S.J., Yang, Q.: A survey on transfer learning. IEEE Trans. Knowl. Data Eng. 22(10), 1345–1359 (2010)
Pan, W., Zhong, E., Yang, Q.: Transfer learning for text mining. In: Aggarwal, C., Zhai, C. (eds.) Mining Text Data, pp. 223–257. Springer, Boston (2012). https://doi.org/10.1007/978-1-4614-3223-4_7
Pedregosa, F., et al.: Scikit-learn: machine learning in Python. J. Mach. Learn. Res. 12, 2825–2830 (2011)
Rajaraman, A., Ullman, J.D.: Data mining. In: Rajaraman, A., Ullman, J.D. (eds.) Mining of Massive Datasets, vol. 1, pp. 1–17. Cambridge University Press, Cambridge (2011)
Resende, T.: Senado finaliza nesta quarta reforma da Previdência que pode afetar 72 milhões. Folha de São Paulo, October 2019. https://bit.ly/3qDU40e. (in Portuguese)
Rossetto, G.P.N., Carreiro, R., Almada, M.P.: Twitter e comunicação política: limites e possibilidades. Compolítica 3(2), 189–216 (2013). (in Portuguese)
Santana, F.: Análise de Sentimentos Utilizando Dados do Twitter. Minerando Dados (2019). https://minerandodados.com.br
Stein, T.: Gírias e abreviações mais usadas do Whatsapp. Dicionário Polular (2019). https://www.dicionariopopular.com/girias-abreviacoes-siglas-mais-usadas-do-whatsapp/. (in Portuguese)
Theocharis, Y., Lowe, W., van Deth, J.W., García-Albacete, G.: Using Twitter to mobilize protest action: online mobilization patterns and action repertoires in the Occupy Wall Street, Indignados, and Aganaktismenoi movements. Inf. Commun. Soc. 18(2), 202–220 (2014)
Tumasjan, A., Sprenger, T.O., Sandner, P.G., Welpe, I.M.: Predicting elections with twitter: what 140 characters reveal about political sentiment. In: Cohen, W.W., Gosling, S. (eds.) Proceedings of the Fourth International Conference on Weblogs and Social Media. The AAAI Press (2010)
Yang, L., Zhang, J.: Automatic transfer learning for short text mining. EURASIP J. Wirel. Commun. Networking 2017(1), 1–18 (2017)
Yaqub, U., Chun, S.A., Atluri, V., Vaidya, J.: Analysis of political discourse on twitter in the context of the 2016 US presidential elections. Gov. Inf. Q. 34(4), 613–626 (2017)
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2021 Springer Nature Switzerland AG
About this paper
Cite this paper
Ricci, R.D., Faria, E.R., Miani, R.S., Gabriel, P.H.R. (2021). Social Security Reform in Brazil: A Twitter Sentiment Analysis. In: Kö, A., Francesconi, E., Kotsis, G., Tjoa, A.M., Khalil, I. (eds) Electronic Government and the Information Systems Perspective. EGOVIS 2021. Lecture Notes in Computer Science(), vol 12926. Springer, Cham. https://doi.org/10.1007/978-3-030-86611-2_11
Download citation
DOI: https://doi.org/10.1007/978-3-030-86611-2_11
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-030-86610-5
Online ISBN: 978-3-030-86611-2
eBook Packages: Computer ScienceComputer Science (R0)