[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-seo-490097-105":3,"detail-sidebar-cat-0-en-105":81,"doc-detail-490097-en":130},{"code":4,"msg":5,"data":6},0,"ok",{"site_id":7,"language":8,"slug":9,"title":10,"keywords":11,"description":12,"schema_data":13,"social_meta":74,"head_meta":76,"extra_data":78,"updated_unix":80},105,"en","mind-your-language-abuse-and-offense-detection-for-code-switched-languages","Mind Your Language - Abuse and Offense Detection for Code-Switched Languages","","In multilingual societies like the Indian subcontinent, code-switched languages are widely used and convenient. This paper investigates offense and abuse detection for the Hinglish pair of Hindi and English, one of the most spoken language combinations. The task is challenging due to Hinglish’s non-fixed grammar, vocabulary, semantics, and spellings. Using transfer learning, the study builds an LSTM-based hate speech classifier, achieving state-of-the-art performance on Hinglish offensive text, and releases the model and trained embeddings.",{"@graph":14,"@context":73},[15,34,56],{"@type":16,"itemListElement":17},"BreadcrumbList",[18,23,27,31],{"item":19,"name":20,"@type":21,"position":22},"https://docshare.wps.com","Home","ListItem",1,{"item":24,"name":25,"@type":21,"position":26},"https://docshare.wps.com/document/","Document",2,{"item":28,"name":29,"@type":21,"position":30},"https://docshare.wps.com/document/research-report/","Research & Report",3,{"item":32,"name":10,"@type":21,"position":33},"https://docshare.wps.com/document/mind-your-language-abuse-and-offense-detection-for-code-switched-languages/490097/",4,{"url":32,"name":10,"@type":35,"image":36,"author":41,"headline":10,"publisher":44,"fileFormat":47,"inLanguage":8,"description":12,"dateModified":48,"datePublished":49,"encodingFormat":47,"isAccessibleForFree":50,"interactionStatistic":51},"DigitalDocument",{"url":37,"@type":38,"width":39,"height":40},"https://docshare.wps.com/thumbnails/mind-your-language-abuse-and-offense-detection-for-code-switched-languages/490097.png","ImageObject",300,407,{"name":42,"@type":43},"Bintang","Person",{"url":19,"name":45,"@type":46},"DocShare","Organization","application/pdf","2026-11-19","2026-10-01",true,{"@type":52,"interactionType":53,"userInteractionCount":55},"InteractionCounter",{"@type":54},"ViewAction",6,{"@type":57,"mainEntity":58},"FAQPage",[59,65,69],{"name":60,"@type":61,"acceptedAnswer":62},"Why is Hinglish offense and abuse detection difficult?","Question",{"text":63,"@type":64},"Hinglish has non-fixed grammar, vocabulary, semantics, and highly variable spellings because it mixes Hindi and English while using the Roman script.","Answer",{"name":66,"@type":61,"acceptedAnswer":67},"What approach does the paper use for hate speech classification?",{"text":68,"@type":64},"The paper applies transfer learning and builds an LSTM-based model to classify hateful, offensive, and abusive text in Hinglish.",{"name":70,"@type":61,"acceptedAnswer":71},"What data processing steps are used before training?",{"text":72,"@type":64},"Pre-processing removes punctuation, stopwords, URLs, numbers, and emoticons, then performs transliteration and word-level translation into English, while also adding common spelling variations and building a dictionary of word pairs.","https://schema.org",{"og:url":32,"og:type":75,"og:title":10,"og:site_name":45,"og:description":12},"article",{"robots":77,"canonical":32},"index,follow",{"doc_id":79,"site_id":7},490097,1793076286,{"code":4,"msg":82,"data":83},"success",[84,88,92,96,101,105,110,114,119,122,126],{"id":22,"doc_module":4,"doc_module_name":25,"category_name":85,"show_sort_weight":86,"slug":87},"Story & Novel",90,"story-novel",{"id":26,"doc_module":4,"doc_module_name":25,"category_name":89,"show_sort_weight":90,"slug":91},"Literature",80,"literature",{"id":33,"doc_module":4,"doc_module_name":25,"category_name":93,"show_sort_weight":94,"slug":95},"Exam",70,"exam",{"id":97,"doc_module":4,"doc_module_name":25,"category_name":98,"show_sort_weight":99,"slug":100},5,"Comic",60,"comic",{"id":55,"doc_module":4,"doc_module_name":25,"category_name":102,"show_sort_weight":103,"slug":104},"Technology",50,"technology",{"id":106,"doc_module":4,"doc_module_name":25,"category_name":107,"show_sort_weight":108,"slug":109},7,"Healthcare",40,"healthcare",{"id":111,"doc_module":4,"doc_module_name":25,"category_name":29,"show_sort_weight":112,"slug":113},8,30,"research-report",{"id":115,"doc_module":4,"doc_module_name":25,"category_name":116,"show_sort_weight":117,"slug":118},9,"Religion & Spirituality",20,"religion-spirituality",{"id":117,"doc_module":4,"doc_module_name":25,"category_name":120,"show_sort_weight":117,"slug":121},"World Cup","world-cup",{"id":123,"doc_module":4,"doc_module_name":25,"category_name":124,"show_sort_weight":123,"slug":125},10,"Lifestyle","lifestyle",{"id":127,"doc_module":4,"doc_module_name":25,"category_name":128,"show_sort_weight":97,"slug":129},19,"General","general",{"code":4,"msg":82,"data":131},{"doc_id":79,"user_id":132,"nickname":42,"user_avatar":133,"doc_module":4,"category_id":111,"category_name":29,"doc_title":10,"doc_description":12,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":55,"is_deleted":4,"is_public":22,"is_downloadable":22,"audit_status":22,"page_count":26,"language":139,"language_code":8,"site_id":7,"html_lang":8,"table_of_contents":140,"faqs":141,"seo_title":142,"seo_description":12,"update_tm":143,"read_time":97,"preview_page_count":26,"preview_urls":144},962085564381,"https://ap-avatar.wpscdn.com/davatar_6f874abed73319feea01a86fa6f0fab8","Mind Your Language: Abuse and Offense Detection for Code-Switched Languages  \nRaghav Kapoor  \nMIDAS Lab, NSIT-Delhi [raghavk.co@nsit.net.in](raghavk.co@nsit.net.in)  \nRajiv Ratn Shah  \nIIIT, Delhi  \n[rajivratn@iiitd.ac.in](rajivratn@iiitd.ac.in)  \nYaman Kumar  \nAdobe Systems [ykumar@adobe.com](ykumar@adobe.com)  \nPonnurangam Kumaraguru  \nIIIT, Delhi  \n[pk@iiitd.ac.in](pk@iiitd.ac.in)  \nKshitij Rajput  \nMIDAS Lab, NSIT-Delhi [kshitijr.co@nsit.net.in](kshitijr.co@nsit.net.in)  \nRoger Zimmermann  \nNUS, Singapore [rogerz@comp.nus.edu.sg](rogerz@comp.nus.edu.sg)  \narXiv : 1809 .08652v1 [ cs .CL] 23 Sep 2018  \nAbstract  \nIn multilingual societies like the Indian subcontinent, use of code-switched languages is much popular and convenient for the users. In this paper, we study offense and abuse detection in the code-switched pair of Hindi and English (i.e. Hinglish), the pair that is the most spoken. The task is made difﬁcult due to non-ﬁxed grammar, vocabulary, semantics and spellings of Hinglish language. We apply transfer learning and make a LSTM based model for hate speech classiﬁcation. This model surpasses the performance shown by the current best models to establish itself as the state-of-the-art in the unexplored domain of Hinglish offensive text classiﬁcation. We also release our model and the embeddings trained for research purposes.  \nIntroduction  \nWith the penetration of internet among masses, the content being posted on social media channels has uptaken. Specifically, in the Indian subcontinent, number of Internet users has crossed 500 mi 1 , and is rising rapidly due to inexpensive data2. With this rise, comes the problem of hate speech, offensive and abusive posts on social media. Although there are many previous works which deal with Hindi and English hate speech (the top two languages in India), but very few on the code-switched version (Hinglish) of the two (Mathur et al. 2018) . This is partially due to the following reasons:(i) Hinglish consists of no-ﬁxed grammar and vocabulary. It derives a part of its semantics from Devnagari and another part from the Roman script. (ii) Hinglish speech and written text consists of a concoction of words spoken in Hindi as well as English, but written in the Roman script. This makes the spellings variable and dependent on the writer of the text. Hence code-switched languages present tough challenges in terms of parsing and getting the meaning out of the text. For instance, the sentence, “Modiji foreign yatra par hai”, is in the Hinglish language. Somewhat correct translation of this would be,“Mr. Modi is on a foriegn tour”. However, even this translation has some ﬂaws due to no direct translation available for the word ji, which is used to show respect. Verbatim translation would lead to “Mr. Modi foreign tour on  \nCopyright 􀀍c 2019, Association for the Advancement of Artiﬁcial Intelligence ([www.aaai.org](www.aaai.org)). All rights reserved.  \n1 [https://bit.ly/2MCXz2Q](https://bit.ly/2MCXz2Q)  \n2 [https://bit.ly/2NUjOGh](https://bit.ly/2NUjOGh)  \n\n| Hinglish | English | Hinglish | English |\n| --- | --- | --- | --- |\n| acha\u003Cbr>s**la | good\u003Cbr>blo*dy | gunda\u003Cbr>ra*di | thug\u003Cbr>h*oker |\n\nTable 1: Examples of word-pairs in Hinglish-English dictionary  \nis”. Moreover, the word yatra here, can have phonetic variations, which would result in multiple spellings of the word as yatra, yaatra, yaatraa, etc. Also, the problem of hate speech has been rising in India, and according to the policies of the government and the various social networks, one is not allowed to misuse his right to speech to abuse some other community or religion. Due to the various difﬁculties associated with the Hinglish language, it is challenging to automatically detect and ban such kind of speech.  \nThus, with this in mind, we build a transfer learning based model for the code-switched language Hinglish, which outperforms the baseline model of (Mathur et al. 2018) . We also release the embeddings and the model tr","cbCaikP4DFWEvzto","https://ap.wps.com/l/cbCaikP4DFWEvzto","pdf",147891,"English","# Abstract\n# Introduction\n# Methodology\n## Pre-Processing\n## Training and Classification\n# Results and Evaluation\n## HEOT Dataset Accuracy Comparison\n## Model Illustration","[{\"question\":\"Why is Hinglish offense and abuse detection difficult?\",\"answer\":\"Hinglish has non-fixed grammar, vocabulary, semantics, and highly variable spellings because it mixes Hindi and English while using the Roman script.\"},{\"question\":\"What approach does the paper use for hate speech classification?\",\"answer\":\"The paper applies transfer learning and builds an LSTM-based model to classify hateful, offensive, and abusive text in Hinglish.\"},{\"question\":\"What data processing steps are used before training?\",\"answer\":\"Pre-processing removes punctuation, stopwords, URLs, numbers, and emoticons, then performs transliteration and word-level translation into English, while also adding common spelling variations and building a dictionary of word pairs.\"}]","Mind Your Language - Abuse and Offense Detection for Code-Switched Languages | PDF",1790832504,[145,149],{"page_no":22,"url":146,"width":147,"height":148},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/dab24aa04fc5bf02a3ab178a7448eabf.webp",983,1272,{"page_no":26,"url":150,"width":151,"height":152},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/d0e85e0110f2bfdfe380c2ea8cad1005.webp",982,1270]