word_censored 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/files/blacklist.json +50 -50
- data/lib/word_censored/version.rb +1 -1
- data/lib/word_censored.rb +12 -20
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '0932181ac39410c23a568d769d0b89520ff01453c7d9e66598cee39b12f3a71d'
|
4
|
+
data.tar.gz: d8cc3b44eff6738b2d89a1fcecf0ffb656a68d4c645e7659ac72e3632449acbf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4828a575ba1e3e223070233d711be41646cdba52692105c12b8ed59d7e0e2e52269a6f32469e1b2d1b3208dfed117aeaaee9bfd6c0c752accb1d9af9b55b98ab
|
7
|
+
data.tar.gz: 4d8978e95932b7bef5a2eeab520984b688e0a828e818087947762f33c740e452f27257561b1553adc7228a50d6ca512c71d2601f69cfcc173cf844cf26dafa82
|
data/lib/files/blacklist.json
CHANGED
@@ -3,105 +3,105 @@
|
|
3
3
|
"a": ["a$$", "a$$hole", "a_s_s", "a2m", "a54", "a55", "a55hole", "acrotomophilia", "aeolus", "ahole", "alabama hot pocket",
|
4
4
|
"alaskan pipeline", "anal", "anal impaler", "anal leakage", "analprobe", "anilingus", "anus", "apeshit", "ar5e", "areola", "areole", "arian", "arrse", "arse", "arsehole",
|
5
5
|
"aryan", "ass", "ass fuck", "ass hole", "assbag", "assbandit", "assbang", "assbanged", "assbanger", "assbangs", "assbite", "assclown", "asscock", "asscracker",
|
6
|
-
"asses", "assface", "assfaces", "assfuck", "assfucker", "
|
7
|
-
"asshopper", "
|
6
|
+
"asses", "assface", "assfaces", "assfuck", "assfucker", "assfukka", "assgoblin", "assh0le", "asshat", "asshead", "assho1e", "asshole", "assholes",
|
7
|
+
"asshopper", "assjacker", "asslick", "asslicker", "assmaster", "assmonkey", "assmucus", "assmucus", "assmunch", "assmuncher", "assnigger", "asspirate",
|
8
8
|
"ass pirate", "assshit", "assshole", "asssucker", "asswad", "asswhole", "asswipe", "asswipes", "auto erotic", "autoerotic", "axwound", "azazel", "azz"],
|
9
9
|
"b": ["bê đê", "bede", "bêđê", "buồi", "b!tch", "b00bs",
|
10
10
|
"b17ch", "b1tch", "babeland", "baby batter", "baby juice", "ball gag", "ball gravy", "ball kicking", "ball licking", "ball sack", "ball sucking", "ballbag", "balls",
|
11
11
|
"ballsack", "bampot", "bangbros", "bareback", "barely legal", "barenaked", "barf", "bastard", "bastardo", "bastards", "bastinado", "batty boy", "bawdy",
|
12
12
|
"bbw", "bdsm", "beaner", "beaners", "beardedclam", "beastial", "beastiality", "beatch", "beaver", "beaver cleaver", "beaver lips", "beef curtain", "beef curtain",
|
13
13
|
"beef curtains", "beeyotch", "bellend", "bender", "beotch", "bescumber", "bestial", "bestiality", "bi+ch", "biatch", "big black", "big breasts", "big knockers", "big tits",
|
14
|
-
"bigtits", "bimbo", "bimbos", "bint", "birdlock", "bitch", "bitch tit", "
|
14
|
+
"bigtits", "bimbo", "bimbos", "bint", "birdlock", "bitch", "bitch tit", "bitchass", "bitched", "bitcher", "bitchers", "bitches", "bitchin", "bitching",
|
15
15
|
"bitchtits", "bitchy", "black cock", "blonde action", "blonde on blonde action", "bloodclaat", "bloody", "bloody hell", "blow job", "blow me", "blow mud", "blow your load",
|
16
|
-
"blowjob", "blowjobs", "blue waffle", "
|
16
|
+
"blowjob", "blowjobs", "blue waffle", "blumpkin", "bod", "bodily", "boink", "boiolas", "bollock", "bollocks", "bollok", "bollox", "bondage",
|
17
17
|
"boned", "boner", "boners", "bong", "boob", "boobies", "boobs", "booby", "booger", "bookie", "boong", "booobs", "boooobs", "booooobs", "booooooobs", "bootee", "bootie",
|
18
|
-
"booty", "booty call", "booze", "boozer", "boozy", "bosom", "bosomy", "breasts", "
|
18
|
+
"booty", "booty call", "booze", "boozer", "boozy", "bosom", "bosomy", "breasts", "breeder", "brotherfucker", "brown showers", "brunette action", "buceta", "bugger",
|
19
19
|
"bukkake", "bull shit", "bulldyke", "bullet vibe", "bullshit", "bullshits", "bullshitted", "bullturds", "bum", "bum boy", "bumblefuck", "bumclat", "bummer", "buncombe",
|
20
|
-
"bung", "bung hole", "bunghole", "bunny fucker", "bust a load", "bust a load", "busty", "butt", "butt fuck", "butt
|
21
|
-
"buttfucker", "butthole", "buttmuch", "buttmunch", "
|
22
|
-
"c": ["cặc", "cứt", "cức", "cc", "cmn", "cmm", "cak", "c0ck", "c0cksucker", "caca", "cacafuego",
|
20
|
+
"bung", "bung hole", "bunghole", "bunny fucker", "bust a load", "bust a load", "busty", "butt", "butt fuck", "butt plug", "buttcheeks", "buttfuck", "buttfucka",
|
21
|
+
"buttfucker", "butthole", "buttmuch", "buttmunch", "buttpirate", "buttplug"],
|
22
|
+
"c": ["cặc", "cứt", "cức", "cc", "cmn", "cmm", "cak", "chịch", "ch1ch", "chịt", "c0ck", "c0cksucker", "caca", "cacafuego",
|
23
23
|
"cahone", "camel toe", "cameltoe", "camgirl", "camslut", "camwhore", "carpet muncher", "carpetmuncher", "cawk", "cervix", "chesticle", "chichi man", "chick with a dick",
|
24
|
-
"
|
24
|
+
"childfucker", "chinc", "chincs", "chink", "chinky", "choad", "choade", "choade", "choc ice", "chocolate rosebuds", "chode", "chodes", "chota bags", "cipa",
|
25
25
|
"circlejerk", "cl1t", "cleveland steamer", "climax", "clit", "clit licker", "clit licker", "clitface", "clitfuck", "clitoris", "clitorus", "clits", "clitty", "clitty litter",
|
26
|
-
"clitty litter", "clover clamps", "clunge", "clusterfuck", "cnut", "cocain", "cocaine", "coccydynia", "cock", "
|
26
|
+
"clitty litter", "clover clamps", "clunge", "clusterfuck", "cnut", "cocain", "cocaine", "coccydynia", "cock", "cock pocket", "cock pocket", "cock snot",
|
27
27
|
"cock snot", "cock sucker", "cockass", "cockbite", "cockblock", "cockburger", "cockeye", "cockface", "cockfucker", "cockhead", "cockholster", "cockjockey", "cockknocker",
|
28
28
|
"cockknoker", "cocklump", "cockmaster", "cockmongler", "cockmongruel", "cockmonkey", "cockmunch", "cockmuncher", "cocknose", "cocknugget", "cocks", "cockshit", "cocksmith",
|
29
|
-
"cocksmoke", "cocksmoker", "cocksniffer", "cocksuck", "cocksucked", "cocksucked", "cocksucker", "
|
29
|
+
"cocksmoke", "cocksmoker", "cocksniffer", "cocksuck", "cocksucked", "cocksucked", "cocksucker", "cocksuckers", "cocksucking", "cocksucks",
|
30
30
|
"cocksucks", "cocksuka", "cocksukka", "cockwaffle", "coffin dodger", "coital", "cok", "cokmuncher", "coksucka", "commie", "condom", "coochie", "coochy", "coon", "coonnass",
|
31
31
|
"coons", "cooter", "cop some wood", "cop some wood", "coprolagnia", "coprophilia", "corksucker", "cornhole", "cornhole", "corp whore", "corp whore", "corpulent", "cox",
|
32
32
|
"crabs", "crack", "cracker", "crackwhore", "crap", "crappy", "creampie", "cretin", "crikey", "cripple", "crotte", "cum", "cum chugger", "cum chugger", "cum dumpster",
|
33
33
|
"cum dumpster", "cum freak", "cum freak", "cum guzzler", "cum guzzler", "cumbubble", "cumdump", "cumdump", "cumdumpster", "cumguzzler", "cumjockey", "cummer", "cummin",
|
34
|
-
"cumming", "cums", "cumshot", "cumshots", "cumslut", "cumstain", "cumtart", "cunilingus", "cunillingus", "cunnie", "cunnilingus", "cunny", "cunt", "
|
34
|
+
"cumming", "cums", "cumshot", "cumshots", "cumslut", "cumstain", "cumtart", "cunilingus", "cunillingus", "cunnie", "cunnilingus", "cunny", "cunt", "cunt hair",
|
35
35
|
"cunt hair", "cuntass", "cuntbag", "cuntbag", "cuntface", "cunthole", "cunthunter", "cuntlick", "cuntlick", "cuntlicker", "cuntlicker", "cuntlicking", "cuntlicking",
|
36
36
|
"cuntrag", "cunts", "cuntsicle", "cuntsicle", "cuntslut", "cuntstruck", "cus", "cut rope", "cut rope", "cyalis", "cyberfuc", "cyberfuck", "cyberfuck",
|
37
37
|
"cyberfucked", "cyberfucked", "cyberfucker", "cyberfuckers", "cyberfucking", "cyberfucking"],
|
38
|
-
"d": ["dcm", "dit me", "dkm", "du ma", "du me", "d0ng", "d0uch3", "d0uche", "d1ck", "d1ld0", "d1ldo", "dago", "dagos",
|
39
|
-
"dammit", "damn", "damned", "damnit", "darkie", "darn", "date rape", "daterape", "
|
38
|
+
"d": ["dm", "dmm", "dcm", "dit", "dit me may", "dis mẹ", "dit me", "dkm", "du ma", "du me", "d0ng", "d0uch3", "d0uche", "d1ck", "d1ld0", "d1ldo", "dago", "dagos",
|
39
|
+
"dammit", "damn", "damned", "damnit", "darkie", "darn", "date rape", "daterape", "dawgiestyle", "deep throat", "deepthroat", "deggo", "dendrophilia", "dick", "dick head",
|
40
40
|
"dick hole", "dick hole", "dick shy", "dick shy", "dickbag", "dickbeaters", "dickdipper", "dickface", "dickflipper", "dickfuck", "dickfucker", "dickhead", "dickheads",
|
41
|
-
"dickhole", "dickish", "
|
41
|
+
"dickhole", "dickish", "dickjuice", "dickmilk", "dickmonger", "dickripper", "dicks", "dicksipper", "dickslap", "dicksneeze", "dicksucker", "dicksucking",
|
42
42
|
"dicktickler", "dickwad", "dickweasel", "dickweed", "dickwhipper", "dickwod", "dickzipper", "diddle", "dike", "dildo", "dildos", "diligaf", "dillweed", "dimwit", "dingle",
|
43
43
|
"dingleberries", "dingleberry", "dink", "dinks", "dipship", "dipshit", "dirsa", "dirty", "dirty pillows", "dirty sanchez", "dirty Sanchez", "div", "dlck", "dog style",
|
44
|
-
"
|
44
|
+
"dogfucker", "doggie style", "doggiestyle", "doggin", "dogging", "doggy style", "doggystyle", "dolcett", "domination", "dominatrix",
|
45
45
|
"dommes", "dong", "donkey punch", "donkeypunch", "donkeyribber", "doochbag", "doofus", "dookie", "doosh", "dopey", "double dong", "double penetration", "Doublelift",
|
46
|
-
"douch3", "douche", "douchebag", "douchebags", "
|
46
|
+
"douch3", "douche", "douchebag", "douchebags", "douchefag", "douchewaffle", "douchey", "dp action", "drunk", "dry hump", "duche", "dumass", "dumb ass", "dumbass",
|
47
47
|
"dumbasses", "Dumbcunt", "dumbfuck", "dumbshit", "dummy", "dumshit", "dvda", "dyke", "dykes"],
|
48
|
-
"đ": ["đĩ", "địt con mẹ", "địt con mẹ mày", "đụ đĩ mẹ mày", "đụ đĩ mẹ", "đéo", "đụ", "địt", "đcm", "
|
48
|
+
"đ": ["đĩ", "địt con mẹ", "địt con mẹ mày", "đụ đĩ mẹ mày", "đụ đĩ mẹ", "đéo", "đụ", "địt", "đcm", "đcmm", "đkm", "đkmm", "đệt mẹ","đụ má", "đậu má"],
|
49
49
|
"e": ["eat a dick", "eat a dick", "eat hair pie", "eat hair pie", "eat my ass",
|
50
50
|
"ecchi", "ejaculate", "ejaculated", "ejaculates", "ejaculates", "ejaculating", "ejaculating", "ejaculatings", "ejaculation", "ejakulate", "erect", "erection", "erotic",
|
51
51
|
"erotism", "escort", "essohbee", "eunuch", "extacy", "extasy"],
|
52
|
-
"f": ["f u c k", "f u c k e r", "
|
52
|
+
"f": ["f u c k", "f u c k e r", "f4nny", "facial", "fack", "fag", "fagbag", "fagfucker",
|
53
53
|
"fagg", "fagged", "fagging", "faggit", "faggitt", "faggot", "faggotcock", "faggots", "faggs", "fagot", "fagots", "fags", "fagtard", "faig", "faigt", "fanny", "fannybandit",
|
54
54
|
"fannyflaps", "fannyfucker", "fanyy", "fart", "fartknocker", "fatass", "fcuk", "fcuker", "fcuking", "fecal", "feck", "fecker", "feist", "felch", "felcher", "felching",
|
55
55
|
"fellate", "fellatio", "feltch", "feltcher", "female squirting", "femdom", "fenian", "fice", "figging", "fingerbang", "fingerfuck", "fingerfuck", "fingerfucked",
|
56
56
|
"fingerfucked", "fingerfucker", "fingerfucker", "fingerfuckers", "fingerfucking", "fingerfucking", "fingerfucks", "fingerfucks", "fingering", "fist fuck", "fist fuck",
|
57
57
|
"fisted", "fistfuck", "fistfucked", "fistfucked", "fistfucker", "fistfucker", "fistfuckers", "fistfuckers", "fistfucking", "fistfucking", "fistfuckings", "fistfuckings",
|
58
58
|
"fistfucks", "fistfucks", "fisting", "fisty", "flamer", "flange", "flaps", "fleshflute", "flog the log", "flog the log", "floozy", "foad", "foah", "fondle", "foobar",
|
59
|
-
"fook", "fooker", "foot fetish", "footjob", "foreskin", "freex", "frenchify", "frigg", "frigga", "frotting", "fubar", "fuc", "fuck", "
|
60
|
-
"fuck hole", "fuck hole", "
|
61
|
-
"
|
62
|
-
"fuckface", "fuckhead", "fuckheads", "fuckhole", "fuckin", "fucking", "fuckings", "fuckingshitmotherfucker", "fuckme", "
|
63
|
-
"fucknut", "fucknutt", "fuckoff", "fucks", "fuckstick", "fucktard", "
|
64
|
-
"fuckwit", "fuckwitt", "fudge packer", "fudgepacker", "
|
59
|
+
"fook", "fooker", "foot fetish", "footjob", "foreskin", "freex", "frenchify", "frigg", "frigga", "frotting", "fubar", "fuc", "fuck", "fuck buttons",
|
60
|
+
"fuck hole", "fuck hole", "fuck off", "fuck puppet", "fuck trophy", "fuck yo mama", "fuck you", "fucka", "fuckass",
|
61
|
+
"fuckbag", "fuckbitch", "fuckboy", "fuckbrain", "fuckbutt", "fuckbutter", "fucked", "fuckedup", "fucker", "fuckers", "fuckersucker",
|
62
|
+
"fuckface", "fuckhead", "fuckheads", "fuckhole", "fuckin", "fucking", "fuckings", "fuckingshitmotherfucker", "fuckme", "fuckmeat", "fucknugget",
|
63
|
+
"fucknut", "fucknutt", "fuckoff", "fucks", "fuckstick", "fucktard", "fucktards", "fucktart", "fucktoy", "fucktwat", "fuckup", "fuckwad", "fuckwhit",
|
64
|
+
"fuckwit", "fuckwitt", "fudge packer", "fudgepacker", "fuk", "fuker", "fukker", "fukkers", "fukkin", "fuks", "fukwhit", "fukwit", "fuq", "futanari", "fux",
|
65
65
|
"fux0r", "fvck", "fxck"],
|
66
|
-
"g": ["gae", "gai", "gang bang", "gangbang", "
|
66
|
+
"g": ["gae", "gai", "gang bang", "gangbang", "gangbanged", "gangbangs", "ganja", "gash", "gassy ass", "gay",
|
67
67
|
"gay sex", "gayass", "gaybob", "gaydo", "gayfuck", "gayfuckist", "gaylord", "gays", "gaysex", "gaytard", "gaywad", "gender bender", "genitals", "gey", "gfy", "ghay",
|
68
68
|
"ghey", "giant cock", "gigolo", "ginger", "gippo", "girl on", "girl on top", "girls gone wild", "git", "glans", "goatcx", "goatse", "god", "god damn", "godamn",
|
69
|
-
"godamnit", "goddam", "
|
70
|
-
"goddamn", "goddamned", "
|
71
|
-
"gook", "gooks", "goregasm", "gringo", "grope", "group sex", "gspot", "
|
69
|
+
"godamnit", "goddam", "goddammit",
|
70
|
+
"goddamn", "goddamned", "goddamnit", "godsdamn", "gokkun", "golden shower", "goldenshower", "golliwog", "gonad", "gonads", "goo girl", "gooch", "goodpoop",
|
71
|
+
"gook", "gooks", "goregasm", "gringo", "grope", "group sex", "gspot", "gtfo", "guido", "guro"],
|
72
72
|
"h": ["hãm lồn", "hãm lol", "ham lon", "h0m0", "h0mo", "ham flap", "ham flap", "hand job", "handjob",
|
73
|
-
"hard core", "hard on", "hardcore", "hardcoresex", "he11", "hebe", "heeb", "hell", "hemp", "hentai", "heroin", "herp", "herpes", "herpy", "heshe", "
|
73
|
+
"hard core", "hard on", "hardcore", "hardcoresex", "he11", "hebe", "heeb", "hell", "hemp", "hentai", "heroin", "herp", "herpes", "herpy", "heshe", "hircismus",
|
74
74
|
"hitler", "hiv", "ho", "hoar", "hoare", "hobag", "hoe", "hoer", "holy shit", "hom0", "homey", "homo", "homodumbshit", "homoerotic", "homoey", "honkey", "honky", "hooch",
|
75
75
|
"hookah", "hooker", "hoor", "hootch", "hooter", "hooters", "hore", "horniest", "horny", "hot carl", "hot chick", "hotsex", "how to kill", "how to murdep", "how to murder",
|
76
76
|
"huge fat", "hump", "humped", "humping", "hun", "hussy", "hymen"],
|
77
77
|
"i": ["iap", "iberian slap", "inbred", "incest", "injun", "intercourse"],
|
78
78
|
"j": ["jack off", "jackass", "jackasses",
|
79
|
-
"jackhole", "jackoff", "
|
80
|
-
"
|
79
|
+
"jackhole", "jackoff", "jaggi", "jagoff", "jail bait", "jailbait", "jap", "japs", "jelly donut", "jerk", "jerk off", "jerk0ff", "jerkass", "jerked", "jerkoff",
|
80
|
+
"jigaboo", "jiggaboo", "jiggerboo", "jism", "jiz", "jiz", "jizm", "jizm", "jizz", "jizzed", "jock", "juggs", "jungle bunny", "junglebunny", "junkie", "junky"],
|
81
81
|
"k": ["kafir", "kawk", "kike", "kikes", "kill", "kinbaku", "kinkster", "kinky", "klan", "knob", "knob end", "knobbing", "knobead", "knobed", "knobend", "knobhead", "knobjocky",
|
82
82
|
"knobjokey", "kock", "kondum", "kondums", "kooch", "kooches", "kootch", "kraut", "kum", "kummer", "kumming", "kums", "kunilingus", "kunja", "kunt", "kwif", "kwif", "kyke"],
|
83
|
-
"l": ["lồn", "lỗ đít", "l3i+ch", "l3itch", "labia", "lameass", "lardass", "leather restraint", "leather straight jacket", "lech", "lemon party", "LEN", "leper", "lesbian",
|
84
|
-
"lesbos", "lez", "lezza/lesbo", "lezzie", "lmao", "lmfao", "loin", "loins", "lolita", "looney", "lovemaking", "lube", "lust", "lusting", "lusty"],
|
83
|
+
"l": ["lồn", "lỗ đít", "l3i+ch", "l3itch", "labia", "lameass", "lardass", "leather restraint", "leather straight jacket", "lech", "lemon party", "LEN", "leper", "lesbian",
|
84
|
+
"lesbians", "lesbo", "lesbos", "lez", "lezza/lesbo", "lezzie", "lmao", "lmfao", "loin", "loins", "lolita", "looney", "lovemaking", "lube", "lust", "lusting", "lusty"],
|
85
85
|
"m": ["mẹ mày", "mất dạy", "má mày", "mặt lồn", "m0f0", "m0fo",
|
86
86
|
"m45terbate", "ma5terb8", "ma5terbate", "mafugly", "mafugly", "make me come", "male squirting", "mams", "masochist", "massa", "masterb8", "masterbat*", "masterbat3",
|
87
|
-
"masterbate", "
|
88
|
-
"menage a trois", "menses", "menstruate", "menstruation", "meth", "
|
89
|
-
"missionary position", "mof0", "mofo", "
|
87
|
+
"masterbate", "masterbating", "masterbation", "masterbations", "masturbate", "masturbating", "masturbation", "maxi", "mcfagget",
|
88
|
+
"menage a trois", "menses", "menstruate", "menstruation", "meth", "mfucking", "mick", "microphallus", "middle finger", "midget", "milf", "minge", "minger",
|
89
|
+
"missionary position", "mof0", "mofo", "molest", "mong", "moo moo foo foo", "moolie", "moron", "mothafuck", "mothafucka", "mothafuckas", "mothafuckaz",
|
90
90
|
"mothafucked", "mothafucked", "mothafucker", "mothafuckers", "mothafuckin", "mothafucking", "mothafucking", "mothafuckings", "mothafucks", "mother fucker", "mother fucker",
|
91
91
|
"motherfuck", "motherfucka", "motherfucked", "motherfucker", "motherfuckers", "motherfuckin", "motherfucking", "motherfuckings", "motherfuckka", "motherfucks",
|
92
92
|
"mound of venus", "mr hands", "muff", "muff diver", "muff puff", "muff puff", "muffdiver", "muffdiving", "munging", "munter", "murder", "mutha", "muthafecker",
|
93
93
|
"muthafuckker", "muther", "mutherfucker"],
|
94
94
|
"n": ["nhảm cứt", "nhảm shit", "nhảm cức", "n1gga", "n1gger", "naked", "nambla", "napalm", "nappy", "nawashi", "nazi", "nazism", "need the dick", "need the dick",
|
95
|
-
"negro", "neonazi", "nig nog", "nigaboo", "nigg3r", "nigg4h", "nigga", "niggah", "niggas", "niggaz", "nigger", "niggers", "niggle", "niglet", "
|
95
|
+
"negro", "neonazi", "nig nog", "nigaboo", "nigg3r", "nigg4h", "nigga", "niggah", "niggas", "niggaz", "nigger", "niggers", "niggle", "niglet", "nignog", "nimphomania",
|
96
96
|
"nimrod", "ninny", "ninnyhammer", "nipple", "nipples", "nob", "nob jokey", "nobhead", "nobjocky", "nobjokey", "nonce", "nsfw images", "nude", "nudity", "numbnuts",
|
97
97
|
"nut butter", "nut butter", "nut sack", "nutsack", "nutter", "nympho", "nymphomania"],
|
98
98
|
"o": ["octopussy", "old bag", "omg", "omorashi", "one cup two girls", "one guy one jar",
|
99
99
|
"opiate", "opium", "orally", "organ", "orgasim", "orgasims", "orgasm", "orgasmic", "orgasms", "orgies", "orgy", "ovary", "ovum", "ovums"],
|
100
|
-
"p": ["pê đê", "
|
100
|
+
"p": ["pê đê", "pussy", "p0rn",
|
101
101
|
"paedophile", "paki", "panooch", "pansy", "pantie", "panties", "panty", "pawn", "pcp", "pecker", "peckerhead", "pedo", "pedobear", "pedophile", "pedophilia", "pedophiliac",
|
102
102
|
"pee", "peepee", "pegging", "penetrate", "penetration", "penial", "penile", "penis", "penisbanger", "penisfucker", "penispuffer", "perversion", "phallic", "phone sex",
|
103
103
|
"phonesex", "phuck", "phuk", "phuked", "phuking", "phukked", "phukking", "phuks", "phuq", "piece of shit", "pigfucker", "pikey", "pillowbiter", "pimp", "pimpis", "pinko",
|
104
|
-
"piss", "piss off", "piss pig", "pissed", "pissed off", "pisser", "pissers", "pisses", "pisses", "pissflaps", "pissin", "pissin", "pissing", "pissoff", "pissoff",
|
104
|
+
"piss", "piss off", "piss pig", "pissed", "pissed off", "pisser", "pissers", "pisses", "pisses", "pissflaps", "pissin", "pissin", "pissing", "pissoff", "pissoff",
|
105
105
|
"pisspig", "playboy", "pleasure chest", "pms", "polack", "pole smoker", "polesmoker", "pollock", "ponyplay", "poof", "poon", "poonani", "poonany", "poontang", "poop",
|
106
106
|
"poop chute", "poopchute", "Poopuncher", "porch monkey", "porchmonkey", "porn", "porno", "pornography", "pornos", "pot", "potty", "prick", "pricks", "prickteaser", "prig",
|
107
107
|
"prince albert piercing", "prod", "pron", "prostitute", "prude", "psycho", "pthc", "pube", "pubes", "pubic", "pubis", "punani", "punanny", "punany", "punkass", "punky",
|
@@ -109,21 +109,21 @@
|
|
109
109
|
"q": ["quần què", "quái thai", "queaf", "queaf", "queef", "queer", "queerbait", "queerhole", "queero", "queers", "quicky", "quim"],
|
110
110
|
"r": ["racy", "raghead", "raging boner", "rape", "raped", "raper", "rapey",
|
111
111
|
"raping", "rapist", "raunch", "rectal", "rectum", "rectus", "reefer", "reetard", "reich", "renob", "retard", "retarded", "reverse cowgirl", "revue", "rimjaw", "rimjob",
|
112
|
-
"rimming", "ritard", "rosy palm", "rosy palm and her 5 sisters", "rtard", "
|
113
|
-
"s": ["
|
114
|
-
"s.
|
112
|
+
"rimming", "ritard", "rosy palm", "rosy palm and her 5 sisters", "rtard", "rubbish", "rum", "rump", "rumprammer", "ruski", "rusty trombone"],
|
113
|
+
"s": ["shit", "sh1t", "s hit", "s&m",
|
114
|
+
"s.o.b.", "s0b", "sadism", "sadist", "sambo", "sand nigger", "sandbar", "sandbar", "Sandler", "sandnigger", "sanger", "santorum", "sausage queen",
|
115
115
|
"sausage queen", "scag", "scantily", "scat", "schizo", "schlong", "scissoring", "screw", "screwed", "screwing", "scroat", "scrog", "scrot", "scrote", "scrotum", "scrud",
|
116
|
-
"scum", "seaman", "seamen", "seduce", "seks", "semen", "sex", "sexo", "sexual", "sexy", "sh!+", "sh!t", "
|
117
|
-
"shamedame", "shaved beaver", "shaved pussy", "shemale", "shi+", "shibari", "shirt lifter", "shit", "
|
116
|
+
"scum", "seaman", "seamen", "seduce", "seks", "semen", "sex", "sexo", "sexual", "sexy", "sh!+", "sh!t", "shag", "shagger", "shaggin", "shagging",
|
117
|
+
"shamedame", "shaved beaver", "shaved pussy", "shemale", "shi+", "shibari", "shirt lifter", "shit", "shit ass", "shit fucker", "shit fucker", "shitass",
|
118
118
|
"shitbag", "shitbagger", "shitblimp", "shitbrains", "shitbreath", "shitcanned", "shitcunt", "shitdick", "shite", "shiteater", "shited", "shitey", "shitface", "shitfaced",
|
119
119
|
"shitfuck", "shitfull", "shithead", "shitheads", "shithole", "shithouse", "shiting", "shitings", "shits", "shitspitter", "shitstain", "shitt", "shitted", "shitter",
|
120
120
|
"shitters", "shitters", "shittier", "shittiest", "shitting", "shittings", "shitty", "shiz", "shiznit", "shota", "shrimping", "sissy", "skag", "skank", "skeet", "skullfuck",
|
121
121
|
"slag", "slanteye", "slave", "sleaze", "sleazy", "slope", "slope", "slut", "slut bucket", "slut bucket", "slutbag", "slutdumper", "slutkiss", "sluts", "smartass", "smartasses",
|
122
|
-
"smeg", "smegma", "smut", "smutty", "snatch", "sniper", "snowballing", "snuff", "
|
123
|
-
"son of a whore", "
|
122
|
+
"smeg", "smegma", "smut", "smutty", "snatch", "sniper", "snowballing", "snuff", "sod off", "sodom", "sodomize", "sodomy", "son of a bitch", "son of a motherless goat",
|
123
|
+
"son of a whore", "souse", "soused", "spac", "spade", "sperm", "spic", "spick", "spik", "spiks", "splooge", "splooge moose", "spooge", "spook",
|
124
124
|
"spread legs", "spunk", "stfu", "stiffy", "stoned", "strap on", "strapon", "strappado", "strip", "strip club", "stroke", "stupid", "style doggy", "suck", "suckass",
|
125
125
|
"sucked", "sucking", "sucks", "suicide girls", "sultry women", "sumofabiatch", "swastika", "swinger"],
|
126
|
-
"t": ["thằng chó", "thằng gay", "thủ dâm", "t1t", "t1tt1e5", "t1tties", "taff", "taig", "tainted love",
|
126
|
+
"t": ["thằng chó", "thông đít", "thông đ1t", "thằng gay", "thủ dâm", "t1t", "t1tt1e5", "t1tties", "taff", "taig", "tainted love",
|
127
127
|
"taking the piss", "tampon", "tard", "tart", "taste my", "tawdry", "tea bagging", "teabagging", "teat", "teets", "teez", "teste", "testee", "testes", "testical",
|
128
128
|
"testicle", "testis", "threesome", "throating", "thrust", "thug", "thundercunt", "tied up", "tight white", "tinkle", "tit", "tit wank", "tit wank", "titfuck", "titi",
|
129
129
|
"tities", "tits", "titt", "tittie5", "tittiefucker", "titties", "titty", "tittyfuck", "tittyfucker", "tittywank", "titwank", "toke", "tongue in a", "toots", "topless",
|
@@ -132,12 +132,12 @@
|
|
132
132
|
"u": ["ugly", "unclefucker",
|
133
133
|
"undies", "undressing", "unwed", "upskirt", "urethra play", "urinal", "urine", "urophilia", "uterus", "uzi"],
|
134
134
|
"ụ": ["ụ ẹ"],
|
135
|
-
"v": ["vãi", "vú", "v14gra", "v1gra", "vag", "vagina", "vajayjay",
|
135
|
+
"v": ["vãi", "vú", "v14gra", "v1gra", "vag", "vagina", "vajayjay",
|
136
136
|
"valium", "venus mound", "veqtable", "viagra", "vibrator", "violet wand", "virgin", "vixen", "vjayjay", "vodka", "vomit", "vorarephilia", "voyeur", "vulgar", "vulva"],
|
137
137
|
"w": ["w00se", "wad", "wang", "wank", "wanker", "wankjob", "wanky", "wazoo", "wedgie", "weed", "weenie", "weewee", "weiner", "weirdo", "wench", "wet dream", "wetback", "wh0re",
|
138
138
|
"wh0reface", "white power", "whiz", "whoar", "whoralicious", "whore", "whorealicious", "whorebag", "whored", "whoreface", "whorehopper", "whorehouse", "whores", "whoring",
|
139
139
|
"wigger", "willies", "willy", "window licker", "wiseass", "wiseasses", "wog", "womb", "wop", "wrapping men", "wrinkled starfish", "wtf"],
|
140
|
-
"x": ["xạo vl", "xạo chó", "xạo lồn", "xxx", "xàm lồn", "xàm lol", "xrated", "
|
140
|
+
"x": ["xạo vl", "xạo chó", "xạo lồn", "xạo l", "xxx", "xàm lồn", "xàm lol", "xrated", "xx", "xxx"],
|
141
141
|
"y": ["yaoi", "yeasty", "yellow showers", "yid", "yiffy", "yobbo"],
|
142
142
|
"z": ["zibbi", "zoophilia", "zubb"]
|
143
143
|
}
|
data/lib/word_censored.rb
CHANGED
@@ -1,5 +1,3 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
1
|
require "word_censored/version"
|
4
2
|
require "json"
|
5
3
|
|
@@ -11,17 +9,17 @@ module WordCensored
|
|
11
9
|
REGEX_PREPROCESS = /([^0-9a-zàáãạảăắằẳẵặâấầẩẫậèéẹẻẽêềếểễệđìíĩỉịòóõọỏôốồổỗộơớờởỡợùúũụủưứừửữựỳỵỷỹý ])/i
|
12
10
|
|
13
11
|
def filter(str)
|
14
|
-
blacklist
|
15
|
-
@str_array
|
16
|
-
|
12
|
+
blacklist = JSON.parse(File.read(File.join(File.dirname(__FILE__), 'files/blacklist.json')))
|
13
|
+
@str_array = str.split(' ')
|
14
|
+
cindex = -1
|
17
15
|
|
18
16
|
@str_array.each_with_index do |word, index|
|
19
|
-
next if index <=
|
20
|
-
next if
|
17
|
+
next if index <= cindex
|
18
|
+
next if preprocess(word).strip.empty?
|
21
19
|
|
22
|
-
first_letter
|
23
|
-
|
24
|
-
replace_asterisk(index,
|
20
|
+
first_letter = preprocess(word)[0].match?(REGEX_FIRST_LETTER) ? preprocess(word)[0] : 'other'
|
21
|
+
ibadword = detect_badword(blacklist[first_letter], index, index)
|
22
|
+
replace_asterisk(index, ibadword) && cindex = ibadword if ibadword >= index
|
25
23
|
end
|
26
24
|
|
27
25
|
@str_array.join(' ')
|
@@ -32,25 +30,19 @@ module WordCensored
|
|
32
30
|
def detect_badword(arr, origin_index, index, result_index = -1)
|
33
31
|
return result_index if arr.nil?
|
34
32
|
|
35
|
-
word =
|
36
|
-
single_badword = arr.include?(word)
|
33
|
+
word = preprocess(@str_array[origin_index..index].join(' '))
|
37
34
|
list_badwords = arr.find_all { |value| value =~ /\A#{word} /i }
|
38
|
-
result_index = index if
|
39
|
-
|
35
|
+
result_index = index if arr.include?(word)
|
40
36
|
return result_index if list_badwords.empty? || @str_array[index + 1].nil?
|
41
37
|
|
42
38
|
detect_badword(list_badwords, origin_index, index + 1, result_index)
|
43
39
|
end
|
44
40
|
|
45
|
-
def text_from_index(from, to)
|
46
|
-
@str_array[from..to].join(' ')
|
47
|
-
end
|
48
|
-
|
49
41
|
def replace_asterisk(from, to)
|
50
|
-
(from..to).to_a.each { |
|
42
|
+
(from..to).to_a.each { |i| @str_array[i] = '*' * @str_array[i].length }
|
51
43
|
end
|
52
44
|
|
53
|
-
def
|
45
|
+
def preprocess(word)
|
54
46
|
word.downcase.gsub(REGEX_PREPROCESS, '')
|
55
47
|
end
|
56
48
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: word_censored
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Tran
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-02-
|
11
|
+
date: 2020-02-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|