Skip to main content

Classification of Abusive Comments Using Various Machine Learning Algorithms

  • Conference paper
  • First Online:
Book cover Cognitive Informatics and Soft Computing

Part of the book series: Advances in Intelligent Systems and Computing ((AISC,volume 1040))

Abstract

In the past decade, we have seen an increasing surge in the popularity of social networking sites, with Twitter and Facebook being some of the most popular ones. These sites allow you to share your expressions and views. However, as of now, there is no particular restriction applied by them to control the kind of content that is being uploaded. These uploaded contents may have obnoxious words, explicit images which may be unsuitable for social platforms. There is no predefined method for restricting unpleasant texts from publishing on social sites. To solve this problem, we propose a method that can aid human moderators as well as work independently. In this approach, logistic regression, multinomial Naïve Bayes, and random forest techniques are used to extract features like term frequency–inverse document frequency features, text features, and frequency features of the comments, respectively, to obtain a weak prediction model. Gradient boosting is applied to this model to obtain the final prediction model. We also applied a neural network using bidirectional long short-term memory and compared the accuracy rate of the two models. We believe that these models can help human moderators on various online platforms to filter out abusive comments.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 169.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 219.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  1. Balci, K., Salah, A.A.: Automatic analysis and identification of verbal aggression and abusive behaviors for online social games. Comput. Human Behav. 53, 517–526 (2015)

    Article  Google Scholar 

  2. Chavan, V.S., Shylaja, S.S.: Machine learning approach for detection of cyber-aggressive comments by peers on social media network. In: International Conference on Advances in Computing, Communications and Informatics, pp. 2354–2358 (2015)

    Google Scholar 

  3. Djuric, N., Zhou, J., Morris, R., Grbovic, M., Radosavljevic, V., Bhamidipati, N.: Hate speech detection with comment embeddings. In: 24th International Conference on WWW ’15, vol. 9, pp. 29–30 (2015)

    Google Scholar 

  4. Yadav, S.H., Manwatkar, P.M.: An approach for offensive text detection and prevention in social networks. In: International Conference on Innovations in Information, Embedded and Communication Systems, pp. 1–4 (2015)

    Google Scholar 

  5. Al-garadi, M.A., Varathan, K.D., Ravana, S.D.: Cybercrime detection in online communications: the experimental case of cyberbullying detection in the twitter network. Comput. Human Behav. 63, 433–443 (2016)

    Article  Google Scholar 

  6. Wulczyn, E., Thain, N., Dixon, L.: Ex machina: personal attacks seen at scale. In: Proceedings of 26th International Conference on World Wide Web—WWW ’17, pp. 1391–1399 (2016)

    Google Scholar 

  7. Nobata, C., Tetreault, J., Thomas, A., Mehdad, Y., Chang, Y.: Abusive language detection in online user content. In: 25th International Conference on World Wide Web—WWW ’16, pp. 145–153 (2016)

    Google Scholar 

  8. Chatzakou, D., Kourtellis, N., Blackburn, J., De Cristofaro, E., Stringhini, G., Vakali, A.: Mean birds: detecting aggression and bullying on twitter. In: Proceedings of ACM Web Science Conference—WebSci ’17, pp. 13–22 (2017)

    Google Scholar 

  9. Park, J.H., Fung, P.: One-step and two-step classification for abusive language detection on twitter. In: Proceedings of First Workshop on Abusive Language, pp. 41–45 (2017)

    Google Scholar 

  10. Bourgonje, P., Moreno-Schneider, J., Srivastava, A., Rehm, G.: Automatic classification of abusive language and personal attacks in various forms of online communication. In: LNAI, vol. 10713, pp. 180–191 (2018)

    Google Scholar 

  11. Yadav, S.H., Manwatkar, P.M.: An approach for offensive text detection and prevention in social networks. ICIIECS, pp. 1–4 (2015)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to C. P. Chandrika .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2020 Springer Nature Singapore Pte Ltd.

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Chandrika, C.P., Kallimani, J.S. (2020). Classification of Abusive Comments Using Various Machine Learning Algorithms. In: Mallick, P., Balas, V., Bhoi, A., Chae, GS. (eds) Cognitive Informatics and Soft Computing. Advances in Intelligent Systems and Computing, vol 1040. Springer, Singapore. https://doi.org/10.1007/978-981-15-1451-7_28

Download citation

Publish with us

Policies and ethics