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

How difficult it would be to add offline speech recognition backend #78

Closed
andreytkachenko opened this issue Aug 19, 2020 · 2 comments
Closed

Comments

@andreytkachenko
Copy link

andreytkachenko commented Aug 19, 2020

It would be great if anyone give me the brief introduction of the structure of the project and what will I need to create/change to add vosk-api backend with Russian and English models. I am a Rust developer and have no experience in android development. Thank You.

@Kaljurand
Copy link
Owner

From the Kõnele perspective it would be best if you implemented a separate app that wraps the vosk-api into an implementation of Android's RecognitionService (https://developer.android.com/reference/android/speech/RecognitionService). Once this app is installed on the device, Kõnele will be able to list it as one of the available services and the Kõnele user can select it as one of its default services. Here are some examples of RecognitionService implementations:

So you could fork one of the above projects and try to inject the vosk-api java code (or its Android demo) into this fork. I have no experience with Vosk, so cannot help further with that.

@andreytkachenko
Copy link
Author

Great explanation! Thank you.

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

2 participants