Skip to content

Commit

Permalink
Fix #28.
Browse files Browse the repository at this point in the history
  • Loading branch information
finnbear committed Sep 22, 2024
1 parent 96d2fce commit 66fcbee
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,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) | 79.74% | 94.00% | 76.19% | 9s |
| [rustrict](https://crates.io/crates/rustrict) | 79.78% | 94.00% | 76.23% | 9s |
| [censor](https://crates.io/crates/censor) | 76.16% | 72.76% | 77.01% | 23s |

## Development
Expand Down
9 changes: 9 additions & 0 deletions src/dictionary_extra.txt
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ admit it's
ain't it
alt
an ai
and ill do
anna
anna!
anna!!
Expand Down Expand Up @@ -91,6 +92,7 @@ freakin
fuchs dystrophy
fugia
gaya
ght, its
glhf
graham cracker
graham crackers
Expand All @@ -115,6 +117,7 @@ honkeytonk
honkey tonk
honkey-tonk
hugger s
hurt, its
i am a jew
i am gay
i'd like
Expand All @@ -129,6 +132,7 @@ in 199
in june
irl
isn't it
it, its
it's a hole
jarse
a jewish
Expand Down Expand Up @@ -156,11 +160,13 @@ kian
kill ike
killian
kshatr
last? it
lmao
lol
magnacumlaude
maine coon
make a hole
s expired
minigame
mini game
n't eat
Expand Down Expand Up @@ -194,7 +200,9 @@ puss in boots
ref'd
refresh at
rip
s a distance
saturated fat
see me now
shoehorn your
shouldn't it
since 1
Expand Down Expand Up @@ -238,6 +246,7 @@ virgin group
virgin islands
wassup
wasn't it
wish i t
wouldn't it
xp or no
yass
Expand Down
9 changes: 9 additions & 0 deletions src/false_positives.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7211,6 +7211,7 @@ geyser
ghastful
ghettoized
ghettoizes
ght, its
giansar
gibbals
gid dicke
Expand Down Expand Up @@ -8789,6 +8790,7 @@ hunt titles
hunt wat
hunt wats
hunt watts
hurt, its
husbandable
husbandage
husbanded
Expand Down Expand Up @@ -9387,6 +9389,7 @@ it titles
it wat
it wats
it watts
it, its
italiano life
italiano parents
italic cocktail
Expand Down Expand Up @@ -10253,6 +10256,7 @@ lasses hit
lasses lut
lasses perm
lasses seeks
last? it
latebra
latinas hole
latitude flower
Expand Down Expand Up @@ -11854,6 +11858,7 @@ nc untitled
nc unto
ncaa strate
nd dicke
nd ill do
nd licking
nd ongoing
nebbish
Expand Down Expand Up @@ -15572,6 +15577,8 @@ rusts lut
rusts perm
rusts seeks
ruth little
s a distance
s expired
sabra
saccadic
saccoon
Expand Down Expand Up @@ -15907,6 +15914,7 @@ sects hit
sects lut
sects perm
sects seeks
see me no
seek chi
seek cocktail
seek commission
Expand Down Expand Up @@ -19683,6 +19691,7 @@ wise assumpt
wise assurance
wise assure
wisecracker
wish i t
wisht
wiskinky
wiss cumulative
Expand Down
11 changes: 10 additions & 1 deletion src/test_negative.txt
Original file line number Diff line number Diff line change
Expand Up @@ -135,4 +135,13 @@ i'll send you to hello
I could say I miss you but it’s not the truth
same as 5 apples
4 secs so
Porsche 911
Porsche 911
'Cause there's a distance now
(It's alright, it's alright, it's alright to start from the bottom)
And I'll do my duty
my mind's expired
I wish I take it back
could see me now
hurt, it's gonna
to last? It fell
don't get it, it's my

0 comments on commit 66fcbee

Please sign in to comment.