Skip to content

seanghay/khmerpronounce

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Khmer Pronounce

A Khmer pronounciation toolkit trained on KhmerDictionary 2022 by Royal Academy of Cambodia (RAC) with Phonetisaurus.

pip install khmerpronounce
from khmerpronounce import pronounce

result = pronounce("សម្ដេចបវរធិបតី")
# => ['សំ', 'ដាច់', 'ប', 'វ៉', 'ធិ', 'ប៉ៈ', 'ដី']

result = pronounce("មករា")
# => ['មៈ', 'កៈ', 'រ៉ា']