A Comprehensive Analysis of Hate Speech Detection and Recognition Utilising Advanced Machine Learning Algorithms and Techniques
Praveen Kumar Mannepalli, Saurabh Sharma, Neha Rajput, Sanjay Kalamdhad
Abstract
Social networking sites have come into demand as a way of sharing ideas and opinions with other people. But unfortunately, people tend to misuse social media to write nasty comments. Victims' lives might be negatively impacted by behaviours that are abusive and humiliating. Social networks give people a great tool to share information on ideas on multiple topics and opinions. However, these platforms are often abused to announce toxic and offensive comments, which eventually negatively affect victims and demographics. This study offers a thorough method for identifying hate speech (HS) on social media by utilising cutting-edge ML algorithms. A publicly available Twitter dataset containing 159,571 tweets classified into six categories, including toxic and identity hatred, was utilised. The methodology comprises data collection, conditioning, and categorisation that employs BiLSTM, which is particularly appropriate for the tasks demanding contextual sensitivity. These operations include symbol removing, stemming and stop-word eliminating, feature extraction using TF-IDF, and using the Bag-of-Words model. For classification of the data between hate and non-hate, the dataset is then split into training and testing datasets and the BiLSTM model used to provide classifications for the text. The evaluation of the BiLSTM model demonstrates superior performance, achieving an accuracy86%, a precision90%, a recall86%, and an F1-score88% • A comparison between the model and other models such as SVM and CNN reveals the strength of the BiLSTM in contextual classification tasks. The results demonstrate that BiLSTM can tackle problems with hate speech detection, providing a strong answer to the problem of harmful content on social media and helping to make the internet a better place for everyone.