Analisis Sentimen Publik di Media Sosial X Terhadap Judi Online di Indonesia
DOI:
https://doi.org/10.32493/jtsi.v8i3.47282Keywords:
Analisis Sentimen, Crawling Data, Judi Online, SVM, VADERAbstract
This study analyzes public perceptions of online gambling through data obtained from the social media platform X (Twitter). A total of 5,846 tweets were collected using the Tweet-harvest tool, which leverages authentication tokens to efficiently gather large datasets. After the pre-processing stage, 4,782 relevant tweets were analyzed using the VADER (Valence Aware Dictionary and Sentiment Reasoner) method for sentiment labeling, categorizing tweets as either positive sentiment or negative sentiment. The sentiment labeling results revealed that 4,151 tweets (86.9%) contained negative sentiment, while 631 tweets (13.2%) contained positive sentiment. The labeled data were trained using a Support Vector Machine (SVM) model with a linear kernel, achieving an accuracy of 97%, with a negative sentiment precision of 97%, recall of 100%, and a positive sentiment precision of 99% with recall of 79%. The confusion matrix analysis demonstrated that the model correctly predicted 1,253 out of 1,255 negative sentiment tweets, while for positive sentiment, it accurately predicted 142 out of 180 tweets. These findings highlight the dominance of negative sentiment in public perceptions of online gambling, associated with potential social impacts such as addiction and economic losses. This research provides valuable insights and data-driven recommendations for policymakers to develop more responsive strategies to address the challenges of online gambling in Indonesia.
References
Abbott, M. W. (2020). The changing epidemiology of gambling disorder and gambling-related harm: public health implications. Public Health, 184(May), 41–45. https://doi.org/10.1016/j.puhe.2020.04.003
Anggraeni, W. A., Fahru Roji, F., & Alkautsar, M. (2023). Analisis SentimentPublik terhadap Kebijakan Insentif Perpajakan Dengan Pendekatan VADER (Valence Aware Dictionary and Sentiment Reasoner). Jurnal Proaksi, 10(4), 465–477. https://doi.org/10.32534/jpk.v10i4.4732
Arsi, P., & Waluyo, R. (2021). Analisis SentimentWacana Pemindahan Ibu Kota Indonesia Menggunakan Algoritma Support Vector Machine (SVM). Jurnal Teknologi Informasi Dan Ilmu Komputer, 8(1), 147. https://doi.org/10.25126/jtiik.0813944
Bang Fiu. (2024). Gawat! Jumlah Fantastis Usia Anak Main Judi Online. Https://Www.Ppatk.Go.Id/News/Read/1373/Gawat-Jumlah-Fantastis-Usia-Anak-Main-Judi-Online.Html. https://www.ppatk.go.id/news/read/1373/gawat-jumlah-fantastis-usia-anak-main-judi-online.html
Damayunita, A., Fuadi, R. S., & Juliane, C. (2022). Comparative Analysis of Naive Bayes, K-Nearest Neighbors (KNN), and Support Vector Machine (SVM) Algorithms for Classification of Heart Disease Patients. Jurnal Online Informatika, 7(2), 219–225. https://doi.org/10.15575/join.v7i2.919
Fino, E., Hanna-Khalil, B., & Griffiths, M. D. (2021). Exploring the public’s perception of gambling addiction on Twitter during the COVID-19 pandemic: Topic modelling and sentiment analysis. Journal of Addictive Diseases, 39(4), 489–503. https://doi.org/10.1080/10550887.2021.1897064
Gusdiana, R., Alfian, I., & Juliane, C. (2023). Implementation of Text Processing for Sentiment Analysis of Tax Payment Interest After the “Rubicon” Phenomenon. Jurnal Teknik Informatika (Jutif), 4(5), 1157–1164. https://doi.org/10.52436/1.jutif.2023.4.5.1014
Hand, D. J., Christen, P., & Kirielle, N. (2021). F*: an interpretable transformation of the F-measure. Machine Learning, 110(3), 451–456. https://doi.org/10.1007/s10994-021-05964-1
Hutto, C. J., & Gilbert, E. (2014). VADER: A Parsimonious Rule-based Model for. Eighth International AAAI Conference on Weblogs and Social Media, 216–225. https://ojs.aaai.org/index.php/ICWSM/article/view/14550
Ihsanudin, R., Dewi, D., & Adriansyah, M. (2023). Maraknya Judi Online Di Kalangan Remaja Kelurahan Derwati Kecamatan Rancasari Kota Bandung. Jurnal Cerdik: Jurnal Pendidikan Dan Pengajaran, 3(1), 73–87. https://doi.org/10.21776/ub.jcerdik.2023.003.01.08
Iliceto, P., Fino, E., Schiavella, M., & Candilera, G. (2020). Individual differences in interpersonal security predict suicidal ideation and problem gambling. Personality and Individual Differences, 162(January), 110031. https://doi.org/10.1016/j.paid.2020.110031
Maharani, W., & Effendy, V. (2022). Big five personality prediction based in Indonesian tweets using machine learning methods. International Journal of Electrical and Computer Engineering, 12(2), 1973–1981. https://doi.org/10.11591/ijece.v12i2.pp1973-1981
Muhammad Rizky Aditia Nugraha, & Setiawan, D. A. (2023). Penegakan Hukum Tindak Pidana Perjudian Online di Kabupaten Tasikmalaya Dihubungkan dengan Undang-Undang Nomor 19 Tahun 2016 Tentang Perubahan Atas Undang-Undang Nomor 11 Tahun 2008 Tentang Informasi dan Transaksi Elektronik. Bandung Conference Series: Law Studies, 3(1), 81–86. https://doi.org/10.29313/bcsls.v3i1.4916
Nadia Riso, A. R. (2024). Menko Polhukam: 3,2 Juta Orang Main Judi Online, Transaksi di Bawah Rp 100 Ribu. KumparanNEWS. https://kumparan.com/kumparannews/menko-polhukam-3-2-juta-orang-main-judi-online-transaksi-di-bawah-rp-100-ribu-22bWXfkWAga
Ramadani, N. C., Tahyudin, I., & Shouni Barkah, A. (2024). Perbandingan Algoritma Support Vector Machine, Decision Tree, dan Logistic Regresion Pada Analisis SentimentUlasan Aplikasi Netflix. Jurnal Nasional Teknologi Dan Sistem Informasi, 10(2), 110–117. https://teknosi.fti.unand.ac.id/index.php/teknosi/article/view/2746
Savitri, N. L. P. C., Rahman, R. A., Venyutzky, R., & Rakhmawati, N. A. (2021). Analisis Klasifikasi SentimentTerhadap Sekolah Daring pada Twitter Menggunakan Supervised Machine Learning. Jurnal Teknik Informatika Dan Sistem Informasi, 7(1), 47–58. https://doi.org/10.28932/jutisi.v7i1.3216
Siti Aisah, I., Irawan, B., & Suprapti, T. (2024). Algoritma Support Vector Machine (Svm) Untuk Analisis SentimentUlasan Aplikasi Al Qur’an Digital. JATI (Jurnal Mahasiswa Teknik Informatika), 7(6), 3759–3765. https://doi.org/10.36040/jati.v7i6.8263
Sosial, J., Di, B., & Pertanahan, K. (2023). Jurnal widya bhumi. 3(2), 113–136.
Downloads
Published
How to Cite
Issue
Section
License
Copyright (c) 2025 Rd Muhammad Sopian Putra Pratama, Christina Juliane

This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.
Authors who publish with this journal agree to the following terms:
- Authors retain copyright and grant the journal right of first publication with the work simultaneously licensed under a Creative Commons Attribution License that allows others to share the work with an acknowledgement of the work's authorship and initial publication in this journal.
- Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgement of its initial publication in this journal.
- Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) prior to and during the submission process, as it can lead to productive exchanges, as well as earlier and greater citation of published work (See The Effect of Open Access).
Jurnal Teknologi Sistem Informasi dan Aplikasi have CC BY-NC or an equivalent license as the optimal license for the publication, distribution, use, and reuse of scholarly work.
In developing strategy and setting priorities, Jurnal Teknologi Sistem Informasi dan Aplikasi recognize that free access is better than priced access, libre access is better than free access, and libre under CC BY-NC or the equivalent is better than libre under more restrictive open licenses. We should achieve what we can when we can. We should not delay achieving free in order to achieve libre, and we should not stop with free when we can achieve libre.
This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International (CC BY-NC 4.0) License
YOU ARE FREE TO:
- Share - copy and redistribute the material in any medium or format
- Adapt - remix, transform, and build upon the material for any purpose, even commercially.
- The licensor cannot revoke these freedoms as long as you follow the license terms









