< Back

g2p

latest version: 0.1


Description: Thai grapheme to phoneme

Long Description: Data from Thai Wiktionary)

HomePage: https://github.com/PyThaiNLP/lexicon-thai/tree/master/G2P

Authors: Wannaphong Phatthiyaphaibun


Download and Use

Download

from pythainlp.corpus import download
download('g2p')

Use

It's get path file of corpus.

from pythainlp.corpus import get_corpus_path
get_corpus_path('g2p')

If get_corpus_path('g2p') is None then you have not downloaded g2p.


Release history

0.1

File Name: wiktionary-11-2-2020.tsv

md5: -

PyThaiNLP version: >=2.2

Link Download: wiktionary-11-2-2020.tsv