Facebook pixel tracking

The Science and Information (SAI) Organization publishes open-access peer-reviewed journals in computer science and artificial intelligence.

Contact Info
Website thesai.org
Follow Us
Contact Info
Follow Us
Research Article | Open Access |

Automatic Hate Speech Detection using Machine Learning: A Comparative Study

Author 1: Sindhu Abro Author 2: Sarang Shaikh Author 3: Zahid Hussain Khand Author 4: Zafar Ali Author 5: Sajid Khan Author 6: Ghulam Mujtaba
International Journal of Advanced Computer Science and Applications (IJACSA) · Vol. 11, No. 8 · Published 2020 · Cited by 132

DOI: 10.14569/IJACSA.2020.0110861

Abstract

The increasing use of social media and information sharing has given major benefits to humanity. However, this has also given rise to a variety of challenges including the spreading and sharing of hate speech messages. Thus, to solve this emerging issue in social media sites, recent studies employed a variety of feature engineering techniques and machine learning algorithms to automatically detect the hate speech messages on different datasets. However, to the best of our knowledge, there is no study to compare the variety of feature engineering techniques and machine learning algorithms to evaluate which feature engineering technique and machine learning algorithm outperform on a standard publicly available dataset. Hence, the aim of this paper is to compare the performance of three feature engineering techniques and eight machine learning algorithms to evaluate their performance on a publicly available dataset having three distinct classes. The experimental results showed that the bigram features when used with the support vector machine algorithm best performed with 79% off overall accuracy. Our study holds practical implication and can be used as a baseline study in the area of detecting automatic hate speech messages. Moreover, the output of different comparisons will be used as state-of-art techniques to compare future researches for existing automated text classification techniques.

Keywords

How to Cite this Article

Abro, S., Shaikh, S., Khand, Z. H., Ali, Z., Khan, S., & Mujtaba, G. (2020). Automatic Hate Speech Detection using Machine Learning: A Comparative Study. International Journal of Advanced Computer Science and Applications, 11(8). https://doi.org/10.14569/IJACSA.2020.0110861

Abro, Sindhu, et al.. "Automatic Hate Speech Detection using Machine Learning: A Comparative Study." International Journal of Advanced Computer Science and Applications, vol. 11, no. 8, 2020, https://doi.org/10.14569/IJACSA.2020.0110861.

@article{Abro2020,
  title     = {Automatic Hate Speech Detection using Machine Learning: A Comparative Study},
  journal   = {International Journal of Advanced Computer Science and Applications},
  volume    = {11},
  number    = {8},
  year      = {2020},
  publisher = {The Science and Information Organization},
  author    = {Sindhu Abro and Sarang Shaikh and Zahid Hussain Khand and Zafar Ali and Sajid Khan and Ghulam Mujtaba},
  doi       = {10.14569/IJACSA.2020.0110861},
  url       = {https://doi.org/10.14569/IJACSA.2020.0110861}
}

Open Access — licensed under a Creative Commons Attribution 4.0 International License. Unrestricted use, distribution, and reproduction in any medium, even commercially, as long as the original work is properly cited.

Call for Papers - Important Dates

Volume 17 No. 11, November 2026
Paper Submission Due October 25, 2026
Review Notification November 15, 2026
Publication Date November 30, 2026