Unidic/mecab required?
Why are unidic/mecab required if not using Japanese TTS?
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
make sure you run python -m unidic download
Non-Japanese/Korean users don't need the 500MB unidic download. There is a better way to handle this situation:
- In
text/cleaner.pydon't forcefully load all the language but do it dynamically according to the language(s) intended to be used - Remove the reliance of
text/english.pyuponjapaneseby copy/pastingdistribute_phone(which isn't language specific).
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.