--- 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](https://github.com/PyThaiNLP/thai-g2p-wiktionary-corpus/blob/main/wiktionary-23-7-2022-clean.tsv). **source code**: [https://github.com/wannaphong/thai-g2p-v2](https://github.com/wannaphong/thai-g2p-v2) ```python from transformers import pipeline generator = pipeline("text2text-generation", model = "pythainlp/thaig2p-v2.0") generator("สามารถ") # {'generated_text': 's aː ˩˩˦ . m aː t̚ ˥˩'} ```