Skip to content

Commit

Permalink
Moderation 2025-02-04
Browse files Browse the repository at this point in the history
  • Loading branch information
duogenesis committed Feb 4, 2025
1 parent 82a793d commit ddbc836
Show file tree
Hide file tree
Showing 6 changed files with 57 additions and 11 deletions.
8 changes: 8 additions & 0 deletions antiabuse/antirude/profile/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,12 @@
"dicked",
"dicking",
"edtwt",
"faggot",
"faggots",
"groom me",
"heil",
"kike",
"kikes",
"kill my self",
"kill myself",
"kill your self",
Expand All @@ -45,14 +48,17 @@
"niggerlicious",
"niggers",
"niglet",
"niglets",
"pajeet",
"pajeets",
"rape",
"rapeable",
"rapebait"
"raped",
"rapes",
"raping",
"rapist",
"rapists",
"self harm",
"self-harm",
"selfharm",
Expand All @@ -68,7 +74,9 @@
"throatfucking",
"tkd",
"tnd",
"trannies",
"tranny",
"trannys",
"troon",
"troons",
"unrape",
Expand Down
25 changes: 15 additions & 10 deletions antiabuse/normalize/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,10 @@
# Used to convert slang in an input string to a more standard form so that it's
# easier to detect coarse language later on
_normalization_map = {
"[a4]+n[a4]+[l1]+": "anal",
"[a4][s$]*h[o0][l1][e3]": "asshole",
"a[s5$]{2}": "ass",
"b[a4]ck ?sh[o0]t[s$z]": "backshots",
"b[a4]ck ?sh[o0][tт][s$z]": "backshots",
"b": "be",
"b[i1y]?tch": "bitch",
"b[o0][o0]b[i1][e3][s$z]": "boobies",
Expand All @@ -17,12 +19,14 @@
"cok": "cock",
"c+[uv]+m+": "cum",
"c[uv]mming": "cumming",
"c[uv]m[s$z]h[o0]t": "cumshot",
"c[uv]m[s$z]h[o0][tт]": "cumshot",
"c+[uv]+m+s+": "cums",
"d[i1]ck": "dick",
"d[iy1]k[e3]": "dyke",
"dyck": "dick",
"ejaku[l1]ate": "ejaculate",
"f[a4]*g+[o0]*t": "faggot",
"f[a4]*[gб]+[o0]*[tт]": "faggot",
"f[a4]*[gб]+[o0]*[tᴛ][s$z]": "faggots",
"fcked": "fucked",
"fck": "fuck",
"fcking": "fucking",
Expand All @@ -41,15 +45,15 @@
"gr[o0][o0]mer": "groomer",
"gr[o0][o0]m": "groom",
"h[@a4]rm": "harm",
"k[iy1][l1][l1]": "kill",
"k[iy1][l1]+": "kill",
"[l1]0[l1]icon": "lolicon",
"[l1]0[l1]i": "loli",
"n[i1ye3]*g+(a|uh|e)": "nigga",
"n[i1ye3]*g+([e3]*r)?": "nigger",
"n[i1ye3]*g+[e3]*r[s$z]": "niggers",
"n[i1ye3]gg[l1]et": "niglet",
"n[i1ye3]g+uh*": "nigga",
"n[ie]g{1,2}re{1,2}s+": "negress",
"n[i1ye3]*[gб]+(a|uh|e)": "nigga",
"n[i1ye3]*[gб]+([e3]*r)?": "nigger",
"n[i1ye3]*[gб]+[e3]*r[s$z]": "niggers",
"n[i1ye3][gб]+uh*": "nigga",
"n[ie][gб]{1,2}re{1,2}s+": "negress",
"p[e3]d[o0]": "pedo",
"pissin": "pissing",
"p[iy1][s$][s$]": "piss",
Expand All @@ -58,10 +62,11 @@
"r[@a4]p[e3]-?ab[l1]e": "rapeable",
"r[@a4]p[e3]d": "raped",
"r[@a4]p[e3]": "rape",
"r[@a4]p[i1]ng": "raping",
"r[@a4]p[i1]*ng": "raping",
"r": "are",
"raype": "rape",
"s[e3][l1]f": "self",
"seg+[zs]+": "sex",
"sht": "shit",
"s[uv][i1]c[i1]d[e3]": "suicide",
"sxy": "sexy",
Expand Down
10 changes: 10 additions & 0 deletions antiabuse/normalize/test_init.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,16 @@ def test_normalize_string(self):

self.assertEqual(normalize_string("r@ping"), "raping")

self.assertEqual(normalize_string("rapng"), "raping")

self.assertEqual(normalize_string("an4l"), "anal")

self.assertEqual(normalize_string("nggrs"), "niggers")

self.assertEqual(normalize_string("fаббoтs"), "faggots")

self.assertEqual(normalize_string("ahole"), "asshole")


if __name__ == '__main__':
unittest.main()
11 changes: 11 additions & 0 deletions banned-club.sql
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,8 @@ VALUES
('5 yo'),
('5yo'),
('6'),
('"6 million"'),
('6 million'),
('6y'),
('6 year old'),
('6 year-old'),
Expand Down Expand Up @@ -430,6 +432,7 @@ VALUES
('boypussy'),
('boy rapist'),
('bpd hate'),
('break me'),
('breast lover'),
('breedable'),
('breedablefemcel'),
Expand All @@ -456,6 +459,7 @@ VALUES
('bulimia'),
('bully bait'),
('bullybait'),
('bully me'),
('bum sex'),
('but fuck it we ball'),
('butt fucker'),
Expand Down Expand Up @@ -731,6 +735,7 @@ VALUES
('dukys'),
('dumb bitch'),
('dumb slut'),
('dykefag'),
('easily manipulated'),
('easy to manipulate'),
('eating a gun'),
Expand Down Expand Up @@ -1238,6 +1243,7 @@ VALUES
('hatepoland'),
('hate queers'),
('hatequeers'),
('hate rap3'),
('hater crimer'),
('hater nigga'),
('hate trannies'),
Expand Down Expand Up @@ -1770,6 +1776,7 @@ VALUES
('israeli defence force'),
('israeli defense force'),
('israeli revenue service'),
('israel shouldn''t exist'),
('i stalk'),
('i suck for money'),
('i take your money'),
Expand Down Expand Up @@ -2078,6 +2085,7 @@ VALUES
('m16'),
('magic mushrooms'),
('major league goonette'),
('make me bleed'),
('male manipulator'),
('man beater'),
('man hater'),
Expand Down Expand Up @@ -2484,8 +2492,10 @@ VALUES
('raghead'),
('rag heads'),
('ragheads'),
('rap3'),
('rap3 me'),
('rape'),
('rape3'),
('rapeable'),
('rapebait'),
('rapebastard club'),
Expand Down Expand Up @@ -2939,6 +2949,7 @@ VALUES
('violencepilled'),
('violent'),
('virgin suicide'),
('vril'),
('/vt/ fucking sucks'),
('wafffen ss'),
('wafffen-ss'),
Expand Down
2 changes: 1 addition & 1 deletion service/chat/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ class IntroRateLimit(Enum):
NONE = 0
UNVERIFIED = 10
BASICS = 20
PHOTOS = 100
PHOTOS = 50

# TODO: Tables to migrate to monolithic DB:
#
Expand Down
12 changes: 12 additions & 0 deletions service/chat/rude/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
_strings = [
"abuse me",
"abuse you",
"anaaaaaaaal",
"anal",
"anally",
"anus",
Expand All @@ -22,6 +23,7 @@
"ass fucker",
"ass fucking",
"ass hole",
"ass pounded",
"ass-fuck",
"ass-fucked",
"ass-fucker",
Expand All @@ -47,6 +49,8 @@
"blow your brains",
"blowjob",
"blowjobs",
"bobbers",
"boobers",
"boobies",
"boobs",
"breading me",
Expand Down Expand Up @@ -89,6 +93,7 @@
"cockmunch",
"cockmuncher",
"cocks",
"cocksleeve",
"cocksuck",
"cocksucked",
"cocksucker",
Expand Down Expand Up @@ -235,13 +240,15 @@
"hanged yourself",
"hanging myself",
"hanging yourself",
"head game",
"heil",
"his seed",
"hit it raw",
"ho",
"hoe",
"hoes",
"homo",
"honkers",
"horniest",
"horny",
"hotsex",
Expand Down Expand Up @@ -278,6 +285,7 @@
"likes it raw",
"loli",
"lolicon",
"lube",
"masterbate",
"masterbation",
"masterbations",
Expand Down Expand Up @@ -384,6 +392,7 @@
"self-cutter",
"semen",
"sex",
"sextoy",
"shag",
"shagging",
"shemale",
Expand All @@ -397,6 +406,7 @@
"shitskin",
"shota",
"shotacon",
"sit on my face",
"skank",
"slit my wrist",
"slit my wrists",
Expand Down Expand Up @@ -493,6 +503,8 @@
"you retarded",
"you will never be a woman",
"you'll never be a woman",
"your hole",
"your holes",
"your insides",
"your lips",
"your throat",
Expand Down

0 comments on commit ddbc836

Please sign in to comment.