The purpose of a language model is to remove from consideration word sequences that might correspond to the sounds but make no sense. The classic problem is homophones—a group of words with different spellings and different meanings, but that sound exactly the same.

