Sentiment Analysis of Social Media Towards Public Services Using Naive Bayes and Text Mining

Authors

  • Rusmin Saragih STMIK Kaputama Author
  • Mardiah Universitas Nahdlatul Ulama Sumatera Utara Author
  • Deni Apriadi STMIK Bina Nusantara Jaya Lubuklinggau Author

DOI:

https://doi.org/10.64803/jocsaic.v1i2.18

Keywords:

Sentiment Analysis, Social Media, Public Services, Naive Bayes, Minería de textos

Abstract

The rapid development of information and communication technology has driven the increased use of social media as a means of interaction between the public and service providers. Social media has become a platform for the public to express their opinions on the quality of services they receive, whether in the form of praise, suggestions, or complaints. Therefore, sentiment analysis of social media data can be a strategic tool in evaluating the performance of public services. This research aims to analyze public sentiment towards public services by utilizing text mining techniques and the Naive Bayes Classifier algorithm. The data used was collected from social media platforms such as Twitter and Facebook, followed by a text preprocessing stage that included tokenizing, stopword removal, and stemming. Subsequently, the data was analyzed to classify sentiment into positive, negative, and neutral categories. The test results show that the Naive Bayes algorithm is capable of classifying data with a satisfactory level of accuracy, making it an efficient method for monitoring public perception in real-time. This research contributes to supporting decision-making by government agencies regarding the improvement of public service quality based on publicly available feedback from social media

Downloads

Download data is not yet available.

References

[1] A. M. A. Ausat, “The role of social media in shaping public opinion and its influence on economic decisions,” Technol. Soc. Perspect., vol. 1, no. 1, pp. 35–44, 2023.

[2] V. Mabillard, R. Zumofen, and M. Pasquier, “Local governments’ communication on social media platforms: Refining and assessing patterns of adoption in Belgium,” Int. Rev. Adm. Sci., vol. 90, no. 1, pp. 65–81, 2024.

[3] D. Hertati, “Improving the Quality of Public Services through Innovation of Online Complaints Based on the Wargaku Application,” J. La Soc., vol. 4, no. 3, pp. 97–102, 2023.

[4] M. Hasanuddin, “Journal of Computer Science Artificial Intelligence Optimization of Computer Network Performance Using Heuristic Algorithms,” vol. 1, no. 1, pp. 12–17, 2024.

[5] C. K. Sanders and E. Scanlon, “The digital divide is a human rights issue: Advancing social inclusion through social work advocacy,” J. Hum. rights Soc. Work, vol. 6, no. 2, pp. 130–143, 2021.

[6] T. Felício, A. Samagaio, and R. Rodrigues, “Adoption of management control systems and performance in public sector organizations,” J. Bus. Res., vol. 124, pp. 593–602, 2021.

[7] P. Vassilakopoulou, A. Haug, L. M. Salvesen, and I. O. Pappas, “Developing human/AI interactions for chat-based customer services: lessons learned from the Norwegian government,” Eur. J. Inf. Syst., vol. 32, no. 1, pp. 10–22, 2023.

[8] N. K. Marutlulle, “A critical analysis of housing inadequacy in South Africa and its ramifications,” Africa’s Public Serv. Deliv. Perform. Rev., vol. 9, no. 1, p. 372, 2021.

[9] A. S. George and T. Baskar, “Leveraging big data and sentiment analysis for actionable insights: A review of data mining approaches for social media,” Partners Univers. Int. Innov. J., vol. 2, no. 4, pp. 39–59, 2024.

[10] F. Mehraliyev, I. C. C. Chan, and A. P. Kirilenko, “Sentiment analysis in hospitality and tourism: a thematic and methodological review,” Int. J. Contemp. Hosp. Manag., vol. 34, no. 1, pp. 46–77, 2022.

[11] J. C. Lyu and G. K. Luli, “Understanding the public discussion about the Centers for Disease Control and Prevention during the COVID-19 pandemic using Twitter data: Text mining analysis study,” J. Med. Internet Res., vol. 23, no. 2, p. e25108, 2021.

[12] W. B. Zulfikar, A. R. Atmadja, and S. F. Pratama, “Sentiment analysis on social media against public policy using multinomial naive bayes,” Sci. J. Informatics, vol. 10, no. 1, pp. 25–34, 2023.

[13] S. Khodijah, C. A. Rizki, and M. Hasanuddin, “Journal of Computer Science Artificial Intelligence,” vol. 1, no. 1, pp. 1–6, 2024.

[14] M. H. Shahidzadeh and S. Shokouhyar, “Shedding light on the reverse logistics’ decision-making: a social-media analytics study of the electronics industry in developing vs developed countries,” Int. J. Sustain. Eng., vol. 15, no. 1, pp. 161–176, 2022.

[15] M. Hasanuddin, B. E. Susanto, S. Ginting, and F. Rizaldi, “Analisis Minat Siswa Kelas 1 SMK Pada Ekstrakulikuler Sepak Bola Dengan Metode Technology Acceptance Model,” vol. 4, no. 1, pp. 52–58, 2025.

Downloads

Published

2024-11-30

How to Cite

Sentiment Analysis of Social Media Towards Public Services Using Naive Bayes and Text Mining. (2024). Journal of Computer Science Artificial Intelligence and Communications, 1(2), 30-34. https://doi.org/10.64803/jocsaic.v1i2.18

Similar Articles

1-10 of 12

You may also start an advanced similarity search for this article.