I am currently trying to build a curse word filter for my app, since it has a publicly available chat system.
I’ve stumbled upon a problem though, and that involves checking the database for curse words. When I say a curse word without any other words around it, it successfully detects it and warns me. But, when I do example: “Test (badword)” it doesn’t warn me.
My workflow for it right now is: