Skip to content

colin-sonarsource/python-spam-detector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spam Detector App

This is a simple Flask web application that detects spam messages based on predefined spam words. The application uses SQLite as the database to store spam messages and spam words.

Installation

Prerequisites

  • Python 3.x
  • pip (Python package installer)

Steps

  1. Clone the repository:
git clone https://github.com/fiveshotsofespresso/spam-detector-app.git
cd spam-detector-app
  1. Create a virtual environment (optional but recommended):
python3 -m venv venv
source venv/bin/activate  # On Windows use `venv\Scripts\activate`
  1. Install the required packages:
pip install -r requirements.txt
  1. Run the application:
python3 app.py
  1. Open your web browser and navigate to:
http://127.0.0.1:5000/

Usage

  • Enter a message in the input field and click "Check" to see if the message might be spam.
  • The application will display all spam messages and related spam messages based on the input.

About

No description, website, or topics provided.

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages