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 = f.read()
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.
Source Distribution
BounceClassifier-0.3.3.tar.gz
(3.7 kB
view hashes)
Built Distribution
Close
Hashes for BounceClassifier-0.3.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 26f9e75c276b9d057b4546bf18d0b843e84f8a6464d95ca6a64a1b377ecddd7b |
|
MD5 | b15b6d07e6000d6f5a0155698472ff0e |
|
BLAKE2b-256 | 1c9672e8aa7c7392b7e066e06f8efd742c09ee50a61a160fb21b2de32336f02a |