Skip to content

transliterate

Wannaphong Phatthiyaphaibun edited this page May 16, 2022 · 3 revisions

Transliterate

LaoNLP support

  • lao2thai_script : Lao to Thai script
  • thai2lao_script : Thai to Lao script

Thank you data source from https://github.com/google/language-resources/blob/master/lo/Laoo-Thai.txt

example

from laonlp.transliterate import *
print(lao2thai_script("ແມວ")) # แมว
print(thai2lao_script("แมว")) # ແມວ
Clone this wiki locally