Bug Fix
- Fix false positives when profanity is a substring of a regular word — Words like
space,spacious,aerospace,workspacewere incorrectly flagged because the profanityspacmatched as a substring. Instead of adding more words to the false positives list, a systematic check now automatically skips pure alphabetic profanity matches embedded inside larger regular words.
Still detected
- Standalone profanity (
spac,fuck,ass) - Obfuscated variants (
sp@c,f-u-c-k,a$$) - Conjugated forms (
fucks,fucker,fuckings) - Compound profanity (
cuntfuck,fuckingshitcuntfuck) - Repeated-letter obfuscation (
ccuunntt,fuuuck)
No longer falsely flagged
- Any regular word containing a profanity substring (
space,spacious,aerospace,cocktails,class, etc.)
Closes #32