Araştırma Makalesi

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

Cilt: 10 Sayı: 3 30 Eylül 2023
PDF İndir
EN

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

Öz

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.

Anahtar Kelimeler

Destekleyen Kurum

Universitas Budi Luhur

Kaynakça

  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. [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. [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. [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. [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. [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. [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. [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.

Ayrıntılar

Birincil Dil

İngilizce

Konular

Mühendislik Uygulaması

Bölüm

Araştırma Makalesi

Yayımlanma Tarihi

30 Eylül 2023

Gönderilme Tarihi

10 Temmuz 2023

Kabul Tarihi

25 Eylül 2023

Yayımlandığı Sayı

Yıl 2023 Cilt: 10 Sayı: 3

Kaynak Göster

APA
Hadi Al Ghozali, I., Pirman, A., & Indra, I. (2023). Comparison of SVM and Naïve Bayes Algorithms with InNER enriched to Predict Hate Speech. El-Cezeri, 10(3), 600-611. https://doi.org/10.31202/ecjse.1325078
AMA
1.Hadi Al Ghozali I, Pirman A, Indra I. Comparison of SVM and Naïve Bayes Algorithms with InNER enriched to Predict Hate Speech. ECJSE. 2023;10(3):600-611. doi:10.31202/ecjse.1325078
Chicago
Hadi Al Ghozali, Isnen, Arif Pirman, ve Indra Indra. 2023. “Comparison of SVM and Naïve Bayes Algorithms with InNER enriched to Predict Hate Speech”. El-Cezeri 10 (3): 600-611. https://doi.org/10.31202/ecjse.1325078.
EndNote
Hadi Al Ghozali I, Pirman A, Indra I (01 Eylül 2023) Comparison of SVM and Naïve Bayes Algorithms with InNER enriched to Predict Hate Speech. El-Cezeri 10 3 600–611.
IEEE
[1]I. Hadi Al Ghozali, A. Pirman, ve I. Indra, “Comparison of SVM and Naïve Bayes Algorithms with InNER enriched to Predict Hate Speech”, ECJSE, c. 10, sy 3, ss. 600–611, Eyl. 2023, doi: 10.31202/ecjse.1325078.
ISNAD
Hadi Al Ghozali, Isnen - Pirman, Arif - Indra, Indra. “Comparison of SVM and Naïve Bayes Algorithms with InNER enriched to Predict Hate Speech”. El-Cezeri 10/3 (01 Eylül 2023): 600-611. https://doi.org/10.31202/ecjse.1325078.
JAMA
1.Hadi Al Ghozali I, Pirman A, Indra I. Comparison of SVM and Naïve Bayes Algorithms with InNER enriched to Predict Hate Speech. ECJSE. 2023;10:600–611.
MLA
Hadi Al Ghozali, Isnen, vd. “Comparison of SVM and Naïve Bayes Algorithms with InNER enriched to Predict Hate Speech”. El-Cezeri, c. 10, sy 3, Eylül 2023, ss. 600-11, doi:10.31202/ecjse.1325078.
Vancouver
1.Isnen Hadi Al Ghozali, Arif Pirman, Indra Indra. Comparison of SVM and Naïve Bayes Algorithms with InNER enriched to Predict Hate Speech. ECJSE. 01 Eylül 2023;10(3):600-11. doi:10.31202/ecjse.1325078