Skip to content

Latest commit

 

History

History
35 lines (23 loc) · 1.54 KB

android.md

File metadata and controls

35 lines (23 loc) · 1.54 KB
layout title permalink
default
Offline speech recognition on Android with VOSK
/android

About

This demo implements offline speech recognition and speaker identification for mobile applications using Kaldi and Vosk libraries.

Vosk Demo on Android Github Project

Usage

Simply import the project into Android Studio and run. It will listen for the audio and dump the transcription.

To use this library in your application simply modify the demo according to your needs - add kaldi-android aar to dependencies, update the model and modify java UI code accodring to your needs.

Development

This is just a demo project, the main setup to compile vosk-android library AAR is available at vosk-api. Check compilation instructions there as well as development plans.

Languages

Models for different languages (English, Chinese, Russian) are available in Models section. To use the model unpack it into assets and update the code to rebuild the UUID file in gradle file. More languages gonna be ready soon.

Updating grammar and language model

To run on android model has to be sufficiently small, we recommend to check model sizes in the demo to figure out what should be the size of the model. If you want to update the grammar or the acoustic model, check vosk-api documentation.