UltraSinger
UltraSinger copied to clipboard
Method to download PyHyphen Libraries
Currently, language_check
only checks for existing installed hyphenation libraries without providing any method for downloading them. Users only receive an error that something went wrong with hyphenation. Provide some method, automatic or manual, for downloading the needed hyphenation libraries.
Yes, I agree that it reads strangely. But PyHyphen does download the languages itself if the correct langKey is given.
hm, that doesn't seem to be happening for me. I can look more into why.
What language do you primarily test with? What I see is that in hyphenate_each_word we detect 'en' and pass that into 'language_check'. This returns 'en' not 'en_US', so when we get to 'create_hyphenator' it doesn't know what to do with 'en' and returns None.
i using en
and de