profanity-filter icon indicating copy to clipboard operation
profanity-filter copied to clipboard

Unable to mark words as not profane(Customization / English)

Open vyommartin opened this issue 3 years ago • 1 comments

Hey, I have been using the Library to classify english texts. The one problem I have been facing is that the tool is wrongly classifying words that have devil, hell or allah in it. I was wondering if I can remove those from the Library's Dictionary. Thanks, Vyom

vyommartin avatar Feb 10 '21 10:02 vyommartin

Hi! Unfortunately, there is no easy way to do it. I would suggest you fork the repo and modify profanity_filter/data/en_profane_words.txt.

rominf avatar Feb 10 '21 17:02 rominf