Journals / El-Cezeri / 2023 / Cilt: 10 Sayı: 3

Comparison of SVM and Naïve Bayes Algorithms with InNER enriched to Predict Hate Speech

Journal
El-Cezeri
Pages
600–611
Publication Date
2023-09-30
DOI
—
🏛️Bibliographic metadata and full text access for this article are provided via DergiPark.
DergiPark Record ↗
✨

AI Summary & Key Takeaways

AI Insight
⚡ TL;DR(Too Long; Didn't Read)

This model shows an accuracy score of 92.88% with a precision of 0.93, a recall of 0.93, and an F-1 score of 0.92.

📌 3 Key Takeaways

🎯
Objective & Hypothesis:Hate speech is one of the negative sides of social media abuse.
📊
Key Findings & Data:In this study, we have collected 7100 tweets as an initial dataset.
💡
Conclusion & Impact:This model shows an accuracy score of 92.88% with a precision of 0.93, a recall of 0.93, and an F-1 score of 0.92.
🔬Design:Modeling & Simulation
📍Scope:Comprehensive Sample
⚙️Variables:SVM · Naive Bayes · NER

Abstract

Hate speech is one of the negative sides of social media abuse. Hate speech can be classified into insults, defamation, unpleasant acts, provoking, inciting, and spreading fake news (hoax). The purpose of this study is to compare the SVM and Naïve Bayes methods with feature extraction in the form of Indonesian NER (InNER) for detecting hate speech. To obtain the best model, this study applies five steps: a) data collection; b) data preprocessing; c) feature engineering; d) model development; and e) evaluating and comparing models. In this study, we have collected 7100 tweets as an initial dataset. After manual annotation, this study produced 1681 tweets: 548 insult tweets, 288 blasphemy tweets, 272 provocative tweets, and 573 neutral tweets. This study use two Python libraries that accommodate NER in Indonesian, namely the NLTK library and the Polyglot library. Based on the results of the evaluation of the proposed model, model 5, which develops the SVM algorithm with the NLTK library, is the best model proposed. This model shows an accuracy score of 92.88% with a precision of 0.93, a recall of 0.93, and an F-1 score of 0.92.

🔖

Cite This Article

GHOZALİ, I. H. A., PİRMAN, A., INDRA, I. (2023). Comparison of SVM and Naïve Bayes Algorithms with InNER enriched to Predict Hate Speech. El-Cezeri, Cilt: 10 Sayı: 3, 600–611. https://ajindex.com/articles/966096

📄 Full Text PDF Viewer

📄

PDF görüntüleyici hazırlanıyor...

References (1)

  1. . J. Govers, P. Feldman, A. Dant, and P. Patros, “Down the Rabbit Hole: Detecting Online Extremism, Radicalisation, and Politicised Hate Speech,” ACM Comput. Surv., p. 3583067, Feb. 2023, doi: 10.1145/3583067. [2]. D. Khurana, A. Koli, K. Khatter, and S. Singh, “Natural language processing: state of the art, current trends and challenges,” Multimed. Tools Appl., vol. 82, no. 3, pp. 3713-3744, Jan. 2023, doi: 10.1007/s11042-022-13428-4. [3]. A. Shvets, P. Fortuna, J. Soler, and L. Wanner, “Targets and Aspects in Social Media Hate Speech,” in Proceedings of the 5th Workshop on Online Abuse and Harms (WOAH 2021), Online: Association for Computational Linguistics, Aug. 2021, pp. 179-190. doi: 10.18653/v1/2021.woah-1.19. [4]. S. S. Pandey, I. Chhabra, R. Garg, and S. Sahu, “Hate Speech Detection,” Int. J. Adv. Eng. Manag. IJAEM, vol. 5, no. 4, pp. 897–903, 2023, doi: 10.35629/5252-0504897903. [5]. S. S. Roy, A. Roy, P. Samui, M. Gandomi, and A. H. Gandomi, “Hateful Sentiment Detection in Real-Time Tweets: An LSTM-Based Comparative Approach,” IEEE Trans. Comput. Soc. Syst., pp. 1-10, 2023, doi: 10.1109/TCSS.2023.3260217. [6]. S. Abarna, J. I. Sheeba, S. Jayasrilakshmi, and S. P. Devaneyan, “Identification of cyber harassment and intention of target users on social media platforms,” Eng. Appl. Artif. Intell., vol. 115, p. 105283, Oct. 2022, doi: 10.1016/j.engappai.2022.105283. [7]. H. Faris, I. Aljarah, M. Habib, and P. Castillo, “Hate Speech Detection using Word Embedding and Deep Learning in the Arabic Language Context:,” in Proceedings of the 9th International Conference on Pattern Recognition Applications and Methods, Valletta, Malta: SCITEPRESS - Science and Technology Publications, 2020, pp. 453-460. doi: 10.5220/0008954004530460. [8]. J. Patihullah and E. Winarko, “Hate Speech Detection for Indonesia Tweets Using Word Embedding And Gated Recurrent Unit,” IJCCS Indones. J. Comput. Cybern. Syst., vol. 13, no. 1, p. 43, Jan. 2019, doi: 10.22146/ijccs.40125. [9]. O. Oriola and E. Kotze, “Evaluating Machine Learning Techniques for Detecting Offensive and Hate Speech in South African Tweets,” IEEE Access, vol. 8, pp. 21496-21509, 2020, doi: 10.1109/ACCESS.2020.2968173. [10]. A. M. U. D. Khanday, S. T. Rabani, Q. R. Khan, and S. H. Malik, “Detecting twitter hate speech in COVID-19 era using machine learning and ensemble learning techniques,” Int. J. Inf. Manag. Data Insights, vol. 2, no. 2, p. 100120, Nov. 2022, doi: 10.1016/j.jjimei.2022.100120. [11]. S. E. V