Inspiration

There exists many scenarios and situations where people are abusing each other in many shapes and forms, but one of the most prevalent forms is in verbal abuse. Hate Speech is referred to the concept of using vulgar language and discriminatory terms to invoke pain in another's mood, gain power and more. There exists a need for an automated solution to this problem, and that will be our web application.

What it does

Our web app receives a text input, classified each sentence of the body of text with a natural language processing model in categories of "hate speech", "offensive language", and "neutral". The results are displayed in a table format under the text box. Each sentence has a color code associated with it to graphically display its degree of hate.

How we built it

Using Django web framework and coding in python, we developed a web GUI that allows a user to input any size of tex, and once the data is processed, our GUI displays the results of each phrase in a friendly, colour coded table with numerical ranks and an overall "Hate" rank. To quantify the degree of hate in each separate body of text (sentences), we used the pre-trained NLP model sourced from "Automated Hate Speech Detection and the Problem of Offensive Language" research paper in 2017.

Challenges we ran into

GUI and state implementations on the front end were very difficult as we had no prior experience in Django. There were multiple instances where we were stuck for hours trying to fix a state in the program.

Accomplishments that we're proud of

We were able to integrate ML with a web app to solve a real world problem of significance.

What's next for Verbal Abuse Detector

The verbal abuse detector could be extended to finding similar problems in videos and audios with a speech to text model.

Share this project:

Updates