Open epexa opened 3 years ago
Hi @epexa, it's understandable wanting to return the censored string that way. When I built this repo the feature I was going for didn't involve censoring the string, only detecting the number of forbidden words, so this feature was not something I thought about.
However, you can submit a PR implementing this on your own (as I'm busy with other projects right now) and I'll gladly review and merge it. Thank you for checking out the filter by the way!
Implement method to replace stringToCheck to censor and return the finished string.
Like tihs: