EZprofanity-0.0.5
توضیحات
Easily check for profane and innapropriate words quickly.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | EZprofanity-0.0.5 |
| نام | EZprofanity |
| نسخه کتابخانه | 0.0.5 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Victor wolmarans |
| ایمیل نویسنده | - |
| آدرس صفحه اصلی | - |
| آدرس اینترنتی | https://pypi.org/project/EZprofanity/ |
| مجوز | - |
# EZprofanity
Quickly detect profane, innapropriate and disgusting language!
Example:
```
from ezprofanity import check
text = "I shit a lot."
if check(text):
for i in check(text):
print(f"You said {i}! That is profane!")
>> You said shit! That is profane!
```
Try and edit the text to include multiple swear words to test it out if you want.
EZprofanity can also detect multiple variants of a word like:
sh1t
sh i t
etc...
You may also include other words:
```
from ezprofanity import check
text = "censoredword"
if check(text,include=["censoredword"]):
print("Profane!")
>>> Profane!
```
If you want to exclude something, you can also do that:
```
from ezprofanity import check
text = "Sh1t"
if check(text,exclude=["shit"]):
print("Profane!")
else:
print("OK!")
>>> OK!
```
نحوه نصب
نصب پکیج whl EZprofanity-0.0.5:
pip install EZprofanity-0.0.5.whl
نصب پکیج tar.gz EZprofanity-0.0.5:
pip install EZprofanity-0.0.5.tar.gz