Either they will replace the desired word with another that sounds or looks like the original one or has some other connection or they will replace it with sounds.
They may substitute the desired word with a synonym, a near-synonym, or a word that shares some semantic relationship to the original word.