-
Notifications
You must be signed in to change notification settings - Fork 28
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
more than one language #4
Comments
Regarding the model path, you can replace the name here. In order to have two languages I guess the easiest way is to create two services. Just duplicate the There is a way to get the language from the intent. I think it is the language of the keyboard but maybe it is just the language of the phone. If it were that of the keyboard you could use it to load one model or another. Another alternative would be to show a list of available SpeechRecognizers in the I hope it helps. I might one day do this myself but I have no time right now. |
Thanks for pointing out |
can not build ''' toggling gradle offline mode syncs but throws error looks like bintray and jcenter is shuting down maybe open an issue on vosk git? |
Mmm true. They moved it to their own maven repository but version 0.3.15 is no longer available and the API changed a bit. |
Thanks |
I pushed a new commit with the necessary changes and checked that it builds and works on Android 9. Let me know if you manage to build with your changes! |
thanks again |
Great to here that. May I ask what OS and version you're running? Does it stay in the loading status if you for example click on the mic icon of your keyboard? |
on a redmi note 9s with arrow os with microg (custom rom) on it (android11) and it behaves the same either by the anysoft keyboard mic or the localstt app it self logcat_08-04-2021_23-13-21.txt i cant figure out anything out of the logcat " sounds relative but no idea what it may mean |
So as naming is hardcoded I have to replace vosk model files inside vosk-catala folder.
What if I need a second language?
English and another?
The text was updated successfully, but these errors were encountered: