profanity_filter icon indicating copy to clipboard operation
profanity_filter copied to clipboard

Added all of the other languages from LDNOOBW

Open 0x07dc opened this issue 5 years ago • 3 comments

Not sure if the english word list is the same as before. It was the most recent one on the LDNOOBW github

0x07dc avatar Feb 22 '20 00:02 0x07dc

That's awesome. Adding more languages will definitely help, so let's implement it by letting the user pick which languages they want to add to the list (English will be default, others can be optionally enabled). I've taken your commit and added it to the version at pr/1 branch of this repo.

roshanrahman avatar Feb 22 '20 14:02 roshanrahman

I am considering using this plugin but I would like to use if for non-english words aswell. Is there a reason why this PR has not been merged into main branch?

apalala-dev avatar Jul 24 '21 07:07 apalala-dev

Hi, while it will be helpful to have lists for other languages, the English list was originally intended to simply act as a default list (on which a custom list of blacklisted words could be made). I'll see if I can add the other languages as something the user can optionally import, whenever I have the time.

In the meantime, you can use the filterAdditionally() constructor and pass in a custom list of words that you want to check against, along with the English list.

roshanrahman avatar Aug 15 '21 14:08 roshanrahman