Skip to content

Files

Latest commit

1721f5b · Jun 18, 2021

History

History
18 lines (13 loc) · 852 Bytes

README.md

File metadata and controls

18 lines (13 loc) · 852 Bytes

CustomEmailSpamFilter

About:

  • This program was built by Zachary Fish, Jonathan Motechin, Isaac Richter and Alexander Shapiro for a school wide hackathon in May 2021
  • The group won third place champion

Introduction:

  • The program allows one to define which previously received emails are considered spam and which are not.
  • Once a specified number of emails are categorized, one may enter the subject line of an unseen email, and the program will define this new email as "spam" or "not spam."
  • The larger the number of categorized emails, the more accurate the filter.

Before running the program:

  • If the nltk package is not installed, run "pip install nltk" from terminal
  • In the Google Account settings, click on Security. By "Less secure app access," ensure access is turned on

Running the program:

  • Run "python main.py" from terminal