Skip to content

keegang6705/en-th-keyboard-translator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

key-changer

Translate characters caused by typos because you forgot to change the keyboard language layout.

Install

pip install key-changer

Command

python3 -m key_changer --help

Example

import key_changer

translator = key_changer.KeyChanger("ANSI", "QWERTY", "Thai_Kedmanee")

translator.translate("l;ylfu")
# 'สวัสดี'

translator.reverse("้ำสสน")
# 'hello'

translator.auto(";yoouhvkdkLfu")
# 'วันนี้อากาศดี'

translator.auto("ะนกฟั ะ้ำ ไำฟะ้ำพ รห เนนก")
# 'today the weather is good'

key_changer.KeyboardLayout
# ('ANSI',)

key_changer.LanguageLayout
# ('QWERTY', 'Thai_Kedmanee', 'Thai_Pattachote')

Current support

Keyboard layout Language layout
ANSI QWERTY
Thai_Kedmanee
Thai_Pattachote

About

translate character en-th

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages