Sentiment analysis on covid-19-related social distancing in Canada using twitter data

Carol Shofiya, Samina Abidi

Résultat de recherche: Articleexamen par les pairs

59 Citations (Scopus)

Résumé

Background: COVID-19 preventive measures have been an obstacle to millions of people around the world, influencing not only their normal day-to-day activities but also affecting their mental health. Social distancing is one such preventive measure. People express their opinions freely through social media platforms like Twitter, which can be shared among other users. The articulated texts from Twitter can be analyzed to find the sentiments of the public concerning social distancing. Objective: To understand and analyze public sentiments towards social distancing as articulated in Twitter textual data. Methods: Twitter data specific to Canada and texts comprising social distancing keywords were extrapolated, followed by utilizing the SentiStrength tool to extricate sentiment polarity of tweet texts. Thereafter, the support vector machine (SVM) algorithm was employed for sentiment classification. Evaluation of performance was measured with a confusion matrix, precision, recall, and F1 measure. Results: This study resulted in the extraction of a total of 629 tweet texts, of which, 40% of tweets exhibited neutral sentiments, followed by 35% of tweets showed negative sentiments and only 25% of tweets expressed positive sentiments towards social distancing. The SVM algorithm was applied by dissecting the dataset into 80% training and 20% testing data. Performance evaluation resulted in an accuracy of 71%. Upon using tweet texts with only positive and negative sentiment polarity, the accuracy increased to 81%. It was observed that reducing test data by 10% increased the accuracy to 87%. Conclusion: Results showed that an increase in training data increased the performance of the algorithm.

Langue d'origineEnglish
Numéro d'article5993
JournalInternational Journal of Environmental Research and Public Health
Volume18
Numéro de publication11
DOI
Statut de publicationPublished - juin 1 2021

Note bibliographique

Publisher Copyright:
© 2021 by the authors. Licensee MDPI, Basel, Switzerland.

ASJC Scopus Subject Areas

  • Pollution
  • Public Health, Environmental and Occupational Health
  • Health, Toxicology and Mutagenesis

PubMed: MeSH publication types

  • Journal Article

Empreinte numérique

Plonger dans les sujets de recherche 'Sentiment analysis on covid-19-related social distancing in Canada using twitter data'. Ensemble, ils forment une empreinte numérique unique.

Citer