Your new experience awaits. Try the new design now and help us make it even better

ORIGINAL RESEARCH article

Front. Public Health

Sec. Digital Public Health

Volume 13 - 2025 | doi: 10.3389/fpubh.2025.1609931

This article is part of the Research TopicLeveraging Information Systems and Artificial Intelligence for Public Health AdvancementsView all 13 articles

Context-based Sentiment Analysis using BiGRU-DistilBERT Fusion Model: A case study of COVID-19 tweets World-wide

Provisionally accepted
  • 1Jaypee University of Engineering and Technology, Raghogarh-Vijaypur, India
  • 2Babasaheb Bhimrao Ambedkar University, Lucknow, Uttar Pradesh, India

The final, formatted version of the article will be published soon.

Social media activity skyrocketed worldwide as a result of the COVID-19 pandemic, with sites like Twitter emerging as important forums for public discourse. Context-based sentiment analysis of 7,665,119 COVID-19-related tweets gathered from January 24 to April 21, 2020, in eight countries – the United States, China, Iran, Italy, Spain, Australia, England, and Canada – focusing on English-language tweets – is the main focus of this study. By utilizing sophisticated natural language processing methods, the research records the emotions that underlie these discussions, incorporating contextual data to differentiate between emotions like anxiety, hope, and annoyance. We examine how public perception changed in response to important events such as lockdowns, vaccine rollouts, and policy changes by tracking sentiment dynamics over time and across different pandemic phases. Our method improves sentiment classification accuracy by using machine learning algorithms and linguistic features designed for short texts. Additionally, the study shows changing public sentiments, including fear and optimism, across the eight countries by linking Google Trends and Twitter data to COVID-19 events. Policymakers can better understand social sentiment dynamics during health crises and respond to them with greater effectiveness thanks to the findings, which offer insightful information about public attitudes. Performance metrics are used to validate the suggested approach, which is implemented in Python 3.8.3, and it shows better results than the current approaches.

Keywords: COVID-19, sentiment analysis, Social media analytics, Contextual NLP, Twitter data

Received: 11 Apr 2025; Accepted: 20 Oct 2025.

Copyright: © 2025 Sharma, Pandey and Kumar. This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) or licensor are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.

* Correspondence: Utkarsh Sharma, utkarsh_shar@yahoo.co.in

Disclaimer: All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article or claim that may be made by its manufacturer is not guaranteed or endorsed by the publisher.