A Basic Spam Classifier for LINUX 64-bit system
Python C++ Shell
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitattributes
.gitignore
README.md
classify
classify.cpp
clean_dict
clean_dict.cpp
download_mail
download_mail.py
extract_words
extract_words.cpp
init.sh
nonspam_dict.txt
sc.sh
spam_dict.txt

README.md

SPCF-Spam_Classifier

A Basic Spam Classifier for LINUX 64-bit system

The application is designed to be controlled by terminal..
This application takes the Gmail username and password and then downloads all the mails of a particular Gmail folder as desired by the user and then classifies the mails as Spam or Not-Spam based on the dictionaries it has.
The dictionaries are made dynamic in V-2.0.0. So, now the dictionaries get automatically updated when new mails are processed..
Also here you can find other details about the application..

Requisites

  • Internet Connection
  • IMAP enabled on Gmail
  • 64-bit LINUX version
  • Python 2.7

Installation

Download all the files from here and then run the init.sh file folder from terminal, i.e, sh init.sh
It is recommended to download all the files in a separate folder so that other files don't get affected by the program.

Functions

For now, the application does the following :
  • Download all the mails of a single Gmail folder into a clean arrangement in the local system
  • Run programs to create two folders for Spam mails and Non-Spam mails and copy respective mails to the folders

Technology Used

  • The application is made using Python-2.7.9, C++ and Shell scripting

Testing

The program has been tested on Ubuntu 14.04 Trusty

Usage

This is a video showing how to use V-2.0.0