Skip to content
This repository has been archived by the owner on Jan 13, 2024. It is now read-only.

Commit

Permalink
Much better accuracy, fewer false positives.
Browse files Browse the repository at this point in the history
  • Loading branch information
finnbear committed Dec 20, 2020
1 parent 7ebd40c commit e8aacf2
Show file tree
Hide file tree
Showing 12 changed files with 8,535 additions and 56 deletions.
1 change: 1 addition & 0 deletions generator/.gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
clean.txt
dictionary.txt
dictionary_common.txt
dictionary_filtered.txt
7 changes: 5 additions & 2 deletions generator/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,8 @@ all: dictionary_filtered.txt ../wordlists.go
dictionary.txt:
wget -O dictionary.txt https://raw.githubusercontent.com/dwyl/english-words/master/words_alpha.txt

dictionary_filtered.txt ../wordlists.go: filter_dictionary.go dictionary.txt profanity.txt dictionary_blacklist.txt dictionary_extra.txt
go run filter_dictionary.go dictionary.txt profanity.txt dictionary_blacklist.txt dictionary_extra.txt dictionary_filtered.txt ../wordlists.go
dictionary_common.txt:
wget -O dictionary_common.txt https://raw.githubusercontent.com/first20hours/google-10000-english/master/google-10000-english.txt

dictionary_filtered.txt ../wordlists.go: filter_dictionary.go dictionary.txt dictionary_common.txt profanity.txt dictionary_blacklist.txt dictionary_extra.txt
go run filter_dictionary.go dictionary.txt dictionary_common.txt profanity.txt dictionary_blacklist.txt dictionary_extra.txt dictionary_filtered.txt ../wordlists.go
1 change: 1 addition & 0 deletions generator/dictionary_blacklist.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ jackass
nude(.*)
penises
poop(.*)
porn(.?)
prostitut(.*)
sex(.*)
shita
Expand Down
3 changes: 0 additions & 3 deletions generator/dictionary_extra.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
akshita
butthe
clitheroe
cockburn
harshitha
getit
magnacumlaude
isextreme
superbowlxxx
tysongay
190 changes: 152 additions & 38 deletions generator/filter_dictionary.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions generator/profanity.csv
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ felching,2
fuck,1
fudgepacker,2
flange,2
handjob,2
horny,2
incest,2
jerk,2
Expand Down
5 changes: 4 additions & 1 deletion generator/profanity.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ bollok
boner
boob
bugger
bullshit
butt
clitoris
cock
Expand All @@ -32,7 +33,9 @@ felching
fuck
fudgepacker
flange
handjob
horny
horseshit
incest
jerk
jizz
Expand All @@ -54,11 +57,11 @@ queer
rimjob
scrotum
semen
sex
shit
slut
spunk
suckmy
sex
tit
tohell
tosser
Expand Down
Loading

0 comments on commit e8aacf2

Please sign in to comment.