Skip to content

Commit

Permalink
Fix #23 - improve wordlists and release 0.7.23
Browse files Browse the repository at this point in the history
  • Loading branch information
finnbear committed Mar 15, 2024
1 parent 734830f commit 61b6cd7
Show file tree
Hide file tree
Showing 6 changed files with 741 additions and 19 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.22"
version = "0.7.23"
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 @@ -178,7 +178,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.81% | 93.99% | 76.27% | 8s |
| [rustrict](https://crates.io/crates/rustrict) | 79.81% | 93.99% | 76.27% | 9s |
| [censor](https://crates.io/crates/censor) | 76.16% | 72.76% | 77.01% | 23s |

## Development
Expand Down
2 changes: 2 additions & 0 deletions src/false_positives.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17641,6 +17641,8 @@ terrapene
terrible peer
terror ist
terror list
terror organizational
terror organizations
terroristic
test esc
test esp
Expand Down
5 changes: 5 additions & 0 deletions src/profanity.csv
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ word,profane,offensive,sexual,mean,evasive
࿗,0,2,0,0,0
࿘,0,2,0,0,0
✠,0,1,0,0,0
≬,0,0,2,0,1
🖕,1,0,0,0,1
🍆,0,0,1,0,1
🍆💦,1,0,3,0,1
Expand Down Expand Up @@ -854,6 +855,8 @@ idolfhatler,0,2,0,0,2
ifkdurmum,2,2,3,2,2
igger,3,3,0,0,0
i have ED,0,0,1,0,1
i hope your father dies,0,1,0,2,1
i hope your mother dies,0,1,0,2,1
ima negro,0,1,0,0,1
imbecil,0,0,0,2,0
impregnate,0,0,1,0,0
Expand Down Expand Up @@ -1676,6 +1679,7 @@ teabaging,0,0,1,0,0
teats,0,0,1,0,0
teets,0,0,1,0,0
terrorist,0,1,0,0,0
terror organization,0,1,0,0,0
testes,0,0,2,0,1
testical,0,0,3,0,1
testicle,0,0,3,0,0
Expand Down Expand Up @@ -1810,6 +1814,7 @@ weiner,0,0,1,0,0
welcher,0,0,0,1,0
wench,0,0,1,0,0
weirdo,0,0,0,1,0
wermacht,0,1,0,0,0
wetback,0,1,0,0,0
wetdream,0,0,1,0,0
whank,0,0,3,0,1
Expand Down
Loading

0 comments on commit 61b6cd7

Please sign in to comment.