question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Steps to get vosk-android as an input method on android?

See original GitHub issue

I’m looking for an open source solution to be able to dictate text to other apps on android. The kõnele project does just that but their app wants to separate the engine to a server that you can configure in the app, so I would need a server setup and running for it I guess? They provide a server for estonian language. https://github.com/Kaljurand/K6nele

Having tested the demo of vosk-android, I can see it understanding my english well, and it’s all happening on my device, which would be the preferred way. The only problem is that how can I get this as an input method to other apps.

The kõnele calls this feature I guess as a speech keyboard that implements the input method editor (IME) API https://developer.android.com/reference/android/inputmethodservice/InputMethodService

If no one has done this yet, what would be the course to take here? Should you fork and code the kõnele project and embed vosk-android there somehow, or would it be easy to just add the IME functionality to vosk-android? I`m very mediocre programmer, so this may be out of my scope, but I’m just curious.

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:16

github_iconTop GitHub Comments

2reactions
jwmhcommented, Feb 5, 2022

I strongly suspect there would be a LOT of public $$$ FINANCIAL support for a project like this …

Could that help folks? If so how much $$ (hourly) would you need? And how much Monthly? I realise this is for numerous reasons probly not an easy question to answer…

We could look into setting up Liberapay for this!! (Context: liberapay is a Nonprofit alternative to Patreon; uses Stripe and Paypal as payment processors (those two charge processing fees, but liberapay itself doesnt) ; is supported wholly be its own platform (i.e. Liberapay eats their own dogfood to pay itself)… doesnt charge fees! )

@Felicis @Tombstone2K @nshmyrev @khlsvr

1reaction
Feliciscommented, Dec 16, 2021

Hello everyone, I’m sorry for the silence and inaction from my part. Covid is taking its toll on me as well and I find little time and energy to work on making vosk a recognition service. But I have not abandoned this project yet, though I cannot say when I will be able to take it on again. In the meantime everyone is welcome to contributing to the code and I will merge pull requests give pushing rights to whom is interested. The code on github is up to date, i.e. all the code I have is already pushed. Merry Christmas to you all

Read more comments on GitHub >

github_iconTop Results From Across the Web

Offline speech recognition on Android with VOSK
This demo implements offline speech recognition and speaker identification for mobile applications using Kaldi and Vosk libraries. Vosk Demo on Android ...
Read more >
Create an input method - Android Developers
An input method editor (IME) is a user control that enables users to enter text. Android provides an extensible input-method framework that allows ......
Read more >
Offline Speech Recognition Made Easy with Vosk - Medium
Just one more step before you can start your microphone test. Go to the myenv\Lib\site-packages folder and find the pyaudio.py file. Modify it ......
Read more >
Vosk Speech-to-text Integration with LineageOS - Reddit
You don't need to build anything. You just install the LocalSTT app and select the voice input handler once voice is activate (you...
Read more >
Transcribe large audio files offline with Vosk
Before we dive into the transcription process, we have to get familiar with VOSKs output. VOSK returns the transcription in JSON format like ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found