ProfanityFilter
ProfanityFilter copied to clipboard
Update feature
- adding new feature
cleanWords
to mask only the bad words, not all sentences - can customize character for bad words replacement
- can get a bad word found, for ex. to inform user what is the bad word
Actually this cleanWords
can be implemented to solve issue #20 but to give the backward compability with old version, I make it as new feature
Thanks @arif-rh, I'll have a look at this later today to see if we can get it in. I'm thinking probably as version 2 release feature so that we don't have to have a separate function call.
Yeah, I could understand it. So while waiting the version 2, I have made my version with this feature and also adding whitelist for fixing #21 .
Should I closed this?
Typing fuck1 or anything with profane word bypasses the filter.