From 489245d987d3287492d0a091a0ac091511c6ac40 Mon Sep 17 00:00:00 2001 From: Finn Bear Date: Sun, 1 Dec 2024 11:19:54 -0800 Subject: [PATCH] 0.7.33 wordlist improvements. --- Cargo.toml | 2 +- src/context.rs | 3 ++- src/dictionary_extra.txt | 1 + src/false_positives.txt | 3 +-- src/profanity.csv | 10 +++++++++- src/test_negative.txt | 4 +++- src/test_positive.txt | 4 ++++ 7 files changed, 21 insertions(+), 6 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 6d47df9..4cb1579 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "rustrict" authors = ["Finn Bear"] -version = "0.7.32" +version = "0.7.33" edition = "2021" license = "MIT OR Apache-2.0" repository = "https://github.com/finnbear/rustrict/" diff --git a/src/context.rs b/src/context.rs index 3b7f66f..27ee7da 100644 --- a/src/context.rs +++ b/src/context.rs @@ -516,8 +516,9 @@ impl Context { self.reports as usize } - /// Clear suspicion and reports, and automatic mutes (not manual mute or rate limit). + /// Clear suspicion, reports, inappropriate counter, and automatic mutes (not manual mute or rate limit). pub fn exonerate(&mut self) { + self.total_inappropriate = 0; self.suspicion = 0; self.reports = 0; self.only_safe_until = None; diff --git a/src/dictionary_extra.txt b/src/dictionary_extra.txt index fa9f7fc..f504d90 100644 --- a/src/dictionary_extra.txt +++ b/src/dictionary_extra.txt @@ -254,6 +254,7 @@ wassup wasn't it wish i t wouldn't it +xD i do xp or no yass yesturday diff --git a/src/false_positives.txt b/src/false_positives.txt index c267fd1..9e97e5d 100644 --- a/src/false_positives.txt +++ b/src/false_positives.txt @@ -19109,7 +19109,6 @@ vacancies lut vacancies perm vacancies seeks vacuum bubble -vacuum ed vacuum er vacuum exercise vacuum ing @@ -19812,6 +19811,7 @@ wuzzer wuzzle wuzzling wuzzy +xD i do xanthate xanthocephalus xnxx ceil @@ -19936,7 +19936,6 @@ xnxx loving xnxx low xnxx lu xnxx ly -xnxx med xnxx mixing xnxx or xnxx ps diff --git a/src/profanity.csv b/src/profanity.csv index d3e66a7..9ae8e9f 100644 --- a/src/profanity.csv +++ b/src/profanity.csv @@ -20,13 +20,17 @@ word,profane,offensive,sexual,mean,evasive πŸ‘‰πŸ‘Œ,0,0,2,0,0 π“‚Έ,0,0,2,0,3 π“‚Ί,0,0,2,0,3 +π“‚Ή,0,0,2,0,3 𓀐,0,0,1,0,2 𓃗,0,0,1,0,1 +𐀒,0,0,1,0,1 +╰⋃╯,0,0,1,0,1 πŸ”ž,0,0,1,0,1 _l_,1,0,2,0,1 Β°α€™Β°,1,0,1,0,2 (.)(.),0,0,1,0,1 (⏝!⏝),0,0,1,0,1 +(β€ΏΛ β€Ώ),0,0,1,0,1 2g1c,0,0,2,0,1 2girls1cup,0,0,2,0,1 3==D,0,0,2,0,1 @@ -389,7 +393,8 @@ cuck,0,0,2,0,0 cumbubble,0,0,3,0,0 cumbucket,0,2,3,0,0 cumer,0,0,3,0,1 -cumed,0,0,3,0,0 + cumed,0,0,2,0,0 +cummed,0,0,3,0,0 cumgoblin,0,0,3,0,0 cumguzler,0,0,3,0,0 cuming,0,0,3,0,0 @@ -979,6 +984,9 @@ irection,0,0,1,0,1 isgay,0,2,0,0,0 islamhater,0,1,0,0,1 israeldid911,0,2,0,0,1 +israeldid9ll,0,2,0,0,1 +isrealdid911,0,2,0,0,2 +isrealdid9ll,0,2,0,0,2 jackass,1,0,0,1,0 jackoff,0,0,2,0,0 jackshit,2,0,0,0,0 diff --git a/src/test_negative.txt b/src/test_negative.txt index 73c1bbc..ff43308 100644 --- a/src/test_negative.txt +++ b/src/test_negative.txt @@ -144,4 +144,6 @@ 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 \ No newline at end of file +don't get it, it's my +xD i do +VVrmk 1v1 me ;D diff --git a/src/test_positive.txt b/src/test_positive.txt index e635871..6ea735b 100644 --- a/src/test_positive.txt +++ b/src/test_positive.txt @@ -2731,3 +2731,7 @@ irap3kids I hate trans DIAHRREA WAFFLES COMEEEE INSIDEEEEE MEEEE +(β€ΏΛ β€Ώ) +╰⋃╯ +Sugar_†its +1sra3ldid9ll \ No newline at end of file