Skip to content
Runnable demo for Kaldi android
Branch: master
Clone or download
Latest commit b94eab1 Dec 5, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
aars Update for lookahead in kaldi Nov 25, 2019
app Update for lookahead in kaldi Nov 25, 2019
models Update for lookahead in kaldi Nov 25, 2019
.gitattributes Fix symtab read issue #8 Nov 13, 2019
.gitignore Initial import Sep 3, 2019
COPYING Simplify UI configuration Sep 21, 2019 Update Dec 5, 2019
build.gradle Update to fix some lint warnings Nov 13, 2019 Update to fix some lint warnings Nov 13, 2019
settings.gradle Initial import Sep 3, 2019


This is a demonstration for Kaldi on Android


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.


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


Models for different languages (English, Chinese, Russian) are available in Releases section. To use the model unpack it into kaldi-android-demo/models/src/main/assets/sync/model-android. 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 the script from lookahead branch at our kaldi fork or from submitted pull request. Hopefully that pull request will be merged soon and graph can be compiled with kaldi master.

You can’t perform that action at this time.