Closed Akshar-code closed 3 years ago
You might want to read up on how this software works. It generates variations that add to the blocklist or detection list. Reversing the process might not yield as accurate of a result as compared to purely detecting word variations, as there will always be overlap with multiple curse words.
@BrandonKMLee is right. The library doesn't support uncensoring words (and probably won't in a long time).
The closest thing it can do to support your use case is to check whether a sentence has a variant of a profanity: profanity.contains_profanity('H4ndjob')
.
Hi, In this program, the swear words are replaced with asteriks, for example: F@@K will be shown as **** But i want change a sentence like "F@@k you" into "Fuck you"
How do i do this?