metadata
license: apache-2.0
language:
- th
Thai G2P v2.0
This is a grapheme-to-phoneme model for Thai language. It trained from wiktionary-23-7-2022-clean.tsv.
source code: https://github.com/wannaphong/thai-g2p-v2
from transformers import pipeline
generator = pipeline("text2text-generation", model = "pythainlp/thaig2p-v2.0")
generator("สามารถ")
# {'generated_text': 's aː ˩˩˦ . m aː t̚ ˥˩'}