Exploring COVID-19 public perceptions in South Africa through sentiment analysis and topic modelling of Twitter posts

dc.contributor.authorKekere, Temitope
dc.contributor.authorMarivate, Vukosi
dc.contributor.authorHattingh, Marié
dc.date.accessioned2026-09-03T18:44:45Z
dc.date.issued2023-06-30
dc.departmentLearning Information Networking Knowledge LINK Centre
dc.description.abstractThe narratives shared on social media during a health crisis such as COVID-19 reflect public perceptions of the crisis. This article provides findings from a study of the perceptions of South African citizens regarding the government’s response to the COVID-19 pandemic from March to May 2020. The study analysed Twitter data from posts by government officials and the public in South Africa to measure the public’s confidence in how the government was handling the pandemic. Results produced by four popular machine-learning classifiers for sentiment analysis— logistic regression (LR), support vector machine (SVM), random forest (RF), and extreme gradient boosting (XGBoost)—demonstrated these classifiers’ levels of effectiveness. In addition, the study used, and evaluated the effectiveness of, two topic-modelling algorithms—latent dirichlet allocation (LDA) and non-negative matrix factorisation (NMF)—in the classification of social media discourses in terms of frequently occurring topics. In terms of South African public sentiment towards COVID-19 and the government’s response, it was found that, based on the Twitter data, South Africans held predominantly negative views.
dc.description.submitterCA2023
dc.facultyFaculty of Humanities
dc.identifier.doihttps://doi.org/10.23962/ajic.i31.14834
dc.identifier.issnOnline: 2077-7213; print: 2077-7205
dc.identifier.urihttps://hdl.handle.net/10539/49985
dc.journal.titleThe African Journal of Information and Communication (AJIC)
dc.publisherLINK Centre, University of the Witwatersrand (Wits), Johannesburg
dc.schoolSchool of Literature, Language and Media
dc.subject.primarysdgSDG-3: Good health and well-being
dc.titleExploring COVID-19 public perceptions in South Africa through sentiment analysis and topic modelling of Twitter posts

Files

Original bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
AJIC-Issue-31-2023-Kekere-et-al.pdf
Size:
2.03 MB
Format:
Adobe Portable Document Format

License bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
license.txt
Size:
2.43 KB
Format:
Item-specific license agreed upon to submission
Description: