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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file BounceClassifier-0.3.3.tar.gz.
File metadata
- Download URL: BounceClassifier-0.3.3.tar.gz
- Upload date:
- Size: 3.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.18.4 setuptools/41.0.1 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
96a2eb0c4d4998ebbb0bc9a4ffb876c928872602d35df753d24e88e32744df59
|
|
| MD5 |
234ffe971c58ac918dc7ad91493c1363
|
|
| BLAKE2b-256 |
14bf076fd739a3b810cb8ffb7b930eb4b0f3bbfb2a324ba5130d452ef99ce1a2
|
File details
Details for the file BounceClassifier-0.3.3-py3-none-any.whl.
File metadata
- Download URL: BounceClassifier-0.3.3-py3-none-any.whl
- Upload date:
- Size: 7.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.18.4 setuptools/41.0.1 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
26f9e75c276b9d057b4546bf18d0b843e84f8a6464d95ca6a64a1b377ecddd7b
|
|
| MD5 |
b15b6d07e6000d6f5a0155698472ff0e
|
|
| BLAKE2b-256 |
1c9672e8aa7c7392b7e066e06f8efd742c09ee50a61a160fb21b2de32336f02a
|