Skip to main content

Classify email content by key-word mapping

Project description

Bounce Classification based on email text

Sample usage:

with open('sample.txt','r') as f:
	email_text =
bc = Bounce_classifier(email_text)
# if the email text contains a diagonostic code, use diagonostic_code()
dia_code, classification = bc.diagonostic_code()
# if the email text does not contains a diagonostic code, use no_diagonostic_code()
classification = bc.no_diagonostic_code()

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for BounceClassifier, version 0.3.3
Filename, size File type Python version Upload date Hashes
Filename, size BounceClassifier-0.3.3-py3-none-any.whl (7.7 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size BounceClassifier-0.3.3.tar.gz (3.7 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page