Open
Description
Have a look at the following snippet from linqpad. Why is profanity detected when the ContainsProfanity returns false? Seems to be a bug.
var text = "I am swearing by God's name";
var filter = new ProfanityFilter.ProfanityFilter();
filter.ContainsProfanity(text).Dump(); //returns false
filter.DetectAllProfanities(text, true).Dump() //returns god
Metadata
Assignees
Labels
No labels
Activity