Classification Algorithm for the Sentiment Analysis of the Covid 19 Pandemic in Indonesia Context

Authors

  • Muhammad Independent Researcher, Ds Ngrono Rt 20, Rw05 Bangsal Mojokerto 61381 Jakarta, INDONESIA
  • Sharifah Saon Faculty of Electrical and Electronic Engineering, Universiti Tun Hussein Onn Malaysia, 86400 Parit Raja, Batu Pahat, Johor, MALAYSIA
  • Dr. Kadir Faculty of Electrical and Electronic Engineering, Universiti Tun Hussein Onn Malaysia, 86400 Parit Raja, Batu Pahat, Johor, MALAYSIA

Keywords:

Covid 19, twitter, Naïve Bayes algorithm, Sentiment analysis, Textblob

Abstract

The Covid-19 pandemic that is happening in Indonesia has had a significant impact both in terms of economy, education and health. Pros and cons related to the policies made by the government in tackling the impact of the spread of the virus produces a variety of sentiments in the community that is interesting to analyze. By taking sentiment data on Twitter, which extracted using Tweepy, then the tweets data are analyzed with Textblob library contained in Python. Naïve Bayes algorithm then, have been used to classify the tweets either in positive, negative or neutral sentiments. From the experiments conducted, the test results found that there were 60% positive sentiments, 15% negative sentiments and 25% neutral sentiments on economic topics. On the other hand, 70% positive sentiment, 3% negative sentiment and 27% neutral sentiment on the topic of health. Meanwhile, 10% positive sentiment, 50% negative sentiment and 40% neutral sentiment on the topic of education.

Downloads

Published

07-06-2022

How to Cite

Muhammad Shollahuddin Hamidulloh, Saon, S., & Mahamad, A. K. . (2022). Classification Algorithm for the Sentiment Analysis of the Covid 19 Pandemic in Indonesia Context. Evolution of Information, Communication and Computing System, 3(1), 66-79. https://publisher.uthm.edu.my/bookseries/index.php/eiccs/article/view/35