Skip to content

This repository stores web projects that are intended to find out whether a text is cyberbullying or not. This project is built by Python and Flask Framework.

Notifications You must be signed in to change notification settings

alifoxpro/CyberbullyingDetection

 
 

Repository files navigation

Cyberbullying Detection

This project contains web project that used for detecting wheter a text is cyberbullying or not. This project is built as a part of research conducted to detect cyberbullying texts. The algorithm used to construct this project is Long Short-Term Memory as a classification algorithm and Fasttext as word embedding. Programming language and web framework that is used to build this project is Python and Flask. This project contains detection model and Fasttext model for 100 and 300 Fasttext embedding size. 100 Fasttext embedding size can be chosen for device that has low memory while 300 Fasttext embedding size can be chosen for higher memory. Result for 300 Fasttext embedding size should give better result than the 100 embedding size. Nevertheless, the result of the 300 embedding size still not good because the score given in machine learning metric (precision, recall, and f-measure) is 72%, 69%, and 70%.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

What things you need to install the software

  • Anaconda - To run python project, and to store python library
  • Keras and Tensorflow - To run classification
  • Gensim library - To run Fasttext word embedding

Notes: Version can be seen on the Built With section

Installing

  1. Git clone this project (https://github.com/jasonKristanto/CyberbullyingDetection.git)
  2. Run the Anaconda Prompt which has been installed
  3. Go to the directory that contains the project
  4. Run the command
python app.py
  1. Wait until URL link 127.0.0.1/5000 showed up on the Anaconda Prompt. If the web page doesn't showed up automatically, you can go to the URL link on your web browser
  2. Detect your text!
  3. You can detect a text on the form on the left, or some texts that are stored in CSV file on the form on the right
  4. The result can be seen on the table below the form

Authors

Built With

Acknowledgments

About

This repository stores web projects that are intended to find out whether a text is cyberbullying or not. This project is built by Python and Flask Framework.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 94.9%
  • HTML 2.6%
  • Python 2.5%