doi: 10.17706/jsw.21.2.45-77
Taming the Online Software Engineering Tongue: Detecting and Reducing Offensive Language in Software Communities
*Corresponding author. Email: Jithinraj85@gmail.com
Manuscript submitted April 15, 2026; accepted August 12, 2026; published September 28, 2026
Abstract—Online Software Engineering (SE) communities such as Stack Overflow have become unwelcoming and hostile spaces, as evidenced by the presence of rude and offensive comments that are detrimental to the emotional well-being of participants. The main objective of this work is to investigate the prevalence and nature of offensive language in online SE communities, and develop approaches to classify them with the ultimate goal of reducing offensive language by proposing an Offensive Language Reduction System
(OLRS-SE) that has the ability to detect, classify, and explain to the poster why a comment is offensive and also propose non-offensive alternative suggestions. Using data from 130,000 user comments on discussions held in four prominent SE platforms: Stack Overflow, GitHub, Gitter and Slack, we developed six sets of twelve (72 in total) different machine learning models (both traditional and deep learning). The F1-Score of the best performing models in the system ranges from 0.56 to 0.94, with an average F1-Score of 0.85, predominantly using Bidirectional Encoder Representations from Transformers (BERT) as the primary model for various classification tasks. Also, two language-based models were developed for paraphrasing offensive to non-offensive comments. The overall utility of the OLRS-SE was evaluated using user studies with 30 participants, which showed that the developed system is easy to use and also effective in reducing offensive language. Investigating the capabilities of different large language models for offensive language reduction is a promising avenue for future research.
Keywords—Online Software Engineering (SE) communities, offensive language, recommendation system
Cite: Jithin Cheriyan, Bastin Tony Roy Savarimuthu, and Stephen Cranefield, "Taming the Online Software Engineering Tongue: Detecting and Reducing Offensive Language in Software Communities," Journal of Software, vol. 21, no. 2, pp. 45-77, 2026.
Copyright @ 2025 by the authors. This is an open access article distributed under the Creative Commons Attribution License which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited (CC BY 4.0)
General Information
ISSN: 1796-217X (Online)
Abbreviated Title: J. Softw.
Frequency: Biannually
APC: 500USD
DOI: 10.17706/JSW
Editor-in-Chief: Prof. Antanas Verikas
Executive Editor: Ms. Cecilia Xie
Google Scholar, ProQuest,
INSPEC(IET), ULRICH's Periodicals
Directory, WorldCat, etcE-mail: editor@jsoftware.us
-
Aug 27, 2026 News!
Vol 21, No 1 has been published with online version
-
Mar 30, 2026 News!
Vol 20, No 2 has been published with online version [Click]
-
Apr 01, 2024 News!
Vol 14, No 4- Vol 14, No 12 has been indexed by IET-(Inspec) [Click]
-
Apr 01, 2024 News!
Papers published in JSW Vol 18, No 1- Vol 18, No 6 have been indexed by DBLP [Click]
-
Mar 07, 2025 News!
JSW had implemented online submission system [Click]
