This project is designed to predict whether a given text in Nigerian Pidgin is a scam or a harmless message. It uses machine learning models to analyze the input text and provide a prediction.
app/
- Contains the main application code.app.py
- The main script to run the application.
models/
- Directory for storing machine learning models.data/
- Directory for storing datasets.requirements.txt
- A file listing all the dependencies required for the project.images/
- Directory for storing images.
-
Create a Virtual Environment
Open a terminal and navigate to the project root directory. Run the following command to create a virtual environment:
python -m venv venv
-
Activate the Virtual Environment
- On Windows:
.\venv\Scripts\activate
- On macOS and Linux:
source venv/bin/activate
- On Windows:
-
Install Dependencies
With the virtual environment activated, install the necessary dependencies:
pip install -r requirements.txt
To start the application, run the following command:
cd app
python app.py
Testing the result of the application, with instances of scam messages and not scam messages.