Text input that catches text typed in the wrong keyboard layout (Russian, Hebrew, Greek, Hindi InScript against US QWERTY) using letter-pair models, offers the retyped text as a one-tap fix with undo, and leaves names, acronyms, links and code alone.