Analysis of Hate Speech Againts Gojek Drivers using the Naïve Bayes Algorithm on the Facebook Platform
DOI:
https://doi.org/10.59934/jaiea.v5i3.1747Keywords:
Sentiment, Hate Speech, Facebook, Gojek, Naïve Bayes, MultinomialNBAbstract
Social media has become a space where many individuals express their opinions freely, including negative comments that may lead to hate speech. One group often targeted by such speech is Gojek drivers. This study aims to classify user comments on Facebook into two sentiment categories: positive and negative, with a primary focus on negative comments. The data was collected from public Facebook posts using the APIFY scraping tool. After the data was gathered, several preprocessing stages were carried out, including case folding, cleaning, tokenization, normalization, stopword removal, and stemming. The text data was then converted into numerical form using CountVectorizer. The classification algorithm used in this research is Naive Bayes with the MultinomialNB model, as the input data consists of word frequency. The results of the model evaluation show that this algorithm performs well in classifying negative comments, especially in identifying word patterns that commonly appear in hate speech directed toward Gojek drivers.
Downloads
References
I. S. Arfan, S. Fauziah, and I. Nawangsih, “Analisis Sentimen Terhadap Cyber Bullying di X Menggunakan Algoritma Naïve Bayes: Sentiment Analyst of Cyber Bullying in X Using Naïve Bayes Algorithm,” MALCOM Indones. J. Mach. Learn. Comput. Sci., vol. 4, no. 4, pp. 1411–1419, 2024.
C. F. Hasri and D. Alita, “Penerapan Metode Naïve Bayes Classifier Dan Support Vector Machine Pada Analisis Sentimen Terhadap Dampak Virus Corona Di Twitter,” J. Inform. dan rekayasa perangkat lunak, vol. 3, no. 2, pp. 145–160, 2022.
O. Belghaouti, W. Handouzi, and M. Tabaa, “Improved traffic sign recognition using deep convnet architecture,” Procedia Comput. Sci., vol. 177, pp. 468–473, 2020, doi: 10.1016/j.procs.2020.10.064.
Sawitri, S., Simanjuntak, M., & Pardede, A. M. H. (2024). Application of Naive Bayes Method to Diagnose FMD Disease in Goats. Journal of Mathematics and Technology (MATECH), 3(2), 140-148.
Lestari, S. A. M., Pardede, A. M., & Simanjuntak, M. (2024). Prediksi Disleksia pada Anak menggunakan Metode Naive Bayes. Jurnal Kajian dan Penelitian Umum, 2(5), 37-51.
BOYKE, G. M., AKIM, M. H. P., & RUSMIN, S. (2024). DIAGNOSA PENYAKIT PARU-PARU DENGAN METODE NAIVE BAYES. SATURNUS: JURNAL TEKNOLOGI DAN SISTEM INFORMASI Учредители: Asosiasi Riset Ilmu Manajemen dan Bisnis Indonesia, 2(4), 268-276.
Downloads
Published
How to Cite
Issue
Section
License
Copyright (c) 2026 Journal of Artificial Intelligence and Engineering Applications (JAIEA)

This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.








