journal article·2022-11-22Open access

Exploring Pandemics Events on Twitter by Using Sentiment Analysis and Topic Modelling

Zhikang Qin, Elisabetta Ronchieri

Applied Sciences· Volume 12· Issue 23

Abstract

At the end of 2019, while the world was being hit by the COVID-19 virus and, consequently, was living a global health crisis, many other pandemics were putting humankind in danger. The role of social media is of paramount importance in these kinds of contexts because they help health systems to cope with emergencies by contributing to conducting some activities, such as the identification of public concerns, the detection of infections’ symptoms, and the traceability of the virus diffusion. In this paper, we have analysed comments on events related to cholera, Ebola, HIV/AIDS, influenza, malaria, Spanish influenza, swine flu, tuberculosis, typhus, yellow fever, and Zika, collecting 369,472 tweets from 3 March to 15 September 2022. Our analysis has started with the collection of comments composed of unstructured texts on which we have applied natural language processing solutions. Following, we have employed topic modelling and sentiment analysis techniques to obtain a collection of people’s concerns and attitudes towards these pandemics. According to our findings, people’s discussions were mostly about malaria, influenza, and tuberculosis, and the focus was on the diseases themselves. As regards emotions, the most popular were fear, trust, and disgust, where trust is mainly regarding HIV/AIDS tweets.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: Misinformation and Its Impacts · Data-Driven Disease Surveillance · Sentiment Analysis and Opinion Mining

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

Affiliations

Department of Statistical Sciences, University of Bologna, 40126 Bologna, Italy

INFN National Institute for Nuclear Physics CNAF, 40126 Bologna, Italy

References (51)

Show source-provided references
1. The challenge of emerging and re-emerging infectious diseases10.1038/nature02759 ↗
2. Fan, V., Jamison, D., and Summers, L. (2016). The Inclusive Cost of Pandemic Influenza Risk, National Bureau of Economic Research. Technical Report.10.3386/w22137 ↗
3. Social Media: A Review and Tutorial of Applications in Medicine and Health Care10.2196/jmir.2912 ↗
4. Paul, M.J., Sarker, A., Brownstein, J.S., Nikfarjam, A., Scotch, M., Smith, K.L., and Gonzalez, G. (2016). Social Media Mining for Public Health Monitoring and Surveillance. Biocomputing, 468–479.10.1142/9789814749411_0043 ↗
5. Vilic, A., Petersen, J.A., Hoppe, K., and Sorensen, H.B.D. (2016, January 16–20). Visualizing patient journals by combining vital signs monitoring and natural language processing. Proceedings of the 2016 38th Annual International Conference of the IEEE Engineering in Medicine and Biology Society (EMBC), Orlando, FL, USA.10.1109/EMBC.2016.7591245 ↗
6. Natural Language Processing for Mimicking Clinical Trial Recruitment in Critical Care: A Semi-Automated Simulation Based on the LeoPARDS Trial10.1109/JBHI.2020.2977925 ↗
7. Predicting Coronavirus Pandemic in Real-Time Using Machine Learning and Big Data Streaming System10.1155/2020/6688912 ↗
8. Sepúlveda, A., Periñán-Pascual, C., Muñoz, A., Martínez-España, R., Hernández-Orallo, E., and Cecilia, J.M. (2021). COVIDSensing: Social Sensing Strategy for the Management of the COVID-19 Crisis. Electronics, 10.10.3390/electronics10243157 ↗
9. Imran, M., Qazi, U., and Ofli, F. (2022). TBCOV: Two Billion Multilingual COVID-19 Tweets with Sentiment, Entity, Geo, and Gender Labels. Data, 7.10.3390/data7010008 ↗
10. A Python library for exploratory data analysis on twitter data based on tokens and aggregated origin–destination information10.1016/j.cageo.2021.105012 ↗
11. Cornelius, J., Ellendorff, T., Furrer, L., and Rinaldi, F. (2020, January 12). COVID-19 Twitter Monitor: Aggregating and Visualizing COVID-19 Related Trends in Social Media. Proceedings of the Fifth Social Media Mining for Health Applications Workshop & Shared Task, Barcelona, Spain.
12. A social media analytics platform visualising the spread of COVID-19 in Italy via exploitation of automatically geotagged tweets10.1016/j.osnem.2021.100134 ↗
13. The COVID-19 social media infodemic10.1038/s41598-020-73510-5 ↗
14. Biancovilli, P., Makszin, L., and Jurberg, C. (2021). Misinformation on social networks during the novel coronavirus pandemic: A quali-quantitative case study of Brazil. BMC Public Health, 21.10.1186/s12889-021-11165-1 ↗
15. Communicating Ebola through social media and electronic news media outlets: A cross-sectional study10.1177/1460458214568037 ↗
16. The Assessment of Twitter’s Potential for Outbreak Detection: Avian Influenza Case Study10.1038/s41598-019-54388-4 ↗
17. Aramaki, E., Maskawa, S., and Morita, M. (2011, January 27–31). Twitter Catches The Flu: Detecting Influenza Epidemics using Twitter. Proceedings of the 2011 Conference on Empirical Methods in Natural Language Processing, Edinburgh, UK.
18. Santillana, M., Nguyen, A.T., Dredze, M., Paul, M.J., Nsoesie, E.O., and Brownstein, J.S. (2015). Combining Search, Social Media, and Traditional Data Sources to Improve Influenza Surveillance. PLoS Comput. Biol., 11.10.1371/journal.pcbi.1004513 ↗
19. Gori, D., Reno, C., Remondini, D., Durazzi, F., and Fantini, M.P. (2021). Are We Ready for the Arrival of the New COVID-19 Vaccinations? Great Promises and Unknown Challenges Still to Come. Vaccines, 9.10.3390/vaccines9020173 ↗
20. Twitter rumour detection in the health domain10.1016/j.eswa.2018.05.019 ↗
21. Clusters of science and health related Twitter users become more isolated during the COVID-19 pandemic10.1038/s41598-021-99301-0 ↗
22. Predicting the popularity of tweets by analyzing public opinion and emotions in different stages of Covid-19 pandemic
23. Bellandi, V., Ceravolo, P., Maghool, S., and Siccardi, S. (2020, January 14–16). A Comparative Study of Clustering Techniques Applied on Covid-19 Scientific Literature. Proceedings of the 2020 7th International Conference on Internet of Things: Systems, Management and Security (IOTSMS), Paris, France.10.1109/IOTSMS52051.2020.9340213 ↗
24. Social Media Monitoring of the COVID-19 Pandemic and Influenza Epidemic With Adaptation for Informal Language in Arabic Twitter Data: Qualitative Study10.2196/27670 ↗
25. Tweepy (2022, October 16). Tweepy Documentation. Available online: https://docs.tweepy.org/en/stable/.
26. Spacy (2022, October 16). Industrial-Strength Natural Language Processing in Python. Available online: https://spacy.io/.
27. NLTK (2022, October 16). NLTK Documentation. Available online: https://www.nltk.org/_modules/nltk/stem/wordnet.html.
28. pypi (2022, October 16). Autocorrect 2.6.1. Available online: https://pypi.org/project/autocorrect/.
29. Karthika, P., Murugeswari, R., and Manoranjithem, R. (2019, January 11–13). Sentiment Analysis of Social Media Network Using Random Forest Algorithm. Proceedings of the 2019 IEEE International Conference on Intelligent Techniques in Control, Optimization and Signal Processing (INCOS, Tamilnadu, India.10.1109/INCOS45849.2019.8951367 ↗
30. Alodadi, M., and Janeja, V.P. (2015, January 21–23). Similarity in Patient Support Forums Using TF-IDF and Cosine Similarity Metrics. Proceedings of the 2015 International Conference on Healthcare Informatics, Dallas, TX, USA.10.1109/ICHI.2015.99 ↗
31. Jacobson, O., and Dalianis, H. (2016, January 12). Applying deep learning on electronic health records in Swedish to predict healthcare-associated infections. Proceedings of the 15th Workshop on Biomedical Natural Language Processing, Berlin, Germany.10.18653/v1/W16-2926 ↗
32. Joulin, A., Grave, E., Bojanowski, P., Douze, M., Jégou, H., and Mikolov, T. (2016). FastText.zip: Compressing Text Classification Models. arXiv.
33. Kappus, P., and Groß, P. (2022). Finding Clusters of Similar-minded People on Twitter Regarding the Covid-19 Pandemic. arXiv.10.5121/csit.2021.111803 ↗
34. Latent Dirichlet Allocation
35. Covid-19 vaccine hesitancy: Text mining, sentiment analysis and machine learning on COVID-19 vaccination Twitter dataset10.1016/j.eswa.2022.118715 ↗
36. WHO (2022, October 16). Ebola Virus Disease—Democratic Republic of the Congo. Available online: https://www.who.int/emergencies/disease-outbreak-news/item/2022-DON377.
37. BBC (2022, October 16). Cholera in Mariupol: Ruined city at risk of major cholera outbreak - UK. Available online: https://www.bbc.com/news/world-europe-61762787.
38. Wikipidia (2022, October 16). Queensland Tick Typhus. Available online: https://en.wikipedia.org/wiki/Queensland_tick_typhus.
39. KMH (2022, October 16). Yellow Fever—Kenya. Available online: https://www.who.int/emergencies/disease-outbreak-news/item/2022-DON361.
40. UN (2022, October 16). Ethiopia: Essential Aid Reaches Tigray Region, but More Still Needed. Available online: https://news.un.org/en/story/2022/05/1117622.
41. Telegraph, T. (2022, October 16). Let’s Die at Home: 200 Patients Turned Away as Tigray’s Main Hospital Runs Out of Supplies. Available online: https://www.telegraph.co.uk/global-health/terror-and-security/die-home-200-patients-turned-away-tigrays-main-hospital-runs/.
42. Yin, Z., and Shen, Y. (2018). On the Dimensionality of Word Embedding. arXiv.
43. Faruqui, M., and Dyer, C. (2014, January 23–24). Community evaluation and exchange of word vectors at wordvectors.org. Proceedings of the 52nd Annual Meeting of the Association for Computational Linguistics: System Demonstrations, Baltimore, MD, USA.10.3115/v1/P14-5004 ↗
44. Tsvetkov, Y., Faruqui, M., Ling, W., Lample, G., and Dyer, C. (2015, January 17–21). Evaluation of word vector representations by subspace alignment. Proceedings of the 2015 Conference on Empirical Methods in Natural Language Processing, Lisbon, Portugal.10.18653/v1/D15-1243 ↗
45. Shahapure, K.R., and Nicholas, C. (2020, January 6–9). Cluster Quality Analysis Using Silhouette Score. Proceedings of the 2020 IEEE 7th International Conference on Data Science and Advanced Analytics (DSAA), Sydney, NSW, Australia.10.1109/DSAA49011.2020.00096 ↗
46. Comparing partitions10.1007/BF01908075 ↗
47. gensim (2022, October 16). gensim 4.2.0. Available online: https://pypi.org/project/gensim/.
48. Sievert, C., and Shirley, K. (2014, January 23–24). LDAvis: A method for visualizing and interpreting topics. Proceedings of the Workshop on Interactive Language Learning, Visualization, and Interfaces, Baltimore, MD, USA.10.3115/v1/W14-3110 ↗
49. Mohammad, S.M. (2018, January 7–12). Word Affect Intensities. Proceedings of the 11th Edition of the Language Resources and Evaluation Conference (LREC-2018), Miyazaki, Japan.
50. NRC (2022, October 16). Emotion-Nrc-Affect-Lex 0.0.3. Available online: https://pypi.org/project/emotion-nrc-affect-lex/.
51. CDC (2022, October 16). Epidemic Typhus, Available online: https://www.cdc.gov/typhus/epidemic/index.html.