pythainlp.ancient
Modules
- pythainlp.ancient.aksonhan_to_current(word: str) str [source]
Convert AksonHan words to current Thai words
AksonHan (อักษรหัน) writes down two consonants for the spelling of the /a/ vowels. (สระ อะ).
Today, รร is an aksonHan word that is still used in Thai.
- Parameters:
word (str) – Thai word
- Returns:
Thai AksonHan to be converted to current Thai word
- Return type:
- Example:
from pythainlp.ancient import aksonhan_to_current print(aksonhan_to_current("จกก")) # output: จัก print(aksonhan_to_current("บงงคบบ")) # output: บังคับ print(aksonhan_to_current("สรรเพชญ")) # รร is still used. # output: สรรเพชญ