Thai Word-to-Phoneme (W2P) converter
Code base from AzamRabiee/Persian_G2P
Dataset License (file: data.csv) :
Install requirements
pip3 install -r requirements.txt
with word segment (many words)
python3 g2p.py --text "เป็นไลบรารีภาษาไพทอนสำหรับประมวลผลภาษาธรรมชาติ"
with one word (not word segment)
python3 g2p.py --text "คนดี" --wordcut n
Train
python3 train.py --name run