/Offensive-Text-Identification

Application of Machine Learning models to identify and classify offensive texts.

Primary LanguageJupyter Notebook

Offensive-Text-Identification

The main idea is to implement and compare the performances of the ML models that can be used to identify offensive texts and find the most suitable model to implement for a web application.

Dataset used: Offensive Language Identification Dataset (OLID)

Tools used:

  • Python
  • Flask
  • HTML and CSS
  • JavaScript

Models implemented:

  1. Naive Bayes Classification
    • Accuracy: 71%
    • Excecution time: 0.01s
  2. Long Short-term Memory (LSTM)
    • Accuracy: 75%
    • Execution time: 0.28s

Model used for the Web App: Naive Bayes

Outputs:

1

2

For further explanation about the project, you can read our research paper here