Published: 2024-12-01
Sentiment Analysis of Social Media X Users Towards Legislators Engaged in Online Gambling Using Naïve Bayes Algorithm
DOI: 10.35870/ijsecs.v4i3.3079
Vivi Nurmaylina, Yuma Akbar
- Vivi Nurmaylina: Sekolah Tinggi Ilmu Komputer Cipta Karya Informatika
- Yuma Akbar: Sekolah Tinggi Ilmu Komputer Cipta Karya Informatika
Abstract
This research analyzes public feelings toward legislative members participating in online gambling applying the Naïve bayes classification technique. The collected data were processed, labeled, cleaned, preprocessed, and classified using RapidMiner Studio software, while conducting the sentiment analysis according to a systematic approach from each of those steps described above, namely, data crawling, cleaning, preprocessing, and classification of the Twitter data. Sentiment distribution yielded 286 negative and 90 positive sentiments with a prediction accuracy of 73.10%. These findings illustrate an overwhelmingly negative public response to this behavior and the expectation society has for legislators as public figures.
Keywords
Sentiment Analysis ; Twitter ; Online Gambling ; Legislative Members ; Naïve Bayes ; RapidMiner
Article Metadata
Peer Review Process
This article has undergone a double-blind peer review process to ensure quality and impartiality.
Indexing Information
Discover where this journal is indexed at our indexing page to understand its reach and credibility.
Open Science Badges
This journal supports transparency in research and encourages authors to meet criteria for Open Science Badges by sharing data, materials, or preregistered studies.
How to Cite
Article Metrics
- Views0
- Downloads0
- Scopus Citations
- Google Scholar
- Crossref Citations
- Semantic Scholar
- DataCite Metrics
If the link doesn't work, copy the DOI or article title for manual search (API Maintenance).
Article Information
This article has been peer-reviewed and published in the International Journal Software Engineering and Computer Science (IJSECS). The content is available under the terms of the Creative Commons Attribution 4.0 International License.
-
Issue: Vol. 4 No. 3 (2024)
-
Section: Articles
-
Published: December 1, 2024
-
License: CC BY 4.0
-
Copyright: © 2024 Authors
-
DOI: 10.35870/ijsecs.v4i3.3079
AI Research Hub
This article is indexed and available through various AI-powered research tools and citation platforms. Our AI Research Hub ensures that scholarly work is discoverable, accessible, and easily integrated into the global research ecosystem. By leveraging artificial intelligence for indexing, recommendation, and citation analysis, we enhance the visibility and impact of published research.




Vivi Nurmaylina
Information Systems Study Program, Faculty of Computer Science, Sekolah Tinggi Ilmu Komputer Cipta Karya Informatika, East Jakarta City, Special Capital Region of Jakarta, Indonesia
-
Budiana, H. (2024). Public opinion dynamics on Twitter: A preliminary analysis of conversations related to the 2024 general election in Indonesia. Journal of Law and Sustainable Development, 12(1), e2132. https://doi.org/10.55908/sdgs.v12i1.2132
-
Passi, K., & Motisariya, J. (2022). Twitter sentiment analysis of the 2019 Indian election. In Proceedings of the 2022 International Conference on Data Science and Applications (pp. 805-814). https://doi.org/10.1007/978-981-16-3945-6_79
-
Pota, M., Esposito, M., Palomino, M., & Masala, G. (2018). A subword-based deep learning approach for sentiment analysis of political tweets. Proceedings of the 2018 World Congress on Artificial Intelligence (pp. 651-656). https://doi.org/10.1109/waina.2018.00162
-
Jennings, F., Bramlett, J., McKinney, M., & Hardy, M. (2020). Tweeting along partisan lines: Identity-motivated elaboration and presidential debates. Social Media + Society, 6(4). https://doi.org/10.1177/2056305120965518
-
Matuszewski, P., & Szabó, G. (2019). Are echo chambers based on partisanship? Twitter and political polarity in Poland and Hungary. Social Media + Society, 5(2). https://doi.org/10.1177/2056305119837671
-
Karami, A., & Elkouri, A. (2019). Political popularity analysis in social media. Proceedings of the 2019 International Conference on Computational Politics (pp. 456-465). https://doi.org/10.1007/978-3-030-15742-5_44
-
Peres-Neto, L. (2022). Journalist-twitterers as political influencers in Brazil: Narratives and disputes towards a new intermediary model. Media and Communication, 10(3), 28-38. https://doi.org/10.17645/mac.v10i3.5363
-
Bruns, A., & Nuernbergk, C. (2019). Political journalists and their social media audiences: New power relations. Media and Communication, 7(1), 198-212. https://doi.org/10.17645/mac.v7i1.1759
-
Siddha, A., & Wulandari, W. (2023). Deconstruction of Anies Baswedan’s political image on Twitter through the hashtag #aniesgabenerpembohong. JWP (Jurnal Wacana Politik), 8(1), 70. https://doi.org/10.24198/jwp.v8i1.45019
-
Schumacher, N., Maurer, P., & Nuernbergk, C. (2021). Towards new standards? Interaction patterns of German political journalists in the Twittersphere. The International Journal of Press/Politics, 28(1), 257-277. https://doi.org/10.1177/19401612211025502
-
Fino, E., Hanna-Khalil, B., & Griffiths, M. (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
-
Hing, N., Russell, A., Gainsbury, S., & Nuske, E. (2015). The public stigma of problem gambling: Its nature and relative intensity compared to other health conditions. Journal of Gambling Studies, 32(3), 847-864. https://doi.org/10.1007/s10899-015-9580-8

This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
Copyright and Licensing Agreement
Authors who publish with this journal agree to the following terms:
1. Copyright Retention and Open Access License
- Authors retain full copyright of their work
- Authors grant the journal right of first publication under the Creative Commons Attribution 4.0 International License (CC BY 4.0)
- This license allows unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited
2. Rights Granted Under CC BY 4.0
Under this license, readers 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, including commercial use
- No additional restrictions — the licensor cannot revoke these freedoms as long as license terms are followed
3. Attribution Requirements
All uses must include:
- Proper citation of the original work
- Link to the Creative Commons license
- Indication if changes were made to the original work
- No suggestion that the licensor endorses the user or their use
4. Additional Distribution Rights
Authors may:
- Deposit the published version in institutional repositories
- Share through academic social networks
- Include in books, monographs, or other publications
- Post on personal or institutional websites
Requirement: All additional distributions must maintain the CC BY 4.0 license and proper attribution.
5. Self-Archiving and Pre-Print Sharing
Authors are encouraged to:
- Share pre-prints and post-prints online
- Deposit in subject-specific repositories (e.g., arXiv, bioRxiv)
- Engage in scholarly communication throughout the publication process
6. Open Access Commitment
This journal provides immediate open access to all content, supporting the global exchange of knowledge without financial, legal, or technical barriers.