Skip to content

Commit 61b6cd7

Browse files
committed
Fix #23 - improve wordlists and release 0.7.23
1 parent 734830f commit 61b6cd7

File tree

6 files changed

+741
-19
lines changed

6 files changed

+741
-19
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "rustrict"
33
authors = ["Finn Bear"]
4-
version = "0.7.22"
4+
version = "0.7.23"
55
edition = "2021"
66
license = "MIT OR Apache-2.0"
77
repository = "https://github.com/finnbear/rustrict/"

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ is used as a dataset. Positive accuracy is the percentage of profanity detected
178178

179179
| Crate | Accuracy | Positive Accuracy | Negative Accuracy | Time |
180180
|-------|----------|-------------------|-------------------|------|
181-
| [rustrict](https://crates.io/crates/rustrict) | 79.81% | 93.99% | 76.27% | 8s |
181+
| [rustrict](https://crates.io/crates/rustrict) | 79.81% | 93.99% | 76.27% | 9s |
182182
| [censor](https://crates.io/crates/censor) | 76.16% | 72.76% | 77.01% | 23s |
183183

184184
## Development

src/false_positives.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17641,6 +17641,8 @@ terrapene
1764117641
terrible peer
1764217642
terror ist
1764317643
terror list
17644+
terror organizational
17645+
terror organizations
1764417646
terroristic
1764517647
test esc
1764617648
test esp

src/profanity.csv

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ word,profane,offensive,sexual,mean,evasive
66
,0,2,0,0,0
77
,0,2,0,0,0
88
,0,1,0,0,0
9+
,0,0,2,0,1
910
🖕,1,0,0,0,1
1011
🍆,0,0,1,0,1
1112
🍆💦,1,0,3,0,1
@@ -854,6 +855,8 @@ idolfhatler,0,2,0,0,2
854855
ifkdurmum,2,2,3,2,2
855856
igger,3,3,0,0,0
856857
i have ED,0,0,1,0,1
858+
i hope your father dies,0,1,0,2,1
859+
i hope your mother dies,0,1,0,2,1
857860
ima negro,0,1,0,0,1
858861
imbecil,0,0,0,2,0
859862
impregnate,0,0,1,0,0
@@ -1676,6 +1679,7 @@ teabaging,0,0,1,0,0
16761679
teats,0,0,1,0,0
16771680
teets,0,0,1,0,0
16781681
terrorist,0,1,0,0,0
1682+
terror organization,0,1,0,0,0
16791683
testes,0,0,2,0,1
16801684
testical,0,0,3,0,1
16811685
testicle,0,0,3,0,0
@@ -1810,6 +1814,7 @@ weiner,0,0,1,0,0
18101814
welcher,0,0,0,1,0
18111815
wench,0,0,1,0,0
18121816
weirdo,0,0,0,1,0
1817+
wermacht,0,1,0,0,0
18131818
wetback,0,1,0,0,0
18141819
wetdream,0,0,1,0,0
18151820
whank,0,0,3,0,1

0 commit comments

Comments
 (0)