"""The sentence contains misspelled words."""
No, it contains correctly spelled words used in place of other desired words.
"I sea your eyes", "I she your eyes"
If you want to correct these kind of errors, you must now a lot about natural language. Also, the above are trivial cases. There are tons of edge cases and far more difficult distinctions. Here's an amusing one, that can lead to "Microsoft paperclip" like interactions:
"I gave him the new pink dress as a present" =>
"I gave her the new pink dress as a present"
No, idiotic spell-checker, I do mean him. My friend is a cross-dresser, shut up and let me type.
Such a spellchecker would also be useless for poetry. And if you find poetry obscure, so it doesn't really matter, then such a spellchecker would also be useless for irony. Suddenly, you lose all the hipsters from your potential users (except if they start using it ironically).
Anyway, no spell checker in widespread use attempts this --and it's probably a very hard nut to crack, and probably uncrackable in the general case.