AthPPA: A Data Visualization Tool for Identifying Political Popularity over Twitter
Abstract
:1. Introduction
- Our tool is the first tool for analyzing tweets in the Greek Language and visualize them. It communicates with Twitter by using its API, collects tweets based on a set of criteria and visualizes the result using numerous graphs.
- We have also implemented a sentiment analyzer that utilizes a lexicon specifically designed for political sentiment analysis. Instead of calculating a single score for each tweet, our approach distinguishes the individual domain characteristics of each tweet and assigns respective sentiment scores for each individual characteristic, resulting in a more thorough analysis of the sentiments of a statement given. This results overall in a more elaborate analysis of post opinions regarding a specific topic.
- As a proof of concept, we apply our tool to the three most prominent Greek politicians, i.e., Kyriakos Mitsotakis leader of New Democracy (liberal-right wing) and current Prime Minister of Greece; Alexis Tsipras, leader of SYRIZA party (radical-left wing); and Fofi Gennimata, leader of the political party Movement for Change (center-left wing), and we present the high-value insights identified by the various visuals our tool provides.
2. Preliminaries and Related Work
- The lexicon-based method where a given text is parsed to locate certain phrases or words with its main purpose to identify their respective sentiment value or emotion. The approach is to obtain with their given orientations the initial seed set of words and then search online dictionaries such as WordNet etc. The Corpus-based approach effectively provides corpus analytics to evaluate words of sentiment, although it is not as successful as the dictionary-based method. It is useful for finding the domain and context of specific sentiment words against the corpus data. This scheme is beneficial when we seek data in order to determine sentiment words [22,23].
- The Machine Learning approach in which a set of marked-up collections known as datasets and feature lists are used as the primary source of knowledge on which a mathematical algorithm relies when classifying other marked-up collections (test sets).
2.1. Levels of Sentiment Analysis and Features
2.2. Related Work
Sentiment Analysis for Political Popularity
3. System Architecture
Implementation Details
4. Proof of Concept Experimentation
5. Open Topics and Limitations
6. Conclusions
Author Contributions
Funding
Data Availability Statement
Acknowledgments
Conflicts of Interest
References
- Skiba, D.J. Web 2.0: Next great thing or just marketing hype? Nurs. Educ. Perspect. 2006, 27, 212–214. [Google Scholar] [PubMed]
- Kondylakis, H.; Plexousakis, D. Ontology evolution in data integration: Query rewriting to the rescue. In International Conference on Conceptual Modeling; Springer: Berlin/Heidelberg, Germany, 2011; pp. 393–401. [Google Scholar]
- Kontopoulos, E.; Berberidis, C.; Dergiades, T.; Bassiliades, N. Ontology-based sentiment analysis of twitter posts. Expert Syst. Appl. 2013, 40, 4065–4074. [Google Scholar] [CrossRef]
- Kaplan, A.M.; Haenlein, M. The early bird catches the news: Nine things you should know about micro-blogging. Bus. Horizons 2011, 54, 105–113. [Google Scholar] [CrossRef]
- Twitter—Statistics & Facts. Available online: https://www.statista.com/topics/737/Twitter/ (accessed on 30 July 2021).
- Chatziadam, P.; Dimitriadis, A.; Gikas, S.; Logothetis, I.; Michalodimitrakis, M.; Neratzoulakis, M.; Papadakis, A.; Kontoulis, V.; Siganos, N.; Theodoropoulos, D.; et al. TwiFly: A Data Analysis Framework for Twitter. Information 2020, 11, 247. [Google Scholar] [CrossRef]
- Pak, A.; Paroubek, P. Twitter as a corpus for sentiment analysis and opinion mining. LREc 2010, 10, 1320–1326. [Google Scholar]
- Liu, B. Sentiment analysis and opinion mining. In Synthesis Lectures on Human Language Technologies; Morgan & Claypool Publishers: San Rafael, CA, USA, 2012. [Google Scholar]
- Liu, Y.; Huang, X.; An, A.; Yu, X. ARSA: A sentiment-aware model for predicting sales performance using blogs. In Proceedings of the 30th Annual International ACM SIGIR Conference on Research and Development in Information Retrieval, Amsterdam, The Netherlands, 23–27 July 2007. [Google Scholar]
- Park, S.; Ko, M.; Kim, J.; Liu, Y. The politics of comments: Predicting political orientation of news stories with commenters’ sentiment patterns. In Proceedings of the ACM 2011 Conference on Computer Supported Cooperative Work, Hangzhou, China, 19–23 March 2011. [Google Scholar]
- Dergiades, T. Do investors’ sentiment dynamics affect stock returns? Evidence from the US economy. Econ. Lett. 2021, 116, 404–407. [Google Scholar] [CrossRef] [Green Version]
- Kang, H.; Seong, J.Y.; Dongil, H. Senti-lexicon and improved Naïve Bayes algorithms for sentiment analysis of restaurant re-views. Expert Syst. Appl. 2012, 39, 6000–6010. [Google Scholar] [CrossRef]
- Prem, M.; Gryc, W.; Lawrence, R.D. Sentiment analysis of blogs by combining lexical knowledge with text classification. In Proceedings of the 15th ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, Paris, France, 28 June–1 July 2009. [Google Scholar]
- Moreo, A.; Romero, M.; Castro, J.; Zurita, J. Lexicon-based Comments-oriented News Sentiment Analyzer system. Expert Syst. Appl. 2012, 39, 9166–9180. [Google Scholar] [CrossRef]
- Tumasjan, A.; Sprenger, T.O.; Sandner, P.G.; Welpe, I.M. Predicting elections with Twitter: What 140 characters reveal about political sentiment. In Proceedings of the Fourth International AAAI Conference on Weblogs and Social Media, Washington, DC, USA, 23–26 May 2010. [Google Scholar]
- Claster, W.B.; Cooper, M.; Sallis, P. Thailand—Tourism and conflict: Modeling sentiment from Twitter tweets using naïve Bayes and unsupervised artificial neural nets. In Proceedings of the Second International Conference on Computational Intelligence, Modelling and Simulation, Washington, DC, USA, 28–30 September 2010. [Google Scholar]
- Kostiantyn, K.; Paradis, C.; Kerren, A. The State of the Art in Sentiment Visualization. Comput. Graph. Forum 2017, 37, 71–96. [Google Scholar] [CrossRef] [Green Version]
- Britzolakis, A. Design and Development of a Web-Based Data Visualization Software for Political Tendency Identification of Twitter’s Users Using Python Dash Framework. Master’s Thesis, Hellenic Mediterranean University Institutional Repository (Apothesis), Iraklion, Greece, 2020. [Google Scholar]
- Pawar, K.K.; Pukhraj, P.S.; Deshmukh, R.R. Twitter sentiment analysis: A review. Int. J. Sci. Eng. Res. 2015, 6, 957–964. [Google Scholar]
- Pozzi, F.A.; Fersini, E.; Messina, E.; Liu, B. Sentiment Analysis in Social Networks; Morgan Kaufmann: Burlington, MA, USA, 2016. [Google Scholar]
- Bo, P.; Lee, L. Opinion Mining and Sentiment Analysis. Found. Trends Inf. Retr. 2008, 2, 1–135. [Google Scholar]
- Nausheen, F.; Sayyada, H.B. Sentiment analysis to predict election results using Python. In Proceedings of the 2nd International Conference on Inventive Systems and Control (ICISC), Coimbatore, India, 19–20 January 2018. [Google Scholar]
- Koltsova, O.Y.; Alexeeva, S.; Kolcov, S. An opinion word lexicon and a training dataset for Russian sentiment analysis of social media. In Proceedings of the International Conference “Dialogue 2016”, Moscow, Russia, 1–4 June 2016. [Google Scholar]
- Ankitkumar, D.; Badre, R.; Kinikar, M. A Survey on Sentiment Analysis and Opinion Mining. Int. J. Innov. Res. Comput. Commun. Eng. 2014, 2, 6633–6639. [Google Scholar]
- Caruccio, L.; Desiato, D.; Polese, G. Fake account identification in social networks. In Proceedings of the IEEE International Conference on Big Data (Big Data), Seattle, WA, USA, 10–13 December 2018. [Google Scholar]
- Calderon, N.A.; Fisher, B.; Hemsley, J.; Ceskavich, B.; Jansen, G.; Marciano, R.; Lemieux, V. Mixed-initiative social media analytics at the World Bank: Observations of citizen sentiment in Twitter data to explore “trust” of political actors and state institutions and its relationship to social protest. In Proceedings of the IEEE International Conference on Big Data (Big Data), Santa Clara, CA, USA, 29 October–1 November 2015. [Google Scholar]
- Ferrara, E.; Zeyao, Y. Quantifying the effect of sentiment on information diffusion in social media. PeerJ Comput. Sci. 2015, 1, e26. [Google Scholar] [CrossRef] [Green Version]
- Yaqub, U.; Chun, S.A.; Atluri, V.; Vaidya, J. Sentiment based Analysis of Tweets during the US Presidential Elections. In Proceedings of the 18th Annual International Conference on Digital Government Research, Staten Island, NY, USA, 7–9 June 2017. [Google Scholar]
- Wei, G.; Sebastiani, F. Tweet sentiment: From classification to quantification. In Proceedings of the IEEE/ACM International Conference on Advances in Social Networks Analysis and Mining (ASONAM), Paris, France, 25–28 August 2015. [Google Scholar]
- Bouazizi, M.; Tomoaki, O. Sentiment analysis in Twitter: From classification to quantification of sentiments within tweets. In Proceedings of the IEEE Global Communications Conference (GLOBECOM), Washington DC, USA, 4–8 December 2016. [Google Scholar]
- Baumgarten, M.; Mulvenna, M.; Rooney, N.; Reid, J. Keyword-Based Sentiment Mining using Twitter. Int. J. Ambient. Comput. Intell. 2013, 5, 56–69. [Google Scholar] [CrossRef]
- Zervoudakis, S.; Marakakis, E.; Kondylakis, H.; Goumas, S. OpinionMine: A Bayesian-based framework for opinion mining using Twitter Data. Mach. Learn. Appl. 2021, 2, 100018. [Google Scholar]
- Azizan, A.; Jamal, N.N.S.A.; Abdullah, M.N.; Mohamad, M.; Khairudin, N. Lexicon-Based Sentiment Analysis for Movie Review Tweets. In Proceedings of the 1st International Conference on Artificial Intelligence and Data Sciences (AiDAS), Ipoh, Malaysia, 19 September 2019. [Google Scholar]
- Bhoir, P.; Shilpa, K. Sentiment analysis of movie reviews using lexicon approach. In Proceedings of the IEEE International Conference on Computational Intelligence and Computing Research (ICCIC), Madurai, India, 10–12 December 2015. [Google Scholar]
- Mandal, S.; Sumit, G. A Lexicon-based text classification model to analyse and predict sentiments from online reviews. In Proceedings of the International Conference on Computer, Electrical & Communication Engineering (ICCECE), Kolkata, India, 16–17 December 2016. [Google Scholar]
- Caruccio, L.; Deufemia, V.; Polese, G. Mining relaxed functional dependencies from data. Data Min. Knowl. Discov. 2020, 34, 443–477. [Google Scholar] [CrossRef]
- Caruccio, L.; Deufemia, V.; Naumann, F.; Polese, G. Discovering relaxed functional dependencies based on multi-attribute dominance. IEEE Trans. Knowl. Data Eng. 2020, 1. [Google Scholar] [CrossRef]
- Breve, B.; Caruccio, L.; Cirillo, S.; Deufemia, V.; Polese, G. Dependency Visualization in Data Stream Profiling. Big Data Res. 2021, 25, 100240. [Google Scholar] [CrossRef]
- Boia, M.; Faltings, B.; Musat, C.; Pu, P. A:) Is Worth a Thousand Words: How People Attach Sentiment to Emoticons and Words in Tweets. In Proceedings of the International Conference on Social Computing, Alexandria, VA, USA, 8–14 September 2013. [Google Scholar]
- Manuel, K.; Indukuri, K.V.; Krishna, P.R. Analyzing Internet Slang for Sentiment Mining. In Proceedings of the International Conference on Information Technology for Real World Problems, Warangal, India, 9−11 December 2010; pp. 9–11. [Google Scholar]
- Akcora, C.G.; Bayir, M.A.; Demirbas, M.; Ferhatosmanoglu, H. Identifying breakpoints in public opinion. In Proceedings of the First Workshop on Social Media Analytics, Washington, DC, USA, 25–28 July 2010. [Google Scholar]
- Kydros, D.; Argyropoulou, M.; Vrana, V. A Content and Sentiment Analysis of Greek Tweets during the Pandemic. Sustainability 2021, 13, 6150. [Google Scholar] [CrossRef]
- Karageorgou, I.; Liakos, P.; Delis, A. Just-in-Time Sentiment Analysis for Streamed Data in Greek. In Next-Gen Digital Services; Springer International Publishing: Cham, Switzerland, 2021; pp. 249–263. [Google Scholar]
- Giannakis, S.; Valavani, C.; Alexandris, C. A Sentiment Analysis Web Platform for Multiple Social Media Types and Language-Specific Customizations. In Proceedings of the International Conference on Human-Computer Interaction, Washington, DC, USA, 24–29 July 2021; pp. 318–328. [Google Scholar]
- Zhou, X.; Tao, X.; Yong, J.; Yang, Z. Sentiment analysis on tweets for social events. In Proceedings of the 2013 IEEE 17th International Conference on Computer Supported Cooperative Work in Design (CSCWD), Whistler, BC, Canada, 27–29 June 2013; pp. 557–562. [Google Scholar]
- Rezapour, R.; Wang, L.; Abdar, O. Identifying the overlap between election result and candidates’ ranking based on hashtag-enhanced, lexi-con-based sentiment analysis. In Proceedings of the IEEE 11th International Conference on Semantic Computing (ICSC), San Diego, CA, USA, 30 January–1 February 2017. [Google Scholar]
- Ramteke, J.; Shah, S.; Godhia, D.; Shaikh, A. Election result prediction using Twitter sentiment analysis. In Proceedings of the International Conference on Inventive Computation Technologies (ICICT), Coimbatore, India, 26–27 August 2016. [Google Scholar]
- Sahu, K.; Bai, Y.; Choi, Y. Supervised Sentiment Analysis of Twitter Handle of President Trump with Data Visualization Tech-nique. In Proceedings of the 10th Annual Computing and Communication Workshop and Conference (CCWC), Las Vegas, NV, USA, 6–8 January 2020. [Google Scholar]
- Britzolakis, A.; Kondylakis, H.; Papadakis, N. A Review on Lexicon-Based and Machine Learning Political Sentiment Analysis Using Tweets. Int. J. Semant. Comput. 2020, 14, 517–563. [Google Scholar] [CrossRef]
- Tsakalidis, A.; Papadopoulos, S.; Voskaki, R.; Ioannidou, K.; Boididou, C.; Cristea, A.I.; Liakata, M.; Kompatsiaris, Y. Building and evaluating resources for sentiment analysis in the Greek language. Lang. Resour. Eval. 2018, 52, 1021–1044. [Google Scholar] [CrossRef] [Green Version]
- Stratigi, M.; Kondylakis, H.; Stefanidis, K. Fairness in group recommendations in the health domain. In Proceedings of the IEEE 33rd International Conference on Data Engineering (ICDE), San Diego, CA, USA, 19–23 April 2017; pp. 1481–1488. [Google Scholar]
- Stratigi, M.; Kondylakis, H.; Stefanidis, K. Fairgrecs: Fair group recommendations by exploiting personal health information. In Proceedings of the International Conference on Database and Expert Systems Applications, Regensburg, Germany, 3–6 September 2018; pp. 147–155. [Google Scholar]
Context | Target | Language | Sentiment Analysis | Intelligent Visualization | Available Online | |
---|---|---|---|---|---|---|
Zhou et al. [45] | Australian federal election 2010 | Predict trends, to be used instead of polls. | English | Identify positive, negative or neutral | No | No |
Tumasjan et.al [15] | German Federal election, 2009 | Evaluate online political sentiment, Predict election result | German auto translated to English | Identify future orientation, past orientation, positive emotions, negative emotions, sadness, anxiety, anger, tentativeness, certainty, work, achievement, and money | No | No |
Rezapour et al. [46] | New York primary election 2016 | Identify and rank candidate, compare results to the election outcome | English | Identify negative, positive and neutral sentiment | No | No |
Ramteke et al. [47] | US elections 2016 | Identify the popularity of the candidates | English | Identify negative, positive and neutral sentiment | No | No |
Sahu et al. [48] | Approval rating of the President of the US (Donald Trump) | Analyze the relationship between tweets generated by POTUS and his approval rating | English | An floating point number between −1 (negative) and 1 (positive). | No | No |
AthPPA | Greek Election 2019 | Greek | Identify Happiness, Surprise, Sadness, Neutral, Fear, Disgust & Anger | Yes | Yes |
Emotion Type: | Happiness | Surprise | Sadness | Neutral | Fear | Disgust | Anger |
---|---|---|---|---|---|---|---|
Sentiment Value: | 3 | 2 | 1 | 0 | −1 | −2 | −3 |
Twitter Account | Type | Person/Entity | Representation |
---|---|---|---|
@PrimeministerGR | Politician | Kyriakos Mitsotakis | ND (Majority) |
@kmitsotakis | Politician | Kyriakos Mitsotakis | ND (Majority) |
@neademokratia | Political Party | New Democracy | ND (Majority) |
@atsipras | Politician | Alexis Tsipras | SYRIZA (2nd Opposition) |
@syriza_gr | Political Party | SYRIZA | SYRIZA (2nd Opposition) |
@FofiGennimata | Politician | Fofi Gennimata | KINAL (3rd Opposition) |
@kinimallagis | Political Party | KINAL | KINAL (3rd Opposition) |
Identified Hashtag | Hashtag Relation | Tweet Sample | Data Visualized |
---|---|---|---|
#ΝΔ_θελατε | Negative for ND | 100 | Date posted frequency |
#ΝΔ_ξεφτίλες | Negative for ND | 100 | Date posted frequency |
#ΝΔ_ρομπες | Negative for ND | 100 | Date posted frequency |
#ΣΥΡΙΖA_ξεφτίλες | Negative for SYRIZA | 100 | Date posted frequency |
#συριζωα | Negative for SYRIZA | 100 | Date posted frequency |
#Συριζα_απατεώνες | Negative for SYRIZA | 100 | Date posted frequency |
#ΚΙΝAΛ_ ξεφτίλες | Negative for KINAL | 100 | Date posted frequency |
#πανδημία_ηλιθίων | Negative for Covid-19 restriction measures | 100 | Date posted frequency |
#σηκώνουμε_μανίκια | Positive for Covid-19 restriction measures | 100 | Date posted frequency |
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations. |
© 2021 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Britzolakis, A.; Kondylakis, H.; Papadakis, N. AthPPA: A Data Visualization Tool for Identifying Political Popularity over Twitter. Information 2021, 12, 312. https://doi.org/10.3390/info12080312
Britzolakis A, Kondylakis H, Papadakis N. AthPPA: A Data Visualization Tool for Identifying Political Popularity over Twitter. Information. 2021; 12(8):312. https://doi.org/10.3390/info12080312
Chicago/Turabian StyleBritzolakis, Alexandros, Haridimos Kondylakis, and Nikolaos Papadakis. 2021. "AthPPA: A Data Visualization Tool for Identifying Political Popularity over Twitter" Information 12, no. 8: 312. https://doi.org/10.3390/info12080312
APA StyleBritzolakis, A., Kondylakis, H., & Papadakis, N. (2021). AthPPA: A Data Visualization Tool for Identifying Political Popularity over Twitter. Information, 12(8), 312. https://doi.org/10.3390/info12080312