Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android: Speech Recognition without using google server

I want to develop an Speech recognizer in android, which should work in offline. As the android's built-in speech recognizer uses google server which needs internet, i want an alternative which works in the absence of internet.

Please suggest me some way to achieve the above feature.

like image 472
Swathi EP Avatar asked Dec 09 '10 07:12

Swathi EP


People also ask

How do I use Google offline speech recognition?

You can activate this by going to Settings - Language and Input - Voice Input and touch the cog icon next to Enhanced Google Services. Choose "Offline Speech Recognition" and select the "All" tab to download your preferred language if it's not already installed.

Can I use voice access offline?

With Voice Access, you can navigate your phone using your voice in order to open apps, make calls, browse web pages, and dictate text. If you have Android 11, Voice Access now works offline and displays labels on apps to help you better navigate your phone via voice.


1 Answers

We used to recommend pocketsphinx, but now more advanced technology based on Kaldi toolkit is available.

The demo is here: Vosk API, you can simply load it in Android Studio and run. Full disclosure: I am the primary author of Vosk.

It supports speech recognition in 7 major languages - English, Chinese, Spanish, Portuguese, German, French and Russian.

like image 69
Nikolay Shmyrev Avatar answered Sep 17 '22 13:09

Nikolay Shmyrev