Commenced in January 2007
Frequency: Monthly
Edition: International
Paper Count: 32231
Twitter Sentiment Analysis during the Lockdown on New Zealand

Authors: Smah Doeban Almotiri


One of the most common fields of natural language processing (NLP) is sentimental analysis. The inferred feeling in the text can be successfully mined for various events using sentiment analysis. Twitter is viewed as a reliable data point for sentimental analytics studies since people are using social media to receive and exchange different types of data on a broad scale during the COVID-19 epidemic. The processing of such data may aid in making critical decisions on how to keep the situation under control. The aim of this research is to look at how sentimental states differed in a single geographic region during the lockdown at two different times.1162 tweets were analyzed related to the COVID-19 pandemic lockdown using keywords hashtags (lockdown, COVID-19) for the first sample tweets were from March 23, 2020, until April 23, 2020, and the second sample for the following year was from March 1, 2021, until April 4, 2021. Natural language processing (NLP), which is a form of Artificial intelligent was used for this research to calculate the sentiment value of all of the tweets by using AFINN Lexicon sentiment analysis method. The findings revealed that the sentimental condition in both different times during the region's lockdown was positive in the samples of this study, which are unique to the specific geographical area of New Zealand. This research suggests applied machine learning sentimental method such as Crystal Feel and extended the size of the sample tweet by using multiple tweets over a longer period of time.

Keywords: sentiment analysis, Twitter analysis, lockdown, Covid-19, AFINN, NodeJS

Procedia APA BibTeX Chicago EndNote Harvard JSON MLA RIS XML ISO 690 PDF Downloads 330


[1] L. Chen, H. Lyu, T. Yang, Y. Wang, and J. Luo, “In the eyes of the beholder: Sentiment and topic analyses on social media use of neutral and controversial terms for COVID-19,” arXiv preprint arXiv:2004.10225, 2020.
[2] B. Liu, “Sentiment analysis and opinion mining,” Synthesis lectures on human language technologies, vol. 5, no. 1, pp. 1-167, 2012.
[3] J. Tatemura, "Virtual reviewers for collaborative exploration of movie reviews." pp. 272-275.
[4] H. Rosenberg, S. Syed, and S. Rezaie, “The Twitter pandemic: The critical role of Twitter in the dissemination of medical information and misinformation during the COVID-19 pandemic,” Canadian journal of emergency medicine, vol. 22, no. 4, pp. 418-421, 2020.
[5] M. E. Holford, K.-H. Cheung, M. Zheng, M. Krauthammer, T. King, and C. G. Chute, “Advances in Semantic Web,” Advances in Semantic Web, pp. 248, 2019.
[6] D. Sharma, M. Sabharwal, V. Goyal, and M. Vij, "Sentiment Analysis Techniques for Social Media Data: A Review." pp. 75-90.
[7] R. M. Merchant, and N. Lurie, “Social media and emergency preparedness in response to novel coronavirus,” Jama, vol. 323, no. 20, pp. 2011-2012, 2020.
[8] M. Iqbal, A. Karim, and F. Kamiran, “Bias-aware lexicon-based sentiment analysis,” in Proceedings of the 30th Annual ACM Symposium on Applied Computing, Salamanca, Spain, 2015, pp. 845–850.
[9] F. Å. Nielsen, “A new ANEW: Evaluation of a word list for sentiment analysis in microblogs,” arXiv preprint arXiv:1103.2903, 2011.
[10] S. Praveen, R. Ittamalla, and G. Deepak, “Analyzing Indian general public's perspective on anxiety, stress and trauma during COVID-19-A machine learning study of 840,000 tweets,” Diabetes & Metabolic Syndrome: Clinical Research & Reviews, 2021.
[11] J. Li, and E. Hovy, "Reflections on sentiment/opinion analysis," A practical guide to sentiment analysis, pp. 41-59: Springer, 2017.
[12] C. R. Machuca, C. Gallardo, and R. M. Toasa, "Twitter Sentiment Analysis on Coronavirus: Machine Learning Approach." p. 012104.
[13] K. H. Manguri, R. N. Ramadhan, and P. R. M. Amin, “Twitter sentiment analysis on worldwide COVID-19 outbreaks,” Kurdistan Journal of Applied Research, pp. 54-65, 2020.
[14] S. Boon-Itt, and Y. Skunkan, “Public perception of the COVID-19 pandemic on Twitter: sentiment analysis and topic modeling study,” JMIR Public Health and Surveillance, vol. 6, no. 4, pp. e21978, 2020.
[15] J. Xue, J. Chen, R. Hu, C. Chen, C. Zheng, Y. Su, and T. Zhu, “Twitter Discussions and Emotions About the COVID-19 Pandemic: Machine Learning Approach,” Journal of medical Internet research, vol. 22, no. 11, pp. e20550, 2020.
[16] M. O. Lwin, J. Lu, A. Sheldenkar, P. J. Schulz, W. Shin, R. Gupta, and Y. Yang, “Global sentiments surrounding the COVID-19 pandemic on Twitter: analysis of Twitter trends,” JMIR public health and surveillance, vol. 6, no. 2, pp. e19447, 2020.
[17] K. Chakraborty, S. Bhatia, S. Bhattacharyya, J. Platos, R. Bag, and A. E. Hassanien, “Sentiment Analysis of COVID-19 tweets by Deep Learning Classifiers—A study to show how popularity is affecting accuracy in social media,” Applied Soft Computing, vol. 97, pp. 106754, 2020.
[18] R. K. Gupta, A. Vishwanath, and Y. Yang, “COVID-19 Twitter dataset with latent topics, sentiments and emotions attributes,” arXiv preprint arXiv:2007.06954, 2020.
[19] S. Praveen, and R. Ittamalla, “An analysis of attitude of general public toward COVID-19 crises–sentimental analysis and a topic modeling study,” Information Discovery and Delivery, 2021.
[20] K. Garcia, and L. Berton, “Topic detection and sentiment analysis in Twitter content related to COVID-19 from Brazil and the USA,” Applied Soft Computing, vol. 101, pp. 107057, 2021.
[21] P. Gupta, S. Kumar, R. Suman, and V. Kumar, “Sentiment Analysis of Lockdown in India During COVID-19: A Case Study on Twitter,” IEEE Transactions on Computational Social Systems, 2020.
[22] A. S. Imran, S. M. Daudpota, Z. Kastrati, and R. Batra, “Cross-cultural polarity and emotion detection using sentiment analysis and deep learning on COVID-19 related tweets,” IEEE Access, vol. 8, pp. 181074-181090, 2020.
[23] N. Afroz, M. Boral, V. Sharma, and M. Gupta, "Sentiment Analysis of COVID-19 Nationwide Lockdown effect in India." pp. 561-567.
[24] A. Karami, and M. Anderson, “Social media and COVID‐19: Characterizing anti‐quarantine comments on Twitter,” Proceedings of the Association for Information Science and Technology, vol. 57, no. 1, pp. e349, 2020.
[25] L. He, C. He, T. L. Reynolds, Q. Bai, Y. Huang, C. Li, K. Zheng, and Y. Chen, “Why do people oppose mask wearing? A comprehensive analysis of US tweets during the COVID-19 pandemic,” 2021.
[26] E. Bonnevie, A. Gallegos-Jeffrey, J. Goldbarg, B. Byrd, and J. Smyser, “Quantifying the rise of vaccine opposition on Twitter during the COVID-19 pandemic,” Journal of Communication in Healthcare, pp. 1-8, 2020.
[27] A. Hussain, A. Tahir, Z. Hussain, Z. Sheikh, M. Gogate, K. Dashtipour, A. Ali, and A. Sheikh, “Artificial Intelligence–Enabled Analysis of Public Attitudes on Facebook and Twitter Toward COVID-19 Vaccines in the United Kingdom and the United States: Observational Study,” Journal of medical Internet research, vol. 23, no. 4, pp. e26627, 2021.
[28] V. Raghupathi, J. Ren, and W. Raghupathi, “Studying public perception about vaccination: A sentiment analysis of tweets,” International journal of environmental research and public health, vol. 17, no. 10, pp. 3464, 2020.
[29] M. Soleymani, D. Garcia, B. Jou, B. Schuller, S.-F. Chang, and M. Pantic, “A survey of multimodal sentiment analysis,” Image and Vision Computing, vol. 65, pp. 3-14, 2017.
[30] S. Singh, T. Chauhan, V. Wahi, and P. Meel, "Mining Tourists’ Opinions on Popular Indian Tourism Hotspots using Sentiment Analysis and Topic Modeling." pp. 1306-1313.
[31] R. Feldman, “Techniques and applications for sentiment analysis,” Communications of the ACM, vol. 56, no. 4, pp. 82-89, 2013.
[32] R. Gupta, A. Vishwanath, and Y. Yang, “Global Reactions to COVID-19 on Twitter: A Labelled Dataset with Latent Topic, Sentiment and Emotion Attributes,” 2021.
[33] M.-H. Tsai, and Y. Wang, “Analyzing Twitter Data to Evaluate the People’s Attitudes to Public Health Policies and Events in the Era of COVID-19,” 2020.
[34] Y. LeCun, Y. Bengio, and G. Hinton, “Deep learning,” nature, vol. 521, no. 7553, pp. 436-444, 2015.