Skip to content

Commit 66fcbee

Browse files
committed
Fix #28.
1 parent 96d2fce commit 66fcbee

File tree

4 files changed

+29
-2
lines changed

4 files changed

+29
-2
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ is used as a dataset. Positive accuracy is the percentage of profanity detected
177177

178178
| Crate | Accuracy | Positive Accuracy | Negative Accuracy | Time |
179179
|-------|----------|-------------------|-------------------|------|
180-
| [rustrict](https://crates.io/crates/rustrict) | 79.74% | 94.00% | 76.19% | 9s |
180+
| [rustrict](https://crates.io/crates/rustrict) | 79.78% | 94.00% | 76.23% | 9s |
181181
| [censor](https://crates.io/crates/censor) | 76.16% | 72.76% | 77.01% | 23s |
182182

183183
## Development

src/dictionary_extra.txt

+9
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ admit it's
3131
ain't it
3232
alt
3333
an ai
34+
and ill do
3435
anna
3536
anna!
3637
anna!!
@@ -91,6 +92,7 @@ freakin
9192
fuchs dystrophy
9293
fugia
9394
gaya
95+
ght, its
9496
glhf
9597
graham cracker
9698
graham crackers
@@ -115,6 +117,7 @@ honkeytonk
115117
honkey tonk
116118
honkey-tonk
117119
hugger s
120+
hurt, its
118121
i am a jew
119122
i am gay
120123
i'd like
@@ -129,6 +132,7 @@ in 199
129132
in june
130133
irl
131134
isn't it
135+
it, its
132136
it's a hole
133137
jarse
134138
a jewish
@@ -156,11 +160,13 @@ kian
156160
kill ike
157161
killian
158162
kshatr
163+
last? it
159164
lmao
160165
lol
161166
magnacumlaude
162167
maine coon
163168
make a hole
169+
s expired
164170
minigame
165171
mini game
166172
n't eat
@@ -194,7 +200,9 @@ puss in boots
194200
ref'd
195201
refresh at
196202
rip
203+
s a distance
197204
saturated fat
205+
see me now
198206
shoehorn your
199207
shouldn't it
200208
since 1
@@ -238,6 +246,7 @@ virgin group
238246
virgin islands
239247
wassup
240248
wasn't it
249+
wish i t
241250
wouldn't it
242251
xp or no
243252
yass

src/false_positives.txt

+9
Original file line numberDiff line numberDiff line change
@@ -7211,6 +7211,7 @@ geyser
72117211
ghastful
72127212
ghettoized
72137213
ghettoizes
7214+
ght, its
72147215
giansar
72157216
gibbals
72167217
gid dicke
@@ -8789,6 +8790,7 @@ hunt titles
87898790
hunt wat
87908791
hunt wats
87918792
hunt watts
8793+
hurt, its
87928794
husbandable
87938795
husbandage
87948796
husbanded
@@ -9387,6 +9389,7 @@ it titles
93879389
it wat
93889390
it wats
93899391
it watts
9392+
it, its
93909393
italiano life
93919394
italiano parents
93929395
italic cocktail
@@ -10253,6 +10256,7 @@ lasses hit
1025310256
lasses lut
1025410257
lasses perm
1025510258
lasses seeks
10259+
last? it
1025610260
latebra
1025710261
latinas hole
1025810262
latitude flower
@@ -11854,6 +11858,7 @@ nc untitled
1185411858
nc unto
1185511859
ncaa strate
1185611860
nd dicke
11861+
nd ill do
1185711862
nd licking
1185811863
nd ongoing
1185911864
nebbish
@@ -15572,6 +15577,8 @@ rusts lut
1557215577
rusts perm
1557315578
rusts seeks
1557415579
ruth little
15580+
s a distance
15581+
s expired
1557515582
sabra
1557615583
saccadic
1557715584
saccoon
@@ -15907,6 +15914,7 @@ sects hit
1590715914
sects lut
1590815915
sects perm
1590915916
sects seeks
15917+
see me no
1591015918
seek chi
1591115919
seek cocktail
1591215920
seek commission
@@ -19683,6 +19691,7 @@ wise assumpt
1968319691
wise assurance
1968419692
wise assure
1968519693
wisecracker
19694+
wish i t
1968619695
wisht
1968719696
wiskinky
1968819697
wiss cumulative

src/test_negative.txt

+10-1
Original file line numberDiff line numberDiff line change
@@ -135,4 +135,13 @@ i'll send you to hello
135135
I could say I miss you but it’s not the truth
136136
same as 5 apples
137137
4 secs so
138-
Porsche 911
138+
Porsche 911
139+
'Cause there's a distance now
140+
(It's alright, it's alright, it's alright to start from the bottom)
141+
And I'll do my duty
142+
my mind's expired
143+
I wish I take it back
144+
could see me now
145+
hurt, it's gonna
146+
to last? It fell
147+
don't get it, it's my

0 commit comments

Comments
 (0)