I dug and dug and found the setting on my LG G7. Go to: Settings, scroll down to Language & input, On-screen keyboard, Gboard, Text correction, Block offensive words. It works! I've spent a lot of time looking for this setting. What a pain. Jump through hoops. I swear that setting wasn't there before. Maybe came with an update. There is another setting that says the same thing but DOES NOT work. It's under Settings, Language & input, On-screen keyboard, Gboard, Voice typing, Offline speech recognition, Hide offensive words. Again, turning this off DID NOT fix it. Also I came across this same screen with this setting by digging through other Settings so beware. You have to find the first one I mentioned but it can't hurt to turn this one off too.