
Smart detection of offensive words in social media using the soundex algorithm and permuterm index
Author(s) -
Malek Alksasbeh,
Bassam A. Y. Alqaralleh,
Tamer Abukhalil,
Anas Abukaraki,
Tawfiq Al Rawashdeh,
Moha’med Al-Jaafreh
Publication year - 2021
Publication title -
international journal of power electronics and drive systems/international journal of electrical and computer engineering
Language(s) - English
Resource type - Journals
eISSN - 2722-2578
pISSN - 2722-256X
DOI - 10.11591/ijece.v11i5.pp4431-4438
Subject(s) - offensive , computer science , social media , index (typography) , lexical analysis , word (group theory) , stop words , artificial intelligence , natural language processing , algorithm , mathematics , world wide web , operations research , geometry , preprocessor
Offensive posts in the social media that are inappropriate for a specific age, level of maturity, or impression are quite often destined more to unadult than adult participants. Nowadays, the growth in the number of the masked offensive words in the social media is one of the ethically challenging problems. Thus, there has been growing interest in development of methods that can automatically detect posts with such words. This study aimed at developing a method that can detect the masked offensive words in which partial alteration of the word may trick the conventional monitoring systems when being posted on social media. The proposed method progresses in a series of phases that can be broken down into a pre-processing phase, which includes filtering, tokenization, and stemming; offensive word extraction phase, which relies on using the soundex algorithm and permuterm index; and a post-processing phase that classifies the users’ posts in order to highlight the offensive content. Accordingly, the method detects the masked offensive words in the written text, thus forbidding certain types of offensive words from being published. Results of evaluation of performance of the proposed method indicate a 99% accuracy of detection of offensive words.