Text to recognize
- Example
To be or not to be, that is the question
Phoneme
T-UW- -B-IY- -AO-R- -N-AA-T- -T-UW- -B-IY- -DH-AE-T- -IH-Z- -DH-AH- -K-W-EH-S-CH-AH-N
This model requires additional module.
pip3 install transformers
Automatically downloads the onnx and prototxt files on the first run. It is necessary to be connected to the Internet while downloading.
For the sample text,
$ python3 soundchoice-g2p.py
If you want to specify the input text, put the text after the --input
option.
$ python3 soundchoice-g2p.py --input TEXT
Pytorch
ONNX opset=17
soundchoice-g2p_atn.onnx.prototxt
soundchoice-g2p_emb.onnx.prototxt
rnn_beam_searcher.onnx.prototxt