I was dating an ESI-Fi who had been married to an auto worker in Flint, Michigan, for many years, and she had acquired his effortless racist speech. Once, when she was talking about her husband, she said that the neighborhood where he lived was full of n******.
Most of the circuit breakers in my head tripped out when I heard her say that. I slapped my forehead and said "You can't say that. That neighborhood is bad because the people who live there are poor."
She immediately looked panicky because she's not, fundamentally, racist. I've watched her on dates and she looks at people as people, even though her speech is full of terms which would not fly in my social circles. You know how some women acquire the political beliefs of their husband, without actually incorporating them into themselves? I think she's like this.
So, she immediately said "Oh! You're right. That neighborhood is poor." And then she made a mark in her brain, like someone does when they find out how to spell a word they've been mispronouncing, and we moved on.
Just for the record, my ESI grandmother also spoke like this, but she added Catholics and Italians and bohemians and other sub-categories to the mix. She just grew up in a time when this speech was commonly used by almost everyone.
Unless you're really old, you might not know what things were like, just a few decades ago. Complete transitions can happen fast, like the one in US society where being gay is not a curse any more.