[feature] Add support for dictionary selection, add a racist words list#6
[feature] Add support for dictionary selection, add a racist words list#6decompil3d wants to merge 2 commits intonickgarlis:masterfrom
Conversation
|
@decompil3d Hi, apologies for the delay, I so missed this PR. Thanks for making this change ! It looks like a very useful feature. I was wondering if you think it would also make sense to also let users provide their own custom list in the I will merge your PR once I fix the failing pipelines. |
|
Yup, definitely valuable to allow custom dictionaries longer term. It would be great to be able to have an optional field for explanation of why a word is disallowed. I think most people understand profanity, but when we look at things like non-inclusive language, it can get more murky. I'm happy to do further PRs after this one is merged. Also happy to help maintain the project longer-term if you'd like assistance. |
|
@decompil3d Absolutely ! I just added you as a collaborator with push access to the repo :) |
|
@nickgarlis Looks like you got CI working. I fixed the linter error, so all is passing now. Also, looks like CI might be trying to do deployment, but failing due to a missing env var. I assume that you don't want that to happen on branches, only on |
|
Howdy -- it's been a while, but I was hoping to turn some attention back to this. @nickgarlis - are you still running & supporting this app? |
Hi there -- thanks for writing this. I'd like to add the option to select dictionaries of forbidden words, with the eventual goal of adding more dictionary options such as non-inclusive terms (e.g. gendered language, etc). Since some repos might have different standards they'd like to maintain regarding language, dictionaries allow that freedom.
This first step simply adds a
dictionariesoption, renames the existingconfig/blacklist.jsonfile todictionaries/profanity.json, and adds a new racist terms dictionary.Please let me know if you'd like any changes to my contribution. I tried to match your code style as much as possible. Thanks!