BounceClassifier-0.3.3
توضیحات
Classify email content by key-word mapping
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | BounceClassifier-0.3.3 |
| نام | BounceClassifier |
| نسخه کتابخانه | 0.3.3 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Zhang Wei |
| ایمیل نویسنده | zhangw1.2011@gmail.com |
| آدرس صفحه اصلی | https://github.com/Weizhang2017/Email-tools/tree/master/Bounce_classifier |
| آدرس اینترنتی | https://pypi.org/project/BounceClassifier/ |
| مجوز | - |
# Bounce Classification based on email text
### Sample usage:
```python
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()
```
نحوه نصب
نصب پکیج whl BounceClassifier-0.3.3:
pip install BounceClassifier-0.3.3.whl
نصب پکیج tar.gz BounceClassifier-0.3.3:
pip install BounceClassifier-0.3.3.tar.gz