Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keysNCBI HomepageMyNCBI HomepageMain ContentMain Navigation
. 2021 Apr 1;13(2):329-339.
doi: 10.3390/idr13020032.

Sentimental Analysis of COVID-19 Tweets Using Deep Learning Models

Affiliations

Sentimental Analysis of COVID-19 Tweets Using Deep Learning Models

Nalini Chintalapudi et al. Infect Dis Rep..

Abstract

The novel coronavirus disease (COVID-19) is an ongoing pandemic with large global attention. However, spreading false news on social media sites like Twitter is creating unnecessary anxiety towards this disease. The motto behind this study is to analyses tweets by Indian netizens during the COVID-19 lockdown. The data included tweets collected on the dates between 23 March 2020 and 15 July 2020 and the text has been labelled as fear, sad, anger, and joy. Data analysis was conducted by Bidirectional Encoder Representations from Transformers (BERT) model, which is a new deep-learning model for text analysis and performance and was compared with three other models such as logistic regression (LR), support vector machines (SVM), and long-short term memory (LSTM). Accuracy for every sentiment was separately calculated. The BERT model produced 89% accuracy and the other three models produced 75%, 74.75%, and 65%, respectively. Each sentiment classification has accuracy ranging from 75.88-87.33% with a median accuracy of 79.34%, which is a relatively considerable value in text mining algorithms. Our findings present the high prevalence of keywords and associated terms among Indian tweets during COVID-19. Further, this work clarifies public opinion on pandemics and lead public health authorities for a better society.

Keywords: BERT; COVID-19; lockdown; sentimental analysis; word cloud.

PubMed Disclaimer

Conflict of interest statement

The authors declare no conflict of interest.

Figures

Figure 1
Figure 1
Tweets’ sentiment distribution.
Figure 2
Figure 2
Tweets’ token length outcome.
Figure 3
Figure 3
Word cloud of common words in Indian tweets.
Figure 4
Figure 4
Top 50 keywords that appeared in Indian tweets.

Similar articles

Cited by

References

    1. Chawla S., Mittal M., Chawla M., Goyal L. Corona Virus-SARS-CoV-2: An Insight to Another way of Natural Disaster. EAI Endorsed Trans. Pervasive Health Technol. 2020;6 doi: 10.4108/eai.28-5-2020.164823. - DOI
    1. Mertens G., Gerritsen L., Duijndam S., Salemink E., Engelhard I.M. Fear of the coronavirus (COVID-19): Predictors in an online study conducted in March 2020. J. Anxiety Disord. 2020;74:102258. doi: 10.1016/j.janxdis.2020.102258. - DOI - PMC - PubMed
    1. Socio-Economic Impact of COVID-19|UNDP. [(accessed on 15 October 2020)]; Available online: https://www.undp.org/content/undp/en/home/coronavirus/socio-economic-imp....
    1. Staszkiewicz P., Chomiak-Orsa I. Dynamics of the COVID-19 Contagion and Mortality: Country Factors, Social Media, and Market Response Evidence from a Global Panel Analysis. IEEE Access. 2020;8:106009–106022. doi: 10.1109/ACCESS.2020.2999614. - DOI
    1. Donthu N., Gustafsson A. Effects of COVID-19 on business and research. J. Bus. Res. 2020;117:284–289. doi: 10.1016/j.jbusres.2020.06.008. - DOI - PMC - PubMed

LinkOut - more resources

close