vzhou842 / profanity-check

A fast, robust Python library to check for offensive language in strings.
https://pypi.org/project/profanity-check
MIT License
628 stars 117 forks source link

Replaces Sci Kit Learn with Joblib + SciPy (closes #11) #12

Closed iMerica closed 4 years ago

iMerica commented 4 years ago

SciKit learn is a very large dependency that was not being directly used in this package. I've removed it and added joblib for the pipelining (was previously used, but through a transitive dependency) and scipy, which is required to unpickle the models artifacts.

Summary of changes

iMerica commented 4 years ago

I'm not sure whats happening with the tests in Travis CI. They all pass locally.

=== 2 passed, 8 warnings in 0.96s ===

vzhou842 commented 4 years ago

merged #13 instead - thanks for the fix!