Skip to content

Commit

Permalink
Improve wordlists (0.7.15).
Browse files Browse the repository at this point in the history
  • Loading branch information
finnbear committed Nov 19, 2023
1 parent 9fcea77 commit 942431c
Show file tree
Hide file tree
Showing 7 changed files with 52 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "rustrict"
authors = ["Finn Bear"]
version = "0.7.14"
version = "0.7.15"
edition = "2021"
license = "MIT OR Apache-2.0"
repository = "https://github.com/finnbear/rustrict/"
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ is used as a dataset. Positive accuracy is the percentage of profanity detected

| Crate | Accuracy | Positive Accuracy | Negative Accuracy | Time |
|-------|----------|-------------------|-------------------|------|
| [rustrict](https://crates.io/crates/rustrict) | 87.91% | 93.32% | 86.56% | 8s |
| [rustrict](https://crates.io/crates/rustrict) | 87.90% | 93.33% | 86.55% | 8s |
| [censor](https://crates.io/crates/censor) | 76.16% | 72.76% | 77.01% | 23s |

## Development
Expand Down
1 change: 1 addition & 0 deletions src/dictionary_extra.txt
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,7 @@ too heli
to helicopter
too helicopter
to helios
to hello
trans fat
tldr
ttyl
Expand Down
4 changes: 4 additions & 0 deletions src/false_positives.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1276,6 +1276,7 @@ backhoes
backhooker
backs croat
backs perm
badassed
badge yest
bags croat
bags perm
Expand Down Expand Up @@ -4606,6 +4607,8 @@ flexible nine
flexible nintendo
flexible peer
flexible per
flicked
flicker
flicking
flickr example
flickr examples
Expand Down Expand Up @@ -12745,6 +12748,7 @@ tjurunga
to heli
to helicopt
to helio
to hello
to jewish
to vary
tobacco ital
Expand Down
24 changes: 22 additions & 2 deletions src/profanity.csv
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ aregae,0,2,0,0,1
aregay,0,2,0,0,0
are idiots,0,1,0,0,0
areola,0,0,1,0,0
arschloch,2,0,0,0,0
arse,2,0,0,0,0
arsehead,2,0,0,2,0
arsehol,2,0,0,0,0
Expand Down Expand Up @@ -83,6 +84,7 @@ b word,1,0,0,0,1
babe,0,0,1,0,0
babeland,0,0,2,0,1
babybatter,0,0,2,0,2
badass,1,0,0,0,0
bad lay,0,0,2,1,0
bafangu chooch,0,0,2,0,0
bangbros,0,0,2,0,1
Expand Down Expand Up @@ -139,6 +141,8 @@ bigblack,0,1,0,0,0
bigknockers,0,0,2,0,1
bigcoc,1,0,2,0,1
bigdaddy,0,0,1,0,1
bigdik,1,0,1,0,1
bigdiq,1,0,1,0,1
bigduck,1,0,1,0,1
biggerduck,1,0,1,1,1
biggestduck,1,0,1,1,1
Expand Down Expand Up @@ -239,6 +243,7 @@ castration,0,0,2,0,0
cawks,1,0,1,0,1
cazata,2,0,0,0,0
cazzo,1,0,1,0,0
cds nuts,0,0,1,0,1
cervix,0,0,1,0,0
cheap lay,0,0,2,0,0
cheep lay,0,0,2,0,0
Expand Down Expand Up @@ -355,6 +360,7 @@ dimwit,0,1,0,2,0
dingleberry,1,0,0,0,0
dipship,0,0,1,0,1
dipshit,2,0,0,2,0
diqinmy,1,0,2,0,1
dirtypillows,0,0,1,0,1
dirtysanchez,0,0,1,0,0
diz nut,1,0,0,0,2
Expand Down Expand Up @@ -489,6 +495,7 @@ fhuck,2,0,2,0,2
fhucked,2,0,1,0,2
fhucker,2,0,2,2,2
fhucking,2,0,2,0,2
ficke,1,0,1,0,0
ficking,2,0,2,0,2
figging,0,0,2,0,0
fing,1,0,1,0,1
Expand All @@ -497,6 +504,7 @@ finger u,0,0,2,0,1
fingeryou,0,0,2,0,0
fingering,0,0,1,0,0
fis de put,2,0,2,3,1
fisdepute,2,0,2,3,0
fis put,2,0,2,3,1
fisting,0,0,1,0,0
fk,2,0,2,0,1
Expand Down Expand Up @@ -680,6 +688,7 @@ hate chinese,0,2,0,2,0
hate mexi,0,1,0,1,0
hate mexican,0,1,0,1,0
hator,0,0,0,2,2
havesex,0,0,2,0,0
hayt,0,0,0,2,2
hebephilia,0,0,2,0,0
heil hit,0,1,0,0,0
Expand Down Expand Up @@ -752,6 +761,7 @@ hump yo mama,0,0,2,2,1
hump woman,0,0,2,0,0
hump women,0,0,2,0,0
hump you,0,0,2,0,0
hurensohn,1,2,1,0,0
husband,0,0,1,0,0
hussy,0,1,1,0,0
hymen,0,0,2,0,0
Expand Down Expand Up @@ -785,6 +795,7 @@ jackshit,2,0,0,0,0
jailbait,0,0,2,0,0
jap,0,1,0,0,0
japs,0,1,0,0,0
jecoucheravec,0,0,1,0,0
jerk,0,0,0,1,0
jerkoff,0,0,2,1,0
jew,0,1,0,0,0
Expand Down Expand Up @@ -1087,6 +1098,8 @@ nigr,2,3,0,0,2
nigs,2,3,0,0,1
nihgar,3,5,0,0,2
nihger,3,5,0,0,2
nijja,2,3,0,0,2
nijjer,3,5,0,0,2
nimpho,0,0,1,0,1
nimphomania,0,0,2,0,1
nippas,2,3,0,0,2
Expand Down Expand Up @@ -1327,6 +1340,7 @@ salope,0,2,2,0,0
scank,0,1,1,0,1
scantily,0,0,1,0,0
scantilyclad,0,0,2,0,0
scheiBe,1,0,0,0,0
schizo,0,1,0,1,1
schlong,1,0,1,0,0
schoolshooting,2,0,0,0,0
Expand Down Expand Up @@ -1422,8 +1436,14 @@ slut,0,2,2,0,0
smallD,2,0,2,2,2
small dick,2,0,2,2,0
small dk,2,0,2,2,2
smash woman,0,0,2,0,0
smash women,0,0,2,0,0
smashingman,0,0,2,0,1
smashingmen,0,0,2,0,1
smashingwoman,0,0,2,0,1
smashingwomen,0,0,2,0,1
smashingyou,0,0,1,0,1
smash men,0,0,2,0,1
smash woman,0,0,2,0,1
smash women,0,0,2,0,1
smegma,0,0,1,0,0
smoke crack,1,0,0,0,0
smoking crack,1,0,0,1,0
Expand Down
3 changes: 2 additions & 1 deletion src/test_negative.txt
Original file line number Diff line number Diff line change
Expand Up @@ -129,4 +129,5 @@ don't eat me
couldn't eat me
won't eat me
test test test
test test test test
test test test test
to hello
22 changes: 21 additions & 1 deletion src/test_positive.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2670,4 +2670,24 @@ cumInMePls
cumming
feelyourbody
kissmyass
yourass
yourass
nijjer
diq in my mouff
myass
mycum
ihateblackmen
ihateblackpeople
havesexnow
havesexrn
havesexrightnow
badass
cds nuts
hateyou
arschloch
hurensohn
fisde pute
ficke
je coucher avec
smashing you
Scheiße
big diq

0 comments on commit 942431c

Please sign in to comment.