Open hoanguel opened 6 years ago
Supposed we have a dictionary like this:
[ { "language": "en", "word": "wrapping men" }, { "language": "en", "word": "wrinkled starfish" }, ]
Can we have the badWords() to pick out only these whole strings. For example:
Sentence 1: a men is wrapping gift -> no problem Sentence 2: a gift is wrapping men -> bad words detected -> Result ["language" => "en", "word" =>"wrapping men"]
Thank you!
Supposed we have a dictionary like this:
[ { "language": "en", "word": "wrapping men" }, { "language": "en", "word": "wrinkled starfish" }, ]
Can we have the badWords() to pick out only these whole strings. For example:
Sentence 1: a men is wrapping gift -> no problem Sentence 2: a gift is wrapping men -> bad words detected -> Result ["language" => "en", "word" =>"wrapping men"]
Thank you!