Detection of offensive terms in resource-poor language using machine learning algorithms

Author:

Raza Muhammad Owais1,Mahoto Naeem Ahmed1,Hamdi Mohammed2,Reshan Mana Saleh Al3,Rajab Adel2,Shaikh Asadullah3

Affiliation:

1. Department of Software Engineering, Mehran University of Engineering and Technology Jamshoro, Jamshoro, Pakistan

2. Department of Computer Science, Najran University, Najran, Najran, Saudi Arabia

3. Department of Information Systems, Najran University, Najran, Najran, Saudi Arabia

Abstract

The use of offensive terms in user-generated content on different social media platforms is one of the major concerns for these platforms. The offensive terms have a negative impact on individuals, which may lead towards the degradation of societal and civilized manners. The immense amount of content generated at a higher speed makes it humanly impossible to categorise and detect offensive terms. Besides, it is an open challenge for natural language processing (NLP) to detect such terminologies automatically. Substantial efforts are made for high-resource languages such as English. However, it becomes more challenging when dealing with resource-poor languages such as Urdu. Because of the lack of standard datasets and pre-processing tools for automatic offensive terms detection. This paper introduces a combinatorial pre-processing approach in developing a classification model for cross-platform (Twitter and YouTube) use. The approach uses datasets from two different platforms (Twitter and YouTube) the training and testing the model, which is trained to apply decision tree, random forest and naive Bayes algorithms. The proposed combinatorial pre-processing approach is applied to check how machine learning models behave with different combinations of standard pre-processing techniques for low-resource language in the cross-platform setting. The experimental results represent the effectiveness of the machine learning model over different subsets of traditional pre-processing approaches in building a classification model for automatic offensive terms detection for a low resource language, i.e., Urdu, in the cross-platform scenario. In the experiments, when dataset D1 is used for training and D2 is applied for testing, the pre-processing approach named Stopword removal produced better results with an accuracy of 83.27%. Whilst, in this case, when dataset D2 is used for training and D1 is applied for testing, stopword removal and punctuation removal were observed as a better preprocessing approach with an accuracy of 74.54%. The combinatorial approach proposed in this paper outperformed the benchmark for the considered datasets using classical as well as ensemble machine learning with an accuracy of 82.9% and 97.2% for dataset D1 and D2, respectively.

Funder

The Deanship of Scientific Research at Najran University

The Research Groups Funding program at Najran University, Kingdom of Saudi Arabia

Publisher

PeerJ

Subject

General Computer Science

Reference33 articles.

1. Deep learning for detecting cyberbullying across multiple social media platforms;Agrawal,2018

2. Automatic detection of offensive language for Urdu and Roman Urdu;Akhter;IEEE Access,2020

3. Abusive language detection from social media comments using conventional machine learning and deep learning approaches;Akhter;Multimedia Systems,2021

4. Towards accurate detection of offensive language in online communication in Arabic;Alakrot;Procedia Computer Science,2018

5. Hate speech detection on Twitter using transfer learning;Ali;Computer Speech & Language,2022

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3