Support profanity levels #1
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Add support for multiple level of profanity detection.
e.g.
Where
fuck,bitchboobs,assadult,blood,period* Level 2 inherits from level 1 and level 3 inherits from level 2
Note that the strict filter would have a lot of false positive, but its goal would be to prevent as much bad things from getting by as possible, even at the cost of those false positives.
The point here is that by default, the level 1 filter should be used, but if you don't trust where the strings are coming from at all, then you can scale the filter's strictness based on the level of trust.
You could even let users censor based on the kind of profanity: hateful speech, simple vulgarity, etc. like https://github.com/finnbear/rustrict/blob/master/src/profanity.csv does.