[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-detail-125704-en":3,"doc-seo-125704-105":30,"detail-sidebar-cat-0-en-105":91},{"code":4,"msg":5,"data":6},0,"success",{"doc_id":7,"user_id":8,"nickname":9,"user_avatar":10,"doc_module":4,"category_id":11,"category_name":12,"doc_title":13,"doc_description":14,"doc_content":15,"file_id":16,"file_url":17,"file_type":18,"file_size":19,"view_count":4,"is_deleted":4,"is_public":20,"is_downloadable":20,"audit_status":20,"page_count":21,"language":22,"language_code":23,"site_id":24,"html_lang":23,"table_of_contents":25,"faqs":26,"seo_title":27,"seo_description":14,"update_tm":28,"read_time":29},125704,16904993612988,"Olivia Brown","https://ap-avatar.wpscdn.com/davatar_a8503ba1806abce46bf441b54a3ca4cd",8,"Research & Report","Comparing Machine Learning and Deep Learning Techniques for Text Analytics - Detecting the Severity of Hate Comments Online","Social media platforms enable users to share views publicly, yet abusive and harassing comments increasingly undermine individuals’ wellbeing. This study introduces a novel approach to combat online harassment by detecting the severity of abusive comments on social platforms. It compares machine learning models (Naïve Bayes, Random Forest, Support Vector Machine) with deep learning models (CNN and Bi-LSTM), while examining the impact of text pre-processing. Features are built using unigrams and bigrams for machine learning and word embeddings for deep learning. Random Forest with bigrams achieves the best overall performance, supporting an efficient severity detection model for hate language online with theoretical and practical implications.","Information Systems Frontiers  \n[https://doi.org/10.1007/s10796-023-10446-x](https://doi.org/10.1007/s10796-023-10446-x)  \nComparing Machine Learning and Deep Learning Techniques for Text Analytics: Detecting the Severity of Hate Comments Online  \nAlaa Marshan1 · Farah Nasreen Mohamed Nizar2 · Athina Ioannou3 · Konstantina Spanaki4  \nAccepted: 1 November 2023 © The Author(s) 2023  \nAbstract  \nSocial media platforms have become an increasingly popular tool for individuals to share their thoughts and opinions with other people. However, very often people tend to misuse social media posting abusive comments. Abusive and harassing behaviours can have adverse effects on people's lives. This study takes a novel approach to combat harassment in online platforms by detecting the severity of abusive comments, that has not been investigated before. The study compares the performance of machine learning models such as Naïve Bayes, Random Forest, and Support Vector Machine, with deep learning models such as Convolutional Neural Network (CNN) and Bi-directional Long Short-Term Memory (Bi-LSTM) . Moreover, in this work we investigate the effect of text pre-processing on the performance of the machine and deep learning models, the feature set for the abusive comments was made using unigrams and bigrams for the machine learning models and word embeddings for the deep learning models. The comparison of the models’ performances showed that the Random Forest with bigrams achieved the best overall performance with an accuracy of (0.94), a precision of (0.91), a recall of (0.94), and an F1 score of (0.92) . The study develops an efficient model to detect severity of abusive language in online platforms, offering important implications both to theory and practice.  \nKeywords Machine learning · Deep learning · Hate speech · Social media · Text pre-processing · Text representation · Text analytics  \n1 Introduction  \nThe introduction of social media has significantly affected people’s lives, allowing them to publicly share their opinions and beliefs about various issues spanning areas such as politics, economics, health and social issues (Meske & Bunde, 2022) . As a result, social media has been deemed as one of the most prominent contributors to the freedom of speech principle (Putri et al., 2020). However, recently freedom of speech has been abused on many occasions, bringing negative consequences both to the individuals themselves  \n* Alaa Marshan[a.marshan@surrey.ac.uk](a.marshan@surrey.ac.uk)  \n1 Department of Computer Science, University of Surrey, Guildford, UK  \n2 Department of Computer Science, Brunel University, London, UK  \n3 Surrey Business School, University of Surrey, Guildford, UK  \n4 Audencia Business School, Nantes, France  \nas well as others who are being abused (Putri et al., 2020) . Formally defined as online harassment, online abuse refers to verbal and/or graphical abuse towards others on an online platform (Karatsalos & Panagiotakis, 2020) . Online harassment can adversely affect people's lives as people being targeted by others feel physical and mental suffering (Modha et al., 2020a) .  \nAccording to Matamoros-Fernández and Farkas,(2021, p. 205),‘sociality is continuously transformed by the interplay of humans and technology’. As such, social media platforms, although characterised as communication infrastructures that are quite open and decentralised, where users can widely share their opinions, participate, and develop new networks (e.g. , activism); they have also amplified several forms of abuse, such as digital hate speech, racism, and online discrimination (Kim et al. , 2022 ; Matamoros-Fernández & Farkas, 2021) . The spread of digital hate speech through social media has evidently contributed to the reshaping of“racist dynamics through their affordances, policies, algorithms and corporate decisions”(Matamoros-Fernández & Farkas, 2021, 206) .  \nEvidence from previous studies demonstrates the widespread reshaping of struct","cbCaigbAgHqaZW2t","https://ap.wps.com/l/cbCaigbAgHqaZW2t","pdf",2213533,1,19,"English","en",105,"# Introduction\n## Social media and online harassment\n## Importance of detecting online abuse\n## Dark sides of social media and hate speech research\n# Related Work\n## Prior approaches and limitations in harassment detection\n# Methodology\n## Compared machine learning and deep learning models\n## Text pre-processing and feature representation\n# Results\n## Performance comparison and best model selection\n# Discussion\n## Implications for theory and practice\n# Conclusion\n## Contributions and future research directions","[{\"question\":\"What problem does the study address on social media?\",\"answer\":\"The study targets misuse of social media through abusive and harassing comments, aiming to detect how severe such comments are.\"},{\"question\":\"Which models are compared for detecting severity of hate comments?\",\"answer\":\"It compares machine learning models—Naïve Bayes, Random Forest, and Support Vector Machine—with deep learning models including a Convolutional Neural Network (CNN) and Bi-directional Long Short-Term Memory (Bi-LSTM).\"},{\"question\":\"How do text pre-processing and features affect model performance?\",\"answer\":\"The study evaluates the effect of text pre-processing and uses unigrams and bigrams for machine learning, while deep learning relies on word embeddings for text representation.\"}]","Comparing Machine Learning and Deep Learning Techniques for Text Analytics - Detecting the Severity of Hate Comments Online | PDF",1785900746,48,{"code":4,"msg":31,"data":32},"ok",{"site_id":24,"language":23,"slug":33,"title":13,"keywords":34,"description":14,"schema_data":35,"social_meta":86,"head_meta":88,"extra_data":90,"updated_unix":28},"comparing-machine-learning-and-deep-learning-techniques-for-text-analytics-detecting-the-severity-of-hate-comments-online","",{"@graph":36,"@context":85},[37,54,68],{"@type":38,"itemListElement":39},"BreadcrumbList",[40,44,48,51],{"item":41,"name":42,"@type":43,"position":20},"https://docshare.wps.com","Home","ListItem",{"item":45,"name":46,"@type":43,"position":47},"https://docshare.wps.com/document/","Document",2,{"item":49,"name":12,"@type":43,"position":50},"https://docshare.wps.com/document/research-report/",3,{"item":52,"name":13,"@type":43,"position":53},"https://docshare.wps.com/document/comparing-machine-learning-and-deep-learning-techniques-for-text-analytics-detecting-the-severity-of-hate-comments-online/125704/",4,{"url":52,"name":13,"@type":55,"author":56,"headline":13,"publisher":58,"fileFormat":61,"inLanguage":23,"description":14,"dateModified":62,"datePublished":62,"encodingFormat":61,"isAccessibleForFree":63,"interactionStatistic":64},"DigitalDocument",{"name":9,"@type":57},"Person",{"url":41,"name":59,"@type":60},"DocShare","Organization","application/pdf","2026-08-05",true,{"@type":65,"interactionType":66,"userInteractionCount":4},"InteractionCounter",{"@type":67},"ViewAction",{"@type":69,"mainEntity":70},"FAQPage",[71,77,81],{"name":72,"@type":73,"acceptedAnswer":74},"What problem does the study address on social media?","Question",{"text":75,"@type":76},"The study targets misuse of social media through abusive and harassing comments, aiming to detect how severe such comments are.","Answer",{"name":78,"@type":73,"acceptedAnswer":79},"Which models are compared for detecting severity of hate comments?",{"text":80,"@type":76},"It compares machine learning models—Naïve Bayes, Random Forest, and Support Vector Machine—with deep learning models including a Convolutional Neural Network (CNN) and Bi-directional Long Short-Term Memory (Bi-LSTM).",{"name":82,"@type":73,"acceptedAnswer":83},"How do text pre-processing and features affect model performance?",{"text":84,"@type":76},"The study evaluates the effect of text pre-processing and uses unigrams and bigrams for machine learning, while deep learning relies on word embeddings for text representation.","https://schema.org",{"og:url":52,"og:type":87,"og:title":13,"og:site_name":59,"og:description":14},"article",{"robots":89,"canonical":52},"index,follow",{"doc_id":7,"site_id":24},{"code":4,"msg":5,"data":92},[93,97,101,105,110,115,120,123,128,131,135],{"id":20,"doc_module":4,"doc_module_name":46,"category_name":94,"show_sort_weight":95,"slug":96},"Story & Novel",90,"story-novel",{"id":47,"doc_module":4,"doc_module_name":46,"category_name":98,"show_sort_weight":99,"slug":100},"Literature",80,"literature",{"id":53,"doc_module":4,"doc_module_name":46,"category_name":102,"show_sort_weight":103,"slug":104},"Exam",70,"exam",{"id":106,"doc_module":4,"doc_module_name":46,"category_name":107,"show_sort_weight":108,"slug":109},5,"Comic",60,"comic",{"id":111,"doc_module":4,"doc_module_name":46,"category_name":112,"show_sort_weight":113,"slug":114},6,"Technology",50,"technology",{"id":116,"doc_module":4,"doc_module_name":46,"category_name":117,"show_sort_weight":118,"slug":119},7,"Healthcare",40,"healthcare",{"id":11,"doc_module":4,"doc_module_name":46,"category_name":12,"show_sort_weight":121,"slug":122},30,"research-report",{"id":124,"doc_module":4,"doc_module_name":46,"category_name":125,"show_sort_weight":126,"slug":127},9,"Religion & Spirituality",20,"religion-spirituality",{"id":126,"doc_module":4,"doc_module_name":46,"category_name":129,"show_sort_weight":126,"slug":130},"World Cup","world-cup",{"id":132,"doc_module":4,"doc_module_name":46,"category_name":133,"show_sort_weight":132,"slug":134},10,"Lifestyle","lifestyle",{"id":21,"doc_module":4,"doc_module_name":46,"category_name":136,"show_sort_weight":106,"slug":137},"General","general"]