MeloTTS icon indicating copy to clipboard operation
MeloTTS copied to clipboard

Unidic/mecab required?

Open cyrilzakka opened this issue 2 years ago • 4 comments

Why are unidic/mecab required if not using Japanese TTS?

cyrilzakka avatar Mar 07 '24 21:03 cyrilzakka

Remove the version from mecab-python3 then install again

There are two duplicated mecab-python3 in requirements.txt, don't forget to delete the extra one https://github.com/myshell-ai/MeloTTS/blob/50a8a000395d1db6e4f0eceb1944f03fa4a67723/requirements.txt#L6

MissingTwins avatar Mar 12 '24 09:03 MissingTwins

make sure you run python -m unidic download

eschmidbauer avatar Mar 22 '24 15:03 eschmidbauer

Non-Japanese/Korean users don't need the 500MB unidic download. There is a better way to handle this situation:

  1. In text/cleaner.py don't forcefully load all the language but do it dynamically according to the language(s) intended to be used
  2. Remove the reliance of text/english.py upon japanese by copy/pasting distribute_phone (which isn't language specific).

drzraf avatar Jun 21 '24 06:06 drzraf

As the maintainer of the mecab-python3 and unidic packages, I strongly agree that they should not be installed unless they are going to be used. It is frustrating to have issue reports from people having trouble installing old versions of my software that don't need it in the first place.

polm avatar Jun 30 '24 14:06 polm