Skip to content

Commit

Permalink
Update to version 0.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
snguyenthanh committed Nov 2, 2020
1 parent 5c297c0 commit a738ec7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
9 changes: 2 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Inspired from package [profanity](https://github.com/ben174/profanity) of [Ben F
It supports [modified spellings](https://en.wikipedia.org/wiki/Leet) (such as `p0rn`, `h4NDjob`, `handj0b` and `b*tCh`).

## Requirements
This package only works with `Python 3`.
This package works with `Python 3.4+` and `PyPy3`.

## Installation
```
Expand All @@ -27,11 +27,6 @@ Only Unicode characters from categories `Ll`, `Lu`, `Mc` and `Mn` are added. Mor

Not all languages are supported yet, such as *Chinese*.

## Wordlist
Most of the words in the default [wordlist](./better_profanity/profanity_wordlist.txt) are referred from [Full List of Bad Words and Top Swear Words Banned by Google](https://github.com/RobertJGabriel/Google-profanity-words).

The wordlist contains a total of __181,590 words__, including 320 words from the default [profanity_wordlist.txt](./better_profanity/profanity_wordlist.txt) and their variants by modified spellings.

## Usage

```
Expand Down Expand Up @@ -194,6 +189,6 @@ This project is licensed under the MIT License - see the [LICENSE.md](LICENSE.md

## Special thanks to
- [Andrew Grinevich](https://github.com/Derfirm) - Add support for Unicode characters.

- [Jaclyn Brockschmidt](https://github.com/jcbrockschmidt) - Optimize string comparison.
## Acknowledgments
- [Ben Friedland](https://github.com/ben174) - For the inspiring package [profanity](https://github.com/ben174/profanity).
2 changes: 1 addition & 1 deletion better_profanity/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
__all__ = ["name", "__version__", "profanity"]

name = "better_profanity"
__version__ = "0.6.1"
__version__ = "0.7.0"

profanity = Profanity()

0 comments on commit a738ec7

Please sign in to comment.