code: def thai_to_eng(text: str) -> str:
      
      return "".join(
          [TH_EN_KEYB_PAIRS[ch] if (ch in TH_EN_KEYB_PAIRS) else ch for ch in text]
      )
docs: Correct text in one language that is incorrectly-typed with a keyboard layout in another language. (type Thai with English keyboard)
  
      :param str text: Incorrect input (type English with Thai keyboard)
      :return: English text