NTT123 / vietTTS

Vietnamese Text to Speech library
MIT License
200 stars 91 forks source link

How to create lexicon.txt file #11

Closed phanan9225 closed 3 years ago

phanan9225 commented 3 years ago

It's a great repo. I have tried to train my own model, but I have still stuck at prepare a dataset. Can you instruct me how to create a lexicon.txt file corresponding to my dataset, then I can use MFA to create a grid file. Thank you very much.

NTT123 commented 3 years ago

vietTTS uses a very simple lexicon file, you need to:

The format is:

word1 [tab] phoneme1 [space] phoneme2 [space] ...
....

See https://github.com/NTT123/vietTTS/blob/master/assets/infore/lexicon.txt for an example.

phanan9225 commented 3 years ago

Thank you for your response. I will try this.