File size: 477 Bytes
51bac69
 
acdb890
 
51bac69
acdb890
 
 
0eaa143
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
---
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).

```python
from transformers import pipeline
generator = pipeline("text2text-generation", model = "pythainlp/thaig2p-v2.0")
generator("สามารถ")
# {'generated_text': 's aː ˩˩˦ . m aː t̚ ˥˩'}
```