Blazingly fast cleaning swear words (and their leetspeak) in strings
t
: 7
load_censor_words_from_file
to load a custom wordlist from a local text file.whitelist_words
to functions load_censor_words
and load_censor_words_from_file
to ignore adding words in a wordlist into profanity
.Add the capability to add to the word list rather than replace it. #8
Using type hinting is a good engineering practice, but the goal is to support the community and not to limit their usage to Python >=3.5
.
So let's remove the type hinting to enable the library for Python 3.*
.
Add significantly more swear words from Full List of Bad Words and Top Swear Words Banned by Google.
Fix an incompatibility problem with Python 3.5
Fix a typo in documentation
&
and ^
from word dividers.