{"title":"Using Twitter as a digital insight into public stance on societal behavioral dynamics","authors":"Aqil M. Azmi, Abdulrahman I. Al-Ghadir","doi":"10.1016/j.jksuci.2024.102078","DOIUrl":null,"url":null,"abstract":"<div><p>This study explores X’s (formerly Twitter’s) capacity to serve as a real-time barometer of public sentiment, contextualized within the transformative reforms of Saudi Arabia during 2016–2017. The objective was to decipher the populace’s response to these significant national changes by analyzing approximately 200 million tweets in native Arabic dialects, thereby aiming for an authentic portrayal of local sentiment. Our methodology entailed a dual-phase analysis: initial tweet examination to discern prevalent social behaviors, followed by stance detection to classify tweets according to their support, neutrality, or opposition to the divisive issues at hand. For sentiment extraction, we employed a sophisticated feature vector, integrating the <span><math><mi>k</mi></math></span> most frequent words and stems. A comprehensive evaluation of various classifiers was conducted, including Support Vector Machine and several variants of <span><math><mi>K</mi></math></span>-nearest neighbors (<em>K</em>-NN), with a particular emphasis on their applicability to our dataset. Notably, the 9-NN classifier, and more specifically, the weighted <em>K</em>-NN approach, demonstrated remarkable performance, achieving an <span><math><mi>F</mi></math></span>-score of 72.45%. These insights not only shed light on the public’s reception to the Saudi reforms but also position Twitter as a viable, real-time alternative to traditional survey methods for capturing the nuances of public opinion, thereby offering valuable perspectives for policy formulation.</p></div>","PeriodicalId":48547,"journal":{"name":"Journal of King Saud University-Computer and Information Sciences","volume":null,"pages":null},"PeriodicalIF":5.2000,"publicationDate":"2024-06-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://www.sciencedirect.com/science/article/pii/S1319157824001678/pdfft?md5=3d4625d5e627d37058cbc75afe0e84d8&pid=1-s2.0-S1319157824001678-main.pdf","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Journal of King Saud University-Computer and Information Sciences","FirstCategoryId":"94","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S1319157824001678","RegionNum":2,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"COMPUTER SCIENCE, INFORMATION SYSTEMS","Score":null,"Total":0}
引用次数: 0
Abstract
This study explores X’s (formerly Twitter’s) capacity to serve as a real-time barometer of public sentiment, contextualized within the transformative reforms of Saudi Arabia during 2016–2017. The objective was to decipher the populace’s response to these significant national changes by analyzing approximately 200 million tweets in native Arabic dialects, thereby aiming for an authentic portrayal of local sentiment. Our methodology entailed a dual-phase analysis: initial tweet examination to discern prevalent social behaviors, followed by stance detection to classify tweets according to their support, neutrality, or opposition to the divisive issues at hand. For sentiment extraction, we employed a sophisticated feature vector, integrating the most frequent words and stems. A comprehensive evaluation of various classifiers was conducted, including Support Vector Machine and several variants of -nearest neighbors (K-NN), with a particular emphasis on their applicability to our dataset. Notably, the 9-NN classifier, and more specifically, the weighted K-NN approach, demonstrated remarkable performance, achieving an -score of 72.45%. These insights not only shed light on the public’s reception to the Saudi reforms but also position Twitter as a viable, real-time alternative to traditional survey methods for capturing the nuances of public opinion, thereby offering valuable perspectives for policy formulation.
期刊介绍:
In 2022 the Journal of King Saud University - Computer and Information Sciences will become an author paid open access journal. Authors who submit their manuscript after October 31st 2021 will be asked to pay an Article Processing Charge (APC) after acceptance of their paper to make their work immediately, permanently, and freely accessible to all. The Journal of King Saud University Computer and Information Sciences is a refereed, international journal that covers all aspects of both foundations of computer and its practical applications.