diff options
| author | Scott Gasch <[email protected]> | 2022-02-06 15:12:38 -0800 |
|---|---|---|
| committer | Scott Gasch <[email protected]> | 2022-02-06 15:12:38 -0800 |
| commit | 309ddadb402e09bf09bc38ca455dcaef7e08619e (patch) | |
| tree | 7ef680211863b83a6e258df4b4430563b67e6070 | |
| parent | b22b39493c5b6c747b16e9430f3833bb8869cef6 (diff) | |
Add another profanity.
| -rwxr-xr-x | profanity_filter.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/profanity_filter.py b/profanity_filter.py index e227165..e5c9e11 100755 --- a/profanity_filter.py +++ b/profanity_filter.py @@ -237,6 +237,9 @@ class ProfanityFilter(object): 'girl gone wild', 'girl on top', 'girl on', + 'give head', + 'giving head', + 'gave head', 'goatcx', 'goatse', 'goddamn', @@ -560,7 +563,7 @@ class ProfanityFilter(object): break return out - words = self.tokenize(text) + words = [x for x in self.tokenize(text)] words.append('') words.append('') words.append('') |
