This looks awful. I've come to realize that any feature with "smart" anywhere in the name, is something I want disabled. Smart quotes? Only exist to fuck up copypasta code and SQL statements. Smart spell check? There's a field of internet hilarity about how bad this is. Smart restore? Best way to lose my data and fuck up my install. Smart assistant? I've yet to meet even one person who uses GAssistant/Siri/Cortana fo…
Related to this, I recently found the option that controls whether the system from recommends or corrects to offensive words. It's buried under:
Settings > System > Languages & input > Virtual Keyboard > Gboard (more than likely for most) > Text correction > Block offensive words.
The same option exists for Google voice input. Wonder if there's something similar for your issue.