GithubHelp home page GithubHelp logo

shkroyas / project_decentchat Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 100.08 MB

Python 92.41% PowerShell 0.02% Shell 0.01% C 1.29% Cython 5.20% C++ 0.54% Meson 0.05% Fortran 0.05% Forth 0.01% CSS 0.04% Roff 0.01% JavaScript 0.06% HTML 0.01% Jupyter Notebook 0.31%

project_decentchat's Introduction

Decent_Chat

Today, online communication is accessible to every person in the world, most popularly, in the form of textual messaging. With this advantage comes some challenges, online abuse and harrasement has prevailed in such communication. People often get hate speech, comments and face abuse in the digital world. This problem can be easily solved using Machine Learning and Natural Language Processing. So, for our semester project, we decided to develop an offensive language detection model integrated in a chat app named "Decent Chat." We have use Logistic Regression for binary classification of our messages, offensive and non-offensive. We have also made a reporting mechanism to report such offensive language detected using SMTP to the concerned authority. Here chat messages is our feature and offensiveness is our target.

Datasets

For training our model accurately, we have taken datasets from various sources of Kaggle. The data was further extracted on the excel sheet and converted into a csv file.

Libraries

pandas scikit-learn numpy flask_cors flask nltk contractions

API configuration

cd Api/

python -m venv myenv

source myenv/bin/activate

pip install numpy flask_cors scikit-learn nltk contractions flask

python api.py

Server-side Configuration

npm i nodemon nodemailer

npm start

Client-side Configuration

npm i react-scripts

npm start

Project Contributors

Ankit Kumar Karn

Kshitiz Khanal

Royas Shakya

Aditya Shrestha

project_decentchat's People

Contributors

shkroyas avatar ankit0581206 avatar adishrestha avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.