ANALISIS SENTIMEN MASYARAKAT TERHADAP KEBIJAKAN PEMBERANTASAN JUDI ONLINE DI INDONESIA MENGGUNAKAN NATURAL LANGUAGE PROCESSING PADA MEDIA SOSIAL

Authors

  • Irwansyah Putera Sitorus
  • Muhammad Irfan Sarif
  • Nurlina Sari Harahap

DOI:

https://doi.org/10.54314/jssr.v9i2.6175

Keywords:

sentiment analysis, online gambling, natural language processing

Abstract

The rapid growth of online gambling in Indonesia has become a serious social problem, prompting the government to implement various eradication policies. This study aims to analyze public sentiment toward Indonesia's online gambling eradication policy using Natural Language Processing (NLP) techniques on social media data collected from YouTube. A total of 237 comments were gathered and processed through preprocessing stages including cleaning, normalization, stopword removal, and stemming using the Sastrawi library. Sentiment labeling was performed using a weighted lexicon-based approach with 600+ sentiment words. Classification was conducted using three models—Random Forest, Linear SVM, and Logistic Regression—with SMOTE applied for class balancing and 5-fold cross-validation for robustness evaluation. The best model, Linear SVM, achieved an accuracy of 97.92% and a CV score of 97.56%. Results showed that 57.4% of public sentiment was neutral, 28.3% positive, and 14.3% negative, indicating that the majority of the public responds to this issue informationally. This study demonstrates that NLP-based sentiment analysis is an effective tool for evaluating public perception of digital policy in Indonesia.

Downloads

Download data is not yet available.

References

Fahrudin, A., Satispi, E., Subardhini, M., et al. (2024). Online Gambling Addiction: Problems and Solutions for Policymakers and Stakeholders in Indonesia. Journal of Infrastructure, Policy and Development, 8(11). https://doi.org/10.24294/jipd.v8i11.9

Fawcett, T. (2006). An Introduction to ROC Analysis. Pattern Recognition Letters, 27(8),861–874.

Giachanou, A., & Crestani, F. (2016). Like It or Not: A Survey of Twitter Sentiment Analysis Methods. ACM Computing Surveys, 49(2).

Liu, B. (2020). Sentiment Analysis: Mining Opinions, Sentiments, and Emotions (2nd ed.). Cambridge University Press.

Nugroho, R., Santoso, I., & Rahayu, D. (2021). Analisis Sentimen Kebijakan Pemerintah Indonesia di Media Sosial: Studi Kasus Pandemi COVID-19. Jurnal Teknologi Informasi, 17(1), 12–25.

Perdana, R. B., et al. (2024). Detecting Online Gambling Promotions on Indonesian Twitter Using Text Mining Algorithm. International Journal of Advanced Computer Science and Applications, 15.

Pratama, A., & Santoso, B. (2023). Efektivitas Kebijakan Pemblokiran Situs Judi Online di Indonesia. Jurnal Kebijakan Publik, 14(2), 45–58.

Purnomo, H., & Wijaya, D. (2024). Skeptisisme Publik terhadap Kebijakan Pemberantasan Judi Online: Kajian Kualitatif. Jurnal Sosiologi Indonesia, 9(1), 33–48.

Rahmat, R., Lestari, S., & Putra, T. (2022). Sentiment Analysis of COVID-19 Policy Using Naive Bayes on Indonesian Twitter. Journal of Information Systems, 8(2), 101–115.

Sari, D., Nugraha, A., & Irawan, B. (2023). Public Sentiment on Tax Policy in Indonesia Using Support Vector Machine. Indonesian Journal of Computing, 5(1), 22–36.

Wahyudi, S., & Hasan, M. (2024). Media Sosial sebagai Ruang Ekspresi Publik dalam Isu Perjudian Online. Jurnal Komunikasi Indonesia, 12(3), 78–92.

Wilie, B., et al. (2020). IndoNLU: Benchmark and Resources for Evaluating Indonesian Natural Language Understanding. Proceedings of AACL-IJCNLP 2020, 843–857.

Padilah, S.; Afrioza, S.; Mursiah, M. (2024). Pengaruh penyuluhan platform judi online terhadap kesehatan mental remaja di Kelurahan Kalibaru Kab Tangerang. J. Ilmu Kesehat. Bhakti Husada Health Sci. J. 2024, 15, 414–422.

Downloads

Published

2026-05-08

Issue

Section

Artikel

How to Cite

ANALISIS SENTIMEN MASYARAKAT TERHADAP KEBIJAKAN PEMBERANTASAN JUDI ONLINE DI INDONESIA MENGGUNAKAN NATURAL LANGUAGE PROCESSING PADA MEDIA SOSIAL. (2026). JOURNAL OF SCIENCE AND SOCIAL RESEARCH, 9(2), 2291-2297. https://doi.org/10.54314/jssr.v9i2.6175