profanity-check
profanity-check copied to clipboard
A fast, robust Python library to check for offensive language in strings.
The library seems to be working more like a dictionary look up for swear words. For example, it can correctly tag "fucking idiot" as negative, but also tags "fucking awesome!"...
getting this error while running the test files ``` PS E:\xampp\htdocs\profanity-check\tests> python .\test_profanity_check.py Traceback (most recent call last): File ".\test_profanity_check.py", line 1, in from profanity_check import predict, predict_prob File "C:\Python27\lib\site-packages\profanity_check\__init__.py",...
Hey, I read your blogpost about `profanity-check`, so I've seen the code there.. but I'm wondering whether you have a file separately to that for training? And/or one for validation...
We have project version released Aug 23 2019 on pypi, whitch contain issue with import joblib. In reposithory this issue already fixed May 24 2020. Please update pypi version.
1. Reverse engineered training script 2. Updated versions of scikit-learn and included it in setup.py and requirements.txt 3. Retrained model with training data and updated version as in (2) 4....
Can you fix this bug It has this error: SystemExit: usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...] or: setup.py --help [cmd1 cmd2 ...] or: setup.py --help-commands or: setup.py cmd...
from profanity_check import predict Python 3.7.5 (default, Nov 7 2019, 10:50:52) [GCC 8.3.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>> from profanity_check import predict Traceback...
Just downloaded `profanity_check` with `pip install profanity-check`. And when importing `from profanity_check import predict` on Python I'm getting this error: ``` from . import __check_build # noqa: F401 ImportError: cannot...
The library is generating lot of warnings (text below). sklearn/utils/deprecation.py:144: FutureWarning: The sklearn.svm.classes module is deprecated in version 0.22 and will be removed in version 0.24. The corresponding classes /...
I tried to retrain using the train.py and exact the same train data file. but running the accuracy-test side by side between the model generated by sklearn 0.22 and the...