{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,4,6]],"date-time":"2026-04-06T00:08:23Z","timestamp":1775434103764,"version":"3.50.1"},"reference-count":38,"publisher":"MDPI AG","issue":"4","license":[{"start":{"date-parts":[[2025,3,27]],"date-time":"2025-03-27T00:00:00Z","timestamp":1743033600000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"funder":[{"name":"Bradley University Student Engagement Award (SEA)","award":["SEA #1331464"],"award-info":[{"award-number":["SEA #1331464"]}]}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Information"],"abstract":"<jats:p>This paper presents a Generalized Sentiment Analytics Framework (GSAF) for understanding public sentiments on different key societal issues in real time. The framework uses natural language processing techniques for computing sentiments and displays them in different emotions leveraging publicly available social media data (i.e., X threads (formally Twitter)). As a case study of our developed framework, we have leveraged over 3 million tweets to map, analyze, and visualize public sentiment state-wise across the United States on different societal issues. With X as a key social media platform, this study harnesses its vast user base to provide real-time insights into emotional responses surrounding key societal and political events. Built using R and the Shiny web framework, the platform offers users interactive visualizations of emotion-specific sentiments, such as anger, joy, and trust, displayed on a U.S. state-level choropleth map. The platform allows keyword-based searches and employs advanced text-processing techniques to filter and clean tweet data for robust analysis. Furthermore, it implements efficient caching mechanisms to enhance performance, comparing various strategies like LRU and Size-Based Eviction. This research highlights the potential of sentiment analysis for policymaking, marketing, and public discourse, providing a valuable tool for understanding and predicting public sentiment trends.<\/jats:p>","DOI":"10.3390\/info16040271","type":"journal-article","created":{"date-parts":[[2025,3,28]],"date-time":"2025-03-28T04:11:40Z","timestamp":1743135100000},"page":"271","update-policy":"https:\/\/doi.org\/10.3390\/mdpi_crossmark_policy","source":"Crossref","is-referenced-by-count":3,"title":["GSAF: An ML-Based Sentiment Analytics Framework for Understanding Contemporary Public Sentiment and Trends on Key Societal Issues"],"prefix":"10.3390","volume":"16","author":[{"ORCID":"https:\/\/orcid.org\/0009-0002-0904-597X","authenticated-orcid":false,"given":"Abdul Moid Khan","family":"Mohammed","sequence":"first","affiliation":[{"name":"Department of Computer Science and Information Systems, Bradley University, Peoria, IL 61625, USA"}]},{"ORCID":"https:\/\/orcid.org\/0000-0001-5861-0475","authenticated-orcid":false,"given":"G. G. Md. Nawaz","family":"Ali","sequence":"additional","affiliation":[{"name":"Department of Computer Science and Information Systems, Bradley University, Peoria, IL 61625, USA"}]},{"ORCID":"https:\/\/orcid.org\/0009-0008-3733-2101","authenticated-orcid":false,"given":"Samantha S.","family":"Khairunnesa","sequence":"additional","affiliation":[{"name":"Department of Computer Science and Information Systems, Bradley University, Peoria, IL 61625, USA"}]}],"member":"1968","published-online":{"date-parts":[[2025,3,27]]},"reference":[{"key":"ref_1","doi-asserted-by":"crossref","first-page":"5","DOI":"10.1145\/3185045","article-title":"The State-of-the-Art in Twitter Sentiment Analysis: A Review and Benchmark Evaluation","volume":"9","author":"Zimbra","year":"2018","journal-title":"ACM Trans. Manag. Inf. Syst."},{"key":"ref_2","first-page":"2","article-title":"Like It or Not: A Survey of Twitter Sentiment Analysis Methods","volume":"49","author":"Giachanou","year":"2016","journal-title":"ACM Comput. Surv."},{"key":"ref_3","doi-asserted-by":"crossref","unstructured":"Samuel, J., Ali, G.G.M.N., Rahman, M.M., Esawi, E., and Samuel, Y. (2020). COVID-19 Public Sentiment Insights and Machine Learning for Tweets Classification. Information, 11.","DOI":"10.31234\/osf.io\/sw2dn"},{"key":"ref_4","unstructured":"Mohammad, S.M., and Turney, P.D. (2013). Crowdsourcing a Word\u2013Emotion Association Lexicon. Comput. Intell., Available online: https:\/\/api.semanticscholar.org\/CorpusID:9388645."},{"key":"ref_5","doi-asserted-by":"crossref","unstructured":"Hutto, C.J., and Gilbert, E. (2014, January 1\u20134). VADER: A Parsimonious Rule-Based Model for Sentiment Analysis of Social Media Text. Proceedings of the International AAAI Conference on Web and Social Media, Ann Arbor, MI, USA.","DOI":"10.1609\/icwsm.v8i1.14550"},{"key":"ref_6","doi-asserted-by":"crossref","first-page":"267","DOI":"10.1162\/COLI_a_00049","article-title":"Lexicon-Based Methods for Sentiment Analysis","volume":"37","author":"Taboada","year":"2011","journal-title":"Comput. Linguist."},{"key":"ref_7","doi-asserted-by":"crossref","first-page":"1093","DOI":"10.1016\/j.asej.2014.04.011","article-title":"Sentiment analysis algorithms and applications: A survey","volume":"5","author":"Medhat","year":"2014","journal-title":"Ain Shams Eng. J."},{"key":"ref_8","doi-asserted-by":"crossref","unstructured":"Pang, B., Lee, L., and Vaithyanathan, S. (2002). Thumbs up? Sentiment Classification Using Machine Learning Techniques. arXiv.","DOI":"10.3115\/1118693.1118704"},{"key":"ref_9","doi-asserted-by":"crossref","first-page":"11","DOI":"10.17509\/jmai.v1i1.69959","article-title":"Comparison of Na\u00efve Bayes Classifier and Support Vector Machine Methods for Sentiment Classification of Responses to Bullying Cases on Twitter","volume":"1","author":"Millennianita","year":"2024","journal-title":"J. Mechatronics Artif. Intell."},{"key":"ref_10","doi-asserted-by":"crossref","unstructured":"Kim, Y. (2014, January 25\u201329). Convolutional Neural Networks for Sentence Classification. Proceedings of the Conference on Empirical Methods in Natural Language Processing, Doha, Qatar.","DOI":"10.3115\/v1\/D14-1181"},{"key":"ref_11","doi-asserted-by":"crossref","first-page":"77820","DOI":"10.1109\/ACCESS.2020.2990306","article-title":"Combination of Recursive and Recurrent Neural Networks for Aspect-Based Sentiment Analysis Using Inter-Aspect Relations","volume":"8","author":"Aydin","year":"2020","journal-title":"IEEE Access"},{"key":"ref_12","unstructured":"Devlin, J., Chang, M., Lee, K., and Toutanova, K. (2019). BERT: Pre-Training of Deep Bidirectional Transformers for Language Understanding, North American Chapter of the Association for Computational Linguistics."},{"key":"ref_13","unstructured":"Liu, Y., Ott, M., Goyal, N., Du, J., Joshi, M., Chen, D., Levy, O., Lewis, M., Zettlemoyer, L., and Stoyanov, V. (2019). RoBERTa: A Robustly Optimized BERT Pretraining Approach. arXiv."},{"key":"ref_14","unstructured":"Bollen, J., Mao, H., and Zeng, X.-J. (2010). Twitter Mood Predicts the Stock Market. arXiv, Available online: https:\/\/api.semanticscholar.org\/CorpusID:14727513."},{"key":"ref_15","unstructured":"Rajagopal, S., Popat, K., Meva, D., and Bajeja, S. (2024). Twitter Sentiment Analysis Tweets Using Hugging Face Harnessing NLP for Social Media Insights. Advancements in Smart Computing and Information Security, Springer Nature Switzerland."},{"key":"ref_16","doi-asserted-by":"crossref","unstructured":"Srivastava, M., Khatri, S.K., Sinha, S., Ahluwalia, A., and Johri, P. (2018, January 30\u201331). Understanding Relation between Public Sentiments and Government Policy Reforms. Proceedings of the 2018 International Conference on Recent Innovations in Telecommunications and Internet of Things (ICRITO), Amity University, Noida, India.","DOI":"10.1109\/ICRITO.2018.8748655"},{"key":"ref_17","unstructured":"R Core Team (2021). R: A Language and Environment for Statistical Computing, R Foundation for Statistical Computing. Available online: https:\/\/www.R-project.org\/."},{"key":"ref_18","unstructured":"Chang, W., Cheng, J., Allaire, J.J., Sievert, C., Schloerke, B., Xie, Y., Allen, J., McPherson, J., Dipert, A., and Borges, B. (2025, January 24). Shiny: Web Application Framework for R, R Package Version 1.7.1. Available online: https:\/\/CRAN.R-project.org\/package=shiny."},{"key":"ref_19","doi-asserted-by":"crossref","unstructured":"Belcastro, L., Cantini, R., and Marozzo, F. (2022). Knowledge Discovery from Large Amounts of Social Media Data. Appl. Sci., 12.","DOI":"10.3390\/app12031209"},{"key":"ref_20","doi-asserted-by":"crossref","first-page":"142173","DOI":"10.1109\/ACCESS.2020.3013933","article-title":"Feeling Positive About Reopening? New Normal Scenarios From COVID-19 US Reopen Sentiment Analytics","volume":"8","author":"Samuel","year":"2020","journal-title":"IEEE Access"},{"key":"ref_21","doi-asserted-by":"crossref","unstructured":"Xue, J., Chen, J., Chen, C., Zheng, C., Li, S., and Zhu, T. (2020). Public discourse and sentiment during the COVID-19 pandemic: Using Latent Dirichlet Allocation for topic modeling on Twitter. PLoS ONE, 15.","DOI":"10.1371\/journal.pone.0239441"},{"key":"ref_22","doi-asserted-by":"crossref","first-page":"765","DOI":"10.1007\/s10844-024-00842-3","article-title":"Sentiment analysis of twitter data to detect and predict political leniency using natural language processing","volume":"62","author":"Kowsik","year":"2024","journal-title":"J. Intell. Inf. Syst."},{"key":"ref_23","unstructured":"(2025, January 24). Archive.org. Twitter Data Archive for October 2022. Available online: https:\/\/archive.org\/details\/twitterstream."},{"key":"ref_24","unstructured":"(2025, January 24). json.org. JSON. Available online: https:\/\/www.json.org\/json-en.html."},{"key":"ref_25","unstructured":"Wikipedia Contributors (2025, January 24). Comma-Separated Values. Available online: https:\/\/en.wikipedia.org\/wiki\/Comma-separated_values."},{"key":"ref_26","unstructured":"Wickham, H., Fran\u00e7ois, R., Henry, L., and M\u00fcller, K. (2025, January 24). Dplyr: A Grammar of Data Manipulation, R package Version 1.0.7. Available online: https:\/\/CRAN.R-project.org\/package=dplyr."},{"key":"ref_27","unstructured":"Wickham, H. (2025, January 24). Stringr: Simple, Consistent Wrappers for Common String Operations, R Package Version 1.4.0. Available online: https:\/\/CRAN.R-project.org\/package=stringr."},{"key":"ref_28","doi-asserted-by":"crossref","unstructured":"Sarica, S., and Luo, J. (2021). Stopwords in technical language processing. PLoS ONE, 16.","DOI":"10.1371\/journal.pone.0254937"},{"key":"ref_29","unstructured":"Feinerer, I. (2025, January 24). Introduction to the tm Package Text Mining in R. Available online: https:\/\/cran.r-project.org\/web\/packages\/tm\/tm.pdf."},{"key":"ref_30","unstructured":"(2025, January 24). NRC Word-Emotion Association Lexicon. Available online: https:\/\/saifmohammad.com\/WebPages\/NRC-Emotion-Lexicon.htm."},{"key":"ref_31","unstructured":"Zhang, L., and Liu, B. (2012). Sentiment Analysis and Opinion Mining. Synth. Lect. Hum. Lang. Technol., Available online: https:\/\/api.semanticscholar.org\/CorpusID:38022159."},{"key":"ref_32","doi-asserted-by":"crossref","first-page":"37","DOI":"10.21105\/joss.00037","article-title":"Tidytext: Text Mining and Analysis Using Tidy Data Principles in R","volume":"1","author":"Silge","year":"2016","journal-title":"J. Open Source Softw."},{"key":"ref_33","doi-asserted-by":"crossref","first-page":"1","DOI":"10.18637\/jss.v025.i05","article-title":"Text Mining Infrastructure in R","volume":"25","author":"Feinerer","year":"2008","journal-title":"J. Stat. Softw."},{"key":"ref_34","unstructured":"Wickham, H., and Fran\u00e7ois, R. (2025, January 24). A Grammar of Data Manipulation. Available online: https:\/\/api.semanticscholar.org\/CorpusID:62077685."},{"key":"ref_35","unstructured":"(2025, March 10). Spiceworks. (n.d.). What Is Parallel Processing? Spiceworks. Available online: https:\/\/www.spiceworks.com\/tech\/iot\/articles\/what-is-parallel-processing."},{"key":"ref_36","unstructured":"(2025, January 24). Crown Records Management. 22 October 2024. Data Indexing Strategies for Faster & Efficient Retrieval. Crown Records Management. Available online: https:\/\/www.crownrms.com\/insights\/data-indexing-strategies\/."},{"key":"ref_37","unstructured":"Wikipedia Contributors (2024, September 13). Cache Replacement Policies. Available online: https:\/\/en.wikipedia.org\/wiki\/Cache_replacement_policies."},{"key":"ref_38","unstructured":"(2024, November 22). New York Times. Elon Musk Completes Twitter Deal. 27 October 2022. Available online: https:\/\/www.nytimes.com\/2022\/10\/27\/technology\/elon-musk-twitter-deal-complete.html."}],"container-title":["Information"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/www.mdpi.com\/2078-2489\/16\/4\/271\/pdf","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,10,9]],"date-time":"2025-10-09T17:03:34Z","timestamp":1760029414000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.mdpi.com\/2078-2489\/16\/4\/271"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2025,3,27]]},"references-count":38,"journal-issue":{"issue":"4","published-online":{"date-parts":[[2025,4]]}},"alternative-id":["info16040271"],"URL":"https:\/\/doi.org\/10.3390\/info16040271","relation":{},"ISSN":["2078-2489"],"issn-type":[{"value":"2078-2489","type":"electronic"}],"subject":[],"published":{"date-parts":[[2025,3,27]]}}}