{"title":"Real Time Classification of Political Tendency of Twitter Spanish Users based on Sentiment Analysis","authors":"Marc Sol\u00e9, Francesc Gin\u00e9, Magda Valls, Nina Bijedic","volume":141,"journal":"International Journal of Computer and Information Engineering","pagesStart":697,"pagesEnd":707,"ISSN":"1307-6892","URL":"https:\/\/publications.waset.org\/pdf\/10009499","abstract":"What people say on social media has turned into a<br \/>\r\nrich source of information to understand social behavior. Specifically,<br \/>\r\nthe growing use of Twitter social media for political communication<br \/>\r\nhas arisen high opportunities to know the opinion of large numbers<br \/>\r\nof politically active individuals in real time and predict the global<br \/>\r\npolitical tendencies of a specific country. It has led to an increasing<br \/>\r\nbody of research on this topic. The majority of these studies have<br \/>\r\nbeen focused on polarized political contexts characterized by only<br \/>\r\ntwo alternatives. Unlike them, this paper tackles the challenge<br \/>\r\nof forecasting Spanish political trends, characterized by multiple<br \/>\r\npolitical parties, by means of analyzing the Twitters Users political<br \/>\r\ntendency. According to this, a new strategy, named Tweets Analysis<br \/>\r\nStrategy (TAS), is proposed. This is based on analyzing the users<br \/>\r\ntweets by means of discovering its sentiment (positive, negative or<br \/>\r\nneutral) and classifying them according to the political party they<br \/>\r\nsupport. From this individual political tendency, the global political<br \/>\r\nprediction for each political party is calculated. In order to do this,<br \/>\r\ntwo different strategies for analyzing the sentiment analysis are<br \/>\r\nproposed: one is based on Positive and Negative words Matching<br \/>\r\n(PNM) and the second one is based on a Neural Networks Strategy<br \/>\r\n(NNS). The complete TAS strategy has been performed in a Big-Data<br \/>\r\nenvironment. The experimental results presented in this paper reveal<br \/>\r\nthat NNS strategy performs much better than PNM strategy to analyze<br \/>\r\nthe tweet sentiment. In addition, this research analyzes the viability<br \/>\r\nof the TAS strategy to obtain the global trend in a political context<br \/>\r\nmake up by multiple parties with an error lower than 23%.","references":"[1] M. Cmara, G. Cumbreras, V. Romn, and G. Morera, \u201dTASS 2015 The\r\nEvolution of the Spanish Opinion Mining Systems\u201d Procesamiento del\r\nLenguaje Natural, vol.56, 2016.\r\n[2] J. Schmidhuber. 2015. Deep learning in neural\r\nnetworks. Neural Netw. 61, C (January 2015), 85-117.\r\nDOI=http:\/\/dx.doi.org\/10.1016\/j.neunet.2014.09.003\r\n[3] B. Wellman, A. Quan Haase, J. Witte and K. Hampton. \u201dDoes the Internet\r\nIncrease, Decrease, or Supplement Social Capital?: Social Networks,\r\nParticipation, and Community Commitment\u201d, American Behavioral\r\nScientist, vol.45, n3, 2014, pp.436\u2013455.\r\n[4] Statista. \u201dNumber of monthly Active Twitter Users Worldwide\r\nfrom 1st quarter 2010 to 3rd quarter 2017 (in millions)\u201d,\r\nhttps:\/\/www.statista.com\/statistics\/282087\/number-of-monthly-activetwitter-\r\nusers\/, Date accessed: 01\/12\/2017.\r\n[5] K. Lee, D. Palsetia, R. Narayanan, Md. Mostofa Ali Patwary, A.\r\nAgrawal and A. Choudhary. \u201dTwitter Trending Topic Classification\u201d. In\r\nProceedings of the IEEE 11th International Conference on Data Mining\r\nWorkshops (ICDMW \u201911). IEEE Computer Society, 2011 pp.251\u2013258.\r\n[6] Beevolve. \u201dAn Exhaustive Study of Twitter Users Across the\r\nWorld\u201d, http:\/\/temp.beevolve.com\/twitter-statistics\/, 2012, Date accessed:\r\n01\/12\/2017.\r\n[7] M.M. Uddin, M. Imran and H. Sajjad. \u201dUnderstanding Types of Users\r\non Twitter\u201d, ArXiv e-prints, abs\/1406.1335, 2014.\r\n[8] L. De Silva and E. Riloff. \u201dUser Type Classification of tweets with\r\nImplications for Event Recognition\u201d. Proceedings of the Joint Workshop\r\non Social Dynamics and Personal Attributes in Social Media, 2014,\r\npp.98\u2013108.\r\n[9] N. Mangal, R. Niyogi and A. Milani. \u201dAnalysis of Users\u2019 Interest Based\r\non tweets\u201d, 16th International Conference on Computational Science and\r\nIts Applications (ICCSA), 2016.\r\n[10] M. Pennacchiotti and A. Popescu. \u201dA Machine Learning Approach to\r\nTwitter User Classification\u201d, A Machine Learning Approach to Twitter\r\nUser Classification, 2011, pp.281\u2013288.\r\n[11] EJ. Lee, SY. Shin. \u201dAre They Talking to Me? Cognitive and\r\nAffective Effects of Interactivity in Politicians\u2019 Twitter Communication\u201d,\r\nCyberpsychology, behavior and social networking, vol.15, n.10, 2012,\r\npp.515\u2013520.\r\n[12] DS. Hillygus. The Evolution of Election Polling in the United States,\r\nThe Public Opinion Quarterly, vol.75, n.5, 2011, pp. 962-981.\r\n[13] La Vanguardia. \u201dBad Results in the Forecast of the Elections\u201d,\r\nhttp:\/\/www.lavanguardia.com\/politica\/elecciones\/20160627\/4027943145\r\n38\/sondeos-elecciones-generales-26j-fallo.html , June 27, 2016, Date\r\naccessed: 01\/12\/2017 (Spanish version).\r\n[14] W. Wanga, D. Rothschil, S. Goel, A. Gelman. \u201dForecasting Elections\r\nwith Non-representative Polls\u201d, International Journal of Forecasting,\r\nVol.31, Issue 3, 2015, pp. 980-991.\r\n[15] D. Preotiuc-Pietro, Y. Liu, D. Hopkins, L. Ungar. \u201dBeyond Binary\r\nLabels: political Ideology Prediction of Twitter Users\u201d, Proceedings\r\nof the 55th Annual Meeting of the Association for Computational\r\nLinguistics, 2017, pp.729\u2013740.\r\n[16] A. Tumasjan, T. Sprenger, P. Sandner, and I. Welpe. \u201dPredicting\r\nElections with Twitter: What 140 Characters Reveal about political\r\nSentiment\u201d, International AAAI Conference on Weblog and Social Media,\r\n2010, pp.178\u2013185.\r\n[17] Preotiuc-Pietro, D.; Volkova, S.; Lampos, V.; Bachrach, Y. and Aletras,\r\nN. Studying User Income through Language, Behaviour and Affect in\r\nSocial Media. PLoS ONE,10(9), 2015.\r\n[18] K. Sylwester and M. Purver. \u201dTwitter Language Use Reflects\r\nPsychological Differences between Democrats and Republicans\u201d, PLoS\r\nONE, vol.10, n.9, 2015.\r\n[19] MD. Conover, B. Gonalves, J. Ratkiewicz, A. Flammini and F.\r\nMenczer. \u201dPredicting the political Alignment of Twitter Users\u201d, IEEE\r\nThird International Conference on Social Computing (SocialCom), 2011,\r\npp:192\u2013199.\r\n[20] Twitter Developers. \u201dTwitter API\u201d, https:\/\/dev.twitter.com\/, Date\r\naccessed: 01\/12\/2017. [21] L. Jiang, M. Yu, M. Zhou, X. Liu and T. Zhao. \u201dTarget-dependent Twitter\r\nsentiment classification\u201d, In Proceedings of the 49th Annual Meeting\r\nof the Association for Computational Linguistics: Human Language\r\nTechnologies, 2011, pp.151\u2013160.\r\n[22] Y. Wang, Y. Rao, X. Zhan, H. Chen, M. Luo and J. Yin. \u201dSentiment\r\nand Emotion Classification over Noisy Labels\u201d, Know.-Based Syst., 2016,\r\npp.207\u2013216.\r\n[23] W. Medhat, A.Hassan and H. Korashy. \u201dSentiment Analysis Algorithms\r\nand Applications: A survey\u201d, In Ain Shams Engineering Journal, Vol.5,\r\nIssue 4, 2014, pp.1093\u20131113.\r\n[24] A. Agarwal, B. Xie, I. Vovsha, O. Rambow and R. Passonneau.\r\n\u201dSentiment Analysis of Twitter Data\u201d, In Proceedings of the Workshop\r\non Languages in Social Media (LSM \u201911), 2011, pp.30\u201338.\r\n[25] D. Grattarola. \u201dTwitter Sentiment Classification\u201d,\r\nhttps:\/\/github.com\/danielegrattarola\/twitter-sentiment-cnn, Date accessed:\r\n1\/12\/2017.\r\n[26] Hunspell. Hunspell is the spell checker, http:\/\/hunspell.github.io\/, 2017,\r\nDate accessed: 14\/12\/2017.\r\n[27] TensorFlow. TensorFlow is an open source software library for numerical\r\ncomputation using data flow graphs, https:\/\/www.tensorflow.org\/, 2017,\r\nDate accessed: 14\/12\/2017.\r\n[28] Apache Storm. Apache Storm is a free and open source distributed\r\nrealtime computation system, http:\/\/storm.apache.org\/, 2017, Date\r\naccessed: 14\/12\/2017.\r\n[29] OpenNebula. OpenNebula is a cloud computing platform for\r\nmanaging heterogeneous distributed data center infrastructures,\r\nhttps:\/\/opennebula.org\/, 2017, Date accessed: 14\/12\/2017.","publisher":"World Academy of Science, Engineering and Technology","index":"Open Science Index 141, 2018"}