Closed andrey-helldar closed 5 months ago
The word am
(unfortunately) is in the dictionary for language tr
.
By not being able to select a specific language when checking, it would mark any string containing a I am
as profane, which makes it pretty much unusable for the English language :(
I would propose to remove this word - or add an option to specify the language you want to filter.
I have solved this by making my own copy of the dictionary and removing it.
+1
I think we need 2 helper methods to extend the dictionary during runtime while keeping the default dictionary similar to https://www.npmjs.com/package/bad-words
->removeWords(['am']);
->addWords(['fucker']);
consoletvs/profanity
3.1.0
I write:
I get: