This program utilizes natural language processing (NLP) and machine learning techniques to detect and prevent cyberbullying in social media interactions. It provides a user-friendly interface where users can input messages, comments, or posts to check for potential cyberbullying content.
Before running the program, please ensure that you have Python installed on your system. If Python is not installed, you can download it from the official Python website: https://www.python.org/downloads/
Next, follow these steps to set up and run the program:
- Clone the repository to your local machine:
git clone https://github.com/decodethedev/cyberbullying-detection.git
- Navigate to the program's directory:
cd cyberbullying-detection-program
- Create a virtual environment (optional but recommended):
python -m venv venv
- Activate the virtual environment:
-
For Windows:
venv\Scripts\activate
- Install the required dependencies from the
requirements.txt
file:
pip install -r requirements.txt
To use the program, follow these steps:
-
Open a terminal in the program's directory. In Windows, you can do this by navigating to the program's folder, right-clicking, and selecting "Open PowerShell window here" or "Open Command Prompt here".
-
Activate the virtual environment (if you created one) by running the following command:
-
For Windows:
venv\Scripts\activate
- Run the program by executing the following command:
python main.py
-
The program will launch, presenting you with a user interface. Follow the on-screen instructions to input messages, comments, or posts to be checked for cyberbullying content.
-
The program will analyze the input and provide a response indicating whether the content contains potential cyberbullying. It will suggest appropriate actions to prevent cyberbullying and promote a safe online environment.
This project is licensed under the GNU GENERAL PUBLIC LICENSE