projects
/
python_utils.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix typo.
[python_utils.git]
/
profanity_filter.py
diff --git
a/profanity_filter.py
b/profanity_filter.py
index 37756bac99abdaaa298b92ab7ff4f984ec844d51..a1f0c0b9adaa8971dfd243694cd096a2e84a077d 100755
(executable)
--- a/
profanity_filter.py
+++ b/
profanity_filter.py
@@
-1,5
+1,7
@@
#!/usr/bin/env python3
#!/usr/bin/env python3
+# © Copyright 2021-2022, Scott Gasch
+
"""A helper to identify and optionally obscure some bad words."""
import logging
"""A helper to identify and optionally obscure some bad words."""
import logging
@@
-26,14
+28,13
@@
class ProfanityFilter(object):
[
'acrotomophilia',
'anal',
[
'acrotomophilia',
'anal',
- 'analingu
s
',
+ 'analingu',
'anally',
'anally',
- 'anilingu
s
',
+ 'anilingu',
'anus',
'arsehol',
'arsehole',
'ass',
'anus',
'arsehol',
'arsehole',
'ass',
- 'asses',
'asshol',
'asshole',
'assmunch',
'asshol',
'asshole',
'assmunch',
@@
-55,7
+56,6
@@
class ProfanityFilter(object):
'ball sucking',
'ball zack',
'bangbro',
'ball sucking',
'ball zack',
'bangbro',
- 'bangbros',
'bare legal',
'bareback',
'barely legal',
'bare legal',
'bareback',
'barely legal',
@@
-68,21
+68,16
@@
class ProfanityFilter(object):
'bdsm',
'beaver cleaver',
'beaver lip',
'bdsm',
'beaver cleaver',
'beaver lip',
- 'beaver lips',
'bestial',
'bestiality',
'bi curiou',
'bestial',
'bestiality',
'bi curiou',
- 'bi curious',
'big black',
'big black',
- 'big breast
s
',
+ 'big breast',
'big knocker',
'big knocker',
- 'big knockers',
'big tit',
'big tit',
- 'big tits',
'bimbo',
'birdlock',
'bitch',
'bimbo',
'birdlock',
'bitch',
- 'bitches',
'black cock',
'blond action',
'blond on blond',
'black cock',
'blond action',
'blond on blond',
@@
-99,18
+94,14
@@
class ProfanityFilter(object):
'blue waffle',
'blumpkin',
'bollock',
'blue waffle',
'blumpkin',
'bollock',
- 'bollocks',
'bondag',
'bondage',
'boner',
'boob',
'bondag',
'bondage',
'boner',
'boob',
- 'boobs',
'booti call',
'booty call',
'breast',
'booti call',
'booty call',
'breast',
- 'breasts',
'brown shower',
'brown shower',
- 'brown showers',
'brunett action',
'brunette action',
'bukkak',
'brunett action',
'brunette action',
'bukkak',
@@
-126,7
+117,6
@@
class ProfanityFilter(object):
'busty',
'butt',
'buttcheek',
'busty',
'butt',
'buttcheek',
- 'buttcheeks',
'butthol',
'butthole',
'camel toe',
'butthol',
'butthole',
'camel toe',
@@
-136,18
+126,16
@@
class ProfanityFilter(object):
'carpet muncher',
'carpetmuncher',
'chocol rosebud',
'carpet muncher',
'carpetmuncher',
'chocol rosebud',
- 'chocolate rosebuds',
'circlejerk',
'chink',
'cleveland steamer',
'clit',
'circlejerk',
'chink',
'cleveland steamer',
'clit',
+ 'clitor',
'clitori',
'clitori',
- 'clitoris',
'clover clamp',
'clover clamp',
- 'clover clamps',
'clusterfuck',
'clusterfuck',
+ 'cluster fuck',
'cock',
'cock',
- 'cocks',
'coprolagnia',
'coprophilia',
'cornhol',
'coprolagnia',
'coprophilia',
'cornhol',
@@
-158,7
+146,6
@@
class ProfanityFilter(object):
'cum',
'cumming',
'cunnilingu',
'cum',
'cumming',
'cunnilingu',
- 'cunnilingus',
'cunt',
'damn',
'darki',
'cunt',
'damn',
'darki',
@@
-211,12
+198,8
@@
class ProfanityFilter(object):
'female squirting',
'femdom',
'figging',
'female squirting',
'femdom',
'figging',
- 'fingered',
- 'fingering',
- 'fingers',
- 'fisted',
- 'fisting',
- 'fists',
+ 'finger',
+ 'fist',
'foot fetish',
'footjob',
'frotting',
'foot fetish',
'footjob',
'frotting',
@@
-244,6
+227,11
@@
class ProfanityFilter(object):
'give head',
'giving head',
'gave head',
'give head',
'giving head',
'gave head',
+ 'gave you head',
+ 'gave him head',
+ 'gave them head',
+ 'gave us head',
+ 'glori hole',
'goatcx',
'goatse',
'goddamn',
'goatcx',
'goatse',
'goddamn',
@@
-272,7
+260,7
@@
class ProfanityFilter(object):
'huge fat',
'humped',
'humping',
'huge fat',
'humped',
'humping',
- 'hump
s
',
+ 'hump',
'incest',
'intercourse',
'jack off',
'incest',
'intercourse',
'jack off',
@@
-297,10
+285,11
@@
class ProfanityFilter(object):
'male squirting',
'masturb',
'menage a trois',
'male squirting',
'masturb',
'menage a trois',
+ 'menag a troi',
'milf',
'missionary position',
'motherfuck',
'milf',
'missionary position',
'motherfuck',
- 'mound of venu
s
',
+ 'mound of venu',
'mr hand',
'muff diver',
'muffdiv',
'mr hand',
'muff diver',
'muffdiv',
@@
-319,7
+308,6
@@
class ProfanityFilter(object):
'nsfl',
'nsfw',
'nude',
'nsfl',
'nsfw',
'nude',
- 'nudes',
'nudity',
'nut sack',
'nutsack',
'nudity',
'nut sack',
'nutsack',
@@
-333,7
+321,7
@@
class ProfanityFilter(object):
'paedophil',
'paedophile',
'panties',
'paedophil',
'paedophile',
'panties',
- 'pant
y
',
+ 'pant
i
',
'pedobear',
'pedophil',
'pedophile',
'pedobear',
'pedophil',
'pedophile',
@@
-391,8
+379,8
@@
class ProfanityFilter(object):
'sexi',
'sexo',
'sexy',
'sexi',
'sexo',
'sexy',
- 'shave
d
beaver',
- 'shave
d pussy
',
+ 'shave beaver',
+ 'shave
pussi
',
'shemale',
'shibari',
'shit',
'shemale',
'shibari',
'shit',
@@
-409,7
+397,7
@@
class ProfanityFilter(object):
'sodomy',
'spic',
'spooge',
'sodomy',
'spic',
'spooge',
- 'spread leg
s
',
+ 'spread leg',
'squirting',
'strap on',
'strapon',
'squirting',
'strap on',
'strapon',
@@
-417,7
+405,7
@@
class ProfanityFilter(object):
'strip club',
'style doggy',
'suck',
'strip club',
'style doggy',
'suck',
- 'suicid
e girls
',
+ 'suicid
girl
',
'sultry women',
'swastika',
'swinger',
'sultry women',
'swastika',
'swinger',
@@
-430,7
+418,6
@@
class ProfanityFilter(object):
'tied up',
'tight white',
'tit',
'tied up',
'tight white',
'tit',
- 'tits',
'titti',
'titties',
'titty',
'titti',
'titties',
'titty',
@@
-453,7
+440,7
@@
class ProfanityFilter(object):
'urophilia',
'vag',
'vagina',
'urophilia',
'vag',
'vagina',
- 'venu
s
mound',
+ 'venu mound',
'vibrator',
'violet blue',
'violet wand',
'vibrator',
'violet blue',
'violet wand',