badword_tracker 0.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/lib/badword.txt +551 -0
- data/lib/badword_tracker.rb +36 -0
- metadata +43 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 4f5b860b843645078d59a724b15efff5eb5962c7062e500eed442fb175b129f3
|
4
|
+
data.tar.gz: 47701fe6a4f58177bc37cf6a0dbf0366e256730ff2ef8ba36ed060d912da4135
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 2f04bacb79c00dc0522aa86394c7ba9664456480ce34a70d9134c28dbc62f0c8acae508694e9a43c0ffca8ee84fe08bc7a2ada407d1d5d8f80b7fa2aceebcc8c
|
7
|
+
data.tar.gz: 7d5a142849ebed5a9468f547283f07c5af307fa83040bba47d06e8f3e6374d16bfc105387c7dc6ebf07c1174ad3a14cf73e225be58648eaf55eb4ff3df096ccc
|
data/lib/badword.txt
ADDED
@@ -0,0 +1,551 @@
|
|
1
|
+
idiot
|
2
|
+
4r5e
|
3
|
+
50 yard cunt punt
|
4
|
+
5h1t
|
5
|
+
5hit
|
6
|
+
a_s_s
|
7
|
+
a2m
|
8
|
+
a55
|
9
|
+
adult
|
10
|
+
amateur
|
11
|
+
anal
|
12
|
+
anal impaler
|
13
|
+
anal leakage
|
14
|
+
anilingus
|
15
|
+
anus
|
16
|
+
ar5e
|
17
|
+
arrse
|
18
|
+
arse
|
19
|
+
arsehole
|
20
|
+
ass
|
21
|
+
ass fuck
|
22
|
+
asses
|
23
|
+
assfucker
|
24
|
+
ass-fucker
|
25
|
+
assfukka
|
26
|
+
asshole
|
27
|
+
asshole
|
28
|
+
assholes
|
29
|
+
assmucus
|
30
|
+
assmunch
|
31
|
+
asswhole
|
32
|
+
autoerotic
|
33
|
+
b!tch
|
34
|
+
b00bs
|
35
|
+
b17ch
|
36
|
+
b1tch
|
37
|
+
ballbag
|
38
|
+
ballsack
|
39
|
+
bang (one's) box
|
40
|
+
bangbros
|
41
|
+
bareback
|
42
|
+
bastard
|
43
|
+
beastial
|
44
|
+
beastiality
|
45
|
+
beef curtain
|
46
|
+
bellend
|
47
|
+
bestial
|
48
|
+
bestiality
|
49
|
+
bi+ch
|
50
|
+
biatch
|
51
|
+
bimbos
|
52
|
+
birdlock
|
53
|
+
bitch
|
54
|
+
bitch tit
|
55
|
+
bitcher
|
56
|
+
bitchers
|
57
|
+
bitches
|
58
|
+
bitchin
|
59
|
+
bitching
|
60
|
+
bloody
|
61
|
+
blow job
|
62
|
+
blow me
|
63
|
+
blow mud
|
64
|
+
blowjob
|
65
|
+
blowjobs
|
66
|
+
blue waffle
|
67
|
+
blumpkin
|
68
|
+
boiolas
|
69
|
+
bollock
|
70
|
+
bollok
|
71
|
+
boner
|
72
|
+
boob
|
73
|
+
boobs
|
74
|
+
booobs
|
75
|
+
boooobs
|
76
|
+
booooobs
|
77
|
+
booooooobs
|
78
|
+
breasts
|
79
|
+
buceta
|
80
|
+
bugger
|
81
|
+
bum
|
82
|
+
bunny fucker
|
83
|
+
bust a load
|
84
|
+
busty
|
85
|
+
butt
|
86
|
+
butt fuck
|
87
|
+
butthole
|
88
|
+
buttmuch
|
89
|
+
buttplug
|
90
|
+
c0ck
|
91
|
+
c0cksucker
|
92
|
+
carpet muncher
|
93
|
+
carpetmuncher
|
94
|
+
cawk
|
95
|
+
chink
|
96
|
+
choade
|
97
|
+
chota bags
|
98
|
+
cipa
|
99
|
+
cl1t
|
100
|
+
clit
|
101
|
+
clit licker
|
102
|
+
clitoris
|
103
|
+
clits
|
104
|
+
clitty litter
|
105
|
+
clusterfuck
|
106
|
+
cnut
|
107
|
+
cock
|
108
|
+
cock pocket
|
109
|
+
cock snot
|
110
|
+
cockface
|
111
|
+
cockhead
|
112
|
+
cockmunch
|
113
|
+
cockmuncher
|
114
|
+
cocks
|
115
|
+
cocksuck
|
116
|
+
cocksucked
|
117
|
+
cocksucker
|
118
|
+
cock-sucker
|
119
|
+
cocksucking
|
120
|
+
cocksucks
|
121
|
+
cocksuka
|
122
|
+
cocksukka
|
123
|
+
cok
|
124
|
+
cokmuncher
|
125
|
+
coksucka
|
126
|
+
coon
|
127
|
+
cop some wood
|
128
|
+
cornhole
|
129
|
+
corp whore
|
130
|
+
cox
|
131
|
+
cum
|
132
|
+
cum chugger
|
133
|
+
cum dumpster
|
134
|
+
cum freak
|
135
|
+
cum guzzler
|
136
|
+
cumdump
|
137
|
+
cummer
|
138
|
+
cumming
|
139
|
+
cums
|
140
|
+
cumshot
|
141
|
+
cunilingus
|
142
|
+
cunillingus
|
143
|
+
cunnilingus
|
144
|
+
cunt
|
145
|
+
cunt hair
|
146
|
+
cuntbag
|
147
|
+
cuntlick
|
148
|
+
cuntlicker
|
149
|
+
cuntlicking
|
150
|
+
cunts
|
151
|
+
cuntsicle
|
152
|
+
cunt-struck
|
153
|
+
cut rope
|
154
|
+
cyalis
|
155
|
+
cyberfuc
|
156
|
+
cyberfuck
|
157
|
+
cyberfucked
|
158
|
+
cyberfucker
|
159
|
+
cyberfuckers
|
160
|
+
cyberfucking
|
161
|
+
d1ck
|
162
|
+
damn
|
163
|
+
dick
|
164
|
+
dick hole
|
165
|
+
dick shy
|
166
|
+
dickhead
|
167
|
+
dildo
|
168
|
+
dildos
|
169
|
+
dink
|
170
|
+
dinks
|
171
|
+
dirsa
|
172
|
+
dirty Sanchez
|
173
|
+
dlck
|
174
|
+
dog-fucker
|
175
|
+
doggie style
|
176
|
+
doggiestyle
|
177
|
+
doggin
|
178
|
+
dogging
|
179
|
+
donkeyribber
|
180
|
+
doosh
|
181
|
+
duche
|
182
|
+
dyke
|
183
|
+
eat a dick
|
184
|
+
eat hair pie
|
185
|
+
ejaculate
|
186
|
+
ejaculated
|
187
|
+
ejaculates
|
188
|
+
ejaculating
|
189
|
+
ejaculatings
|
190
|
+
ejaculation
|
191
|
+
ejakulate
|
192
|
+
erotic
|
193
|
+
f u c k
|
194
|
+
f u c k e r
|
195
|
+
f_u_c_k
|
196
|
+
f4nny
|
197
|
+
facial
|
198
|
+
fag
|
199
|
+
fagging
|
200
|
+
faggitt
|
201
|
+
faggot
|
202
|
+
faggs
|
203
|
+
fagot
|
204
|
+
fagots
|
205
|
+
fags
|
206
|
+
fanny
|
207
|
+
fannyflaps
|
208
|
+
fannyfucker
|
209
|
+
fanyy
|
210
|
+
fatass
|
211
|
+
fcuk
|
212
|
+
fcuker
|
213
|
+
fcuking
|
214
|
+
feck
|
215
|
+
fecker
|
216
|
+
felching
|
217
|
+
fellate
|
218
|
+
fellatio
|
219
|
+
fingerfuck
|
220
|
+
fingerfucked
|
221
|
+
fingerfucker
|
222
|
+
fingerfuckers
|
223
|
+
fingerfucking
|
224
|
+
fingerfucks
|
225
|
+
fist fuck
|
226
|
+
fistfuck
|
227
|
+
fistfucked
|
228
|
+
fistfucker
|
229
|
+
fistfuckers
|
230
|
+
fistfucking
|
231
|
+
fistfuckings
|
232
|
+
fistfucks
|
233
|
+
flange
|
234
|
+
flog the log
|
235
|
+
fook
|
236
|
+
fooker
|
237
|
+
fuck hole
|
238
|
+
fuck puppet
|
239
|
+
fuck trophy
|
240
|
+
fuck yo mama
|
241
|
+
fuck
|
242
|
+
fucka
|
243
|
+
fuck-ass
|
244
|
+
fuck-bitch
|
245
|
+
fucked
|
246
|
+
fucker
|
247
|
+
fuckers
|
248
|
+
fuckhead
|
249
|
+
fuckheads
|
250
|
+
fuckin
|
251
|
+
fucking
|
252
|
+
fuckings
|
253
|
+
fuckingshitmotherfucker
|
254
|
+
fuckme
|
255
|
+
fuckmeat
|
256
|
+
fucks
|
257
|
+
fucktoy
|
258
|
+
fuckwhit
|
259
|
+
fuckwit
|
260
|
+
fudge packer
|
261
|
+
fudgepacker
|
262
|
+
fuk
|
263
|
+
fuker
|
264
|
+
fukker
|
265
|
+
fukkin
|
266
|
+
fuks
|
267
|
+
fukwhit
|
268
|
+
fukwit
|
269
|
+
fux
|
270
|
+
fux0r
|
271
|
+
gangbang
|
272
|
+
gangbang
|
273
|
+
gang-bang
|
274
|
+
gangbanged
|
275
|
+
gangbangs
|
276
|
+
gassy ass
|
277
|
+
gaylord
|
278
|
+
gaysex
|
279
|
+
goatse
|
280
|
+
god
|
281
|
+
god damn
|
282
|
+
god-dam
|
283
|
+
goddamn
|
284
|
+
goddamned
|
285
|
+
god-damned
|
286
|
+
ham flap
|
287
|
+
hardcoresex
|
288
|
+
hell
|
289
|
+
heshe
|
290
|
+
hoar
|
291
|
+
hoare
|
292
|
+
hoer
|
293
|
+
homo
|
294
|
+
homoerotic
|
295
|
+
hore
|
296
|
+
horniest
|
297
|
+
horny
|
298
|
+
hotsex
|
299
|
+
how to kill
|
300
|
+
how to murdep
|
301
|
+
jackoff
|
302
|
+
jack-off
|
303
|
+
jap
|
304
|
+
jerk
|
305
|
+
jerk-off
|
306
|
+
jism
|
307
|
+
jiz
|
308
|
+
jizm
|
309
|
+
jizz
|
310
|
+
kawk
|
311
|
+
kinky Jesus
|
312
|
+
knob
|
313
|
+
knob end
|
314
|
+
knobead
|
315
|
+
knobed
|
316
|
+
knobend
|
317
|
+
knobend
|
318
|
+
knobhead
|
319
|
+
knobjocky
|
320
|
+
knobjokey
|
321
|
+
kock
|
322
|
+
kondum
|
323
|
+
kondums
|
324
|
+
kum
|
325
|
+
kummer
|
326
|
+
kumming
|
327
|
+
kums
|
328
|
+
kunilingus
|
329
|
+
kwif
|
330
|
+
l3i+ch
|
331
|
+
l3itch
|
332
|
+
labia
|
333
|
+
LEN
|
334
|
+
lmao
|
335
|
+
lmfao
|
336
|
+
lmfao
|
337
|
+
lust
|
338
|
+
lusting
|
339
|
+
m0f0
|
340
|
+
m0fo
|
341
|
+
m45terbate
|
342
|
+
ma5terb8
|
343
|
+
ma5terbate
|
344
|
+
mafugly
|
345
|
+
masochist
|
346
|
+
masterb8
|
347
|
+
masterbat
|
348
|
+
masterbat3
|
349
|
+
masterbate
|
350
|
+
master-bate
|
351
|
+
masterbation
|
352
|
+
masterbations
|
353
|
+
masturbate
|
354
|
+
mof0
|
355
|
+
mofo
|
356
|
+
mo-fo
|
357
|
+
mothafuck
|
358
|
+
mothafucka
|
359
|
+
mothafuckas
|
360
|
+
mothafuckaz
|
361
|
+
mothafucked
|
362
|
+
mothafucker
|
363
|
+
mothafuckers
|
364
|
+
mothafuckin
|
365
|
+
mothafucking
|
366
|
+
mothafuckings
|
367
|
+
mothafucks
|
368
|
+
mother fucker
|
369
|
+
mother fucker
|
370
|
+
motherfuck
|
371
|
+
motherfucked
|
372
|
+
motherfucker
|
373
|
+
motherfuckers
|
374
|
+
motherfuckin
|
375
|
+
motherfucking
|
376
|
+
motherfuckings
|
377
|
+
motherfuckka
|
378
|
+
motherfucks
|
379
|
+
muff
|
380
|
+
muff puff
|
381
|
+
mutha
|
382
|
+
muthafecker
|
383
|
+
muthafuckker
|
384
|
+
muther
|
385
|
+
mutherfucker
|
386
|
+
n1gga
|
387
|
+
n1gger
|
388
|
+
nazi
|
389
|
+
need the dick
|
390
|
+
nigg3r
|
391
|
+
nigg4h
|
392
|
+
nigga
|
393
|
+
niggah
|
394
|
+
niggas
|
395
|
+
niggaz
|
396
|
+
nigger
|
397
|
+
niggers
|
398
|
+
nob
|
399
|
+
nob jokey
|
400
|
+
nobhead
|
401
|
+
nobjocky
|
402
|
+
nobjokey
|
403
|
+
numbnuts
|
404
|
+
nut butter
|
405
|
+
nutsack
|
406
|
+
omg
|
407
|
+
orgasim
|
408
|
+
orgasims
|
409
|
+
orgasm
|
410
|
+
orgasms
|
411
|
+
p0rn
|
412
|
+
pawn
|
413
|
+
pecker
|
414
|
+
penis
|
415
|
+
penisfucker
|
416
|
+
phonesex
|
417
|
+
phuck
|
418
|
+
phuk
|
419
|
+
phuked
|
420
|
+
phuking
|
421
|
+
phukked
|
422
|
+
phukking
|
423
|
+
phuks
|
424
|
+
phuq
|
425
|
+
pigfucker
|
426
|
+
pimpis
|
427
|
+
piss
|
428
|
+
pissed
|
429
|
+
pisser
|
430
|
+
pissers
|
431
|
+
pisses
|
432
|
+
pissflaps
|
433
|
+
pissin
|
434
|
+
pissing
|
435
|
+
pissoff
|
436
|
+
poop
|
437
|
+
porn
|
438
|
+
porno
|
439
|
+
pornography
|
440
|
+
pornos
|
441
|
+
prick
|
442
|
+
pricks
|
443
|
+
pron
|
444
|
+
pube
|
445
|
+
pusse
|
446
|
+
pussi
|
447
|
+
pussies
|
448
|
+
pussy
|
449
|
+
pussy fart
|
450
|
+
pussy palace
|
451
|
+
pussys
|
452
|
+
queaf
|
453
|
+
queer
|
454
|
+
rectum
|
455
|
+
retard
|
456
|
+
rimjaw
|
457
|
+
rimming
|
458
|
+
s hit
|
459
|
+
s.o.b.
|
460
|
+
s_h_i_t
|
461
|
+
sadism
|
462
|
+
sadist
|
463
|
+
sandbar
|
464
|
+
sausage queen
|
465
|
+
schlong
|
466
|
+
screwing
|
467
|
+
scroat
|
468
|
+
scrote
|
469
|
+
scrotum
|
470
|
+
semen
|
471
|
+
sex
|
472
|
+
sh!+
|
473
|
+
sh!t
|
474
|
+
sh1t
|
475
|
+
shag
|
476
|
+
shagger
|
477
|
+
shaggin
|
478
|
+
shagging
|
479
|
+
shemale
|
480
|
+
shi+
|
481
|
+
shit
|
482
|
+
shit fucker
|
483
|
+
shitdick
|
484
|
+
shite
|
485
|
+
shited
|
486
|
+
shitey
|
487
|
+
shitfuck
|
488
|
+
shitfull
|
489
|
+
shithead
|
490
|
+
shiting
|
491
|
+
shitings
|
492
|
+
shits
|
493
|
+
shitted
|
494
|
+
shitter
|
495
|
+
shitters
|
496
|
+
shitting
|
497
|
+
shittings
|
498
|
+
shitty
|
499
|
+
skank
|
500
|
+
slope
|
501
|
+
slut
|
502
|
+
slut bucket
|
503
|
+
sluts
|
504
|
+
smegma
|
505
|
+
smut
|
506
|
+
snatch
|
507
|
+
son-of-a-bitch
|
508
|
+
spac
|
509
|
+
spunk
|
510
|
+
t1tt1e5
|
511
|
+
t1tties
|
512
|
+
teets
|
513
|
+
teez
|
514
|
+
testical
|
515
|
+
testicle
|
516
|
+
tit
|
517
|
+
tit wank
|
518
|
+
titfuck
|
519
|
+
tits
|
520
|
+
titt
|
521
|
+
tittie5
|
522
|
+
tittiefucker
|
523
|
+
titties
|
524
|
+
tittyfuck
|
525
|
+
tittywank
|
526
|
+
titwank
|
527
|
+
tosser
|
528
|
+
turd
|
529
|
+
tw4t
|
530
|
+
twat
|
531
|
+
twathead
|
532
|
+
twatty
|
533
|
+
twunt
|
534
|
+
twunter
|
535
|
+
v14gra
|
536
|
+
v1gra
|
537
|
+
vagina
|
538
|
+
viagra
|
539
|
+
vulva
|
540
|
+
w00se
|
541
|
+
wang
|
542
|
+
wank
|
543
|
+
wanker
|
544
|
+
wanky
|
545
|
+
whoar
|
546
|
+
whore
|
547
|
+
willies
|
548
|
+
willy
|
549
|
+
wtf
|
550
|
+
xrated
|
551
|
+
xxx
|
@@ -0,0 +1,36 @@
|
|
1
|
+
class BadwordTracker
|
2
|
+
|
3
|
+
|
4
|
+
def init
|
5
|
+
@matchfile =File.foreach(File.dirname(__FILE__) + '/badword.txt').map {|line| line.chomp }
|
6
|
+
@matchfile #["idiot", "4r5e"...]
|
7
|
+
end
|
8
|
+
|
9
|
+
def send_review_text(review_text)
|
10
|
+
@downcase=review_text.downcase
|
11
|
+
words_arr = @downcase.split(/(?:\s+|-)/)
|
12
|
+
words_arr #=@words = ["it", "is", "ass"]
|
13
|
+
end
|
14
|
+
|
15
|
+
def find_same_badword(input, arr_2) #["it", "is", "ass"]
|
16
|
+
output = []
|
17
|
+
input.each do |word|
|
18
|
+
arr_2.each do |s|
|
19
|
+
if (word.eql?(s))
|
20
|
+
output << word
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
24
|
+
output
|
25
|
+
end
|
26
|
+
|
27
|
+
def change_to_star(arr) #["ass", "fuck", "bitcher", "cawk"]
|
28
|
+
output = []
|
29
|
+
arr.each do |badword|
|
30
|
+
cw= badword.gsub(/[aeiou]/, "*")
|
31
|
+
output << cw
|
32
|
+
end
|
33
|
+
output
|
34
|
+
end
|
35
|
+
|
36
|
+
end
|
metadata
ADDED
@@ -0,0 +1,43 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: badword_tracker
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Eunkyoung
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2022-04-02 00:00:00.000000000 Z
|
12
|
+
dependencies: []
|
13
|
+
description: 'It helps to track badwords and change the vowel to Asterisk * '
|
14
|
+
email: hope-kim@hotmail.com
|
15
|
+
executables: []
|
16
|
+
extensions: []
|
17
|
+
extra_rdoc_files: []
|
18
|
+
files:
|
19
|
+
- lib/badword.txt
|
20
|
+
- lib/badword_tracker.rb
|
21
|
+
homepage:
|
22
|
+
licenses: []
|
23
|
+
metadata: {}
|
24
|
+
post_install_message:
|
25
|
+
rdoc_options: []
|
26
|
+
require_paths:
|
27
|
+
- lib
|
28
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
29
|
+
requirements:
|
30
|
+
- - ">="
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: '0'
|
33
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
34
|
+
requirements:
|
35
|
+
- - ">="
|
36
|
+
- !ruby/object:Gem::Version
|
37
|
+
version: '0'
|
38
|
+
requirements: []
|
39
|
+
rubygems_version: 3.0.3.1
|
40
|
+
signing_key:
|
41
|
+
specification_version: 4
|
42
|
+
summary: track badword and change it to *
|
43
|
+
test_files: []
|