Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

is_language_supported() returning invalid results #45

Open
blackears opened this issue Apr 29, 2024 · 0 comments
Open

is_language_supported() returning invalid results #45

blackears opened this issue Apr 29, 2024 · 0 comments

Comments

@blackears
Copy link

blackears commented Apr 29, 2024

I'm trying to create a script that can run on several different languages and would like to have a way to tell if Gruut is able to phonemize a particular language. Unfortunately, get_supported_languages() and is_language_supported() are returning results that are not accurate. If I do a fresh install of Gruut, these methods will tell me that Russian, Portuguese and Chinese are all available languages. However, if I use Gruut to parse these languages, they do not return any results. I have to specially install gruut-lang-ru for Russian to work and gruut-lang-pt for Portuguese to work. And there is not even a gruut-lang-zh to be installed, so I don't know why these methods are giving results that suggest that Chinese is a possibility.

Is there any way to check if Gruut can actually process a particular language?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant