- 17: Optimize string comparison, which increases performance and reduce memory usage. - 12: Update the default wordlist to support a lot more words, since 17 helps reduced the memory usage significantly.
0.6.1
- 10 Fix compatibility issue with Python 3.5 (and earlier) (Giovanni-Alzetta) - 11 Update wordlist and add modified spelling for `t`: `7`
0.6.0
- Add function `load_censor_words_from_file` to load a custom wordlist from a local text file. - Add a keyword argument `whitelist_words` to functions `load_censor_words` and `load_censor_words_from_file` to ignore adding words in a wordlist into `profanity`.
0.5.0
Add the capability to add to the word list rather than replace it. 8
0.4.0
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.*`.
0.3.4
Add significantly more swear words from [Full List of Bad Words and Top Swear Words Banned by Google](https://github.com/RobertJGabriel/Google-profanity-words).