myshell-ai / MeloTTS

High-quality multi-lingual text-to-speech library by MyShell.ai. Support English, Spanish, French, Chinese, Japanese and Korean.
MIT License
4.84k stars 631 forks source link

Can you improve the Korean cleaner? #178

Open Mofuka opened 3 months ago

Mofuka commented 3 months ago

Can you improve the Korean cleaner?

  1. It has problems with not being able to pronounce consonants and vowels like ㄱㄴㄷㄹㅁㅂㅅ, ㅏㅑㅓㅕㅗㅛ
  2. it spits out errors when numbers are too long, and it doesn't pronounce English properly.

The link below is the address of the Korean cleaner in another VITS repo that solved the above problems.

https://github.com/ORI-Muchim/MB-iSTFT-VITS-Korean/blob/main/text/korean.py https://github.com/RVC-Boss/GPT-SoVITS/blob/main/GPT_SoVITS/text/korean.py

I used a translator because I'm not good at English. Thank you for developing MeloTTS. I'm using it usefully, but I'm writing this article in the hopes that there will be some improvements.

Mofuka commented 3 months ago
  1. It has problems with not being able to pronounce consonants and vowels like ㄱㄴㄷㄹㅁㅂㅅ, ㅏㅑㅓㅕㅗㅛ

I solved this problem by modifying the 'ko_dictionary.py' file. I didn't know there was such a thing.