Skip to content
This repository has been archived by the owner on Feb 28, 2021. It is now read-only.

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

Open
vyommartin opened this issue Feb 10, 2021 · 1 comment
Open

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

vyommartin opened this issue Feb 10, 2021 · 1 comment

Comments

@vyommartin
Copy link

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

@rominf
Copy link
Owner

rominf commented Feb 10, 2021

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants