# kaldi-android-demo **Repository Path**: leowhoo/kaldi-android-demo ## Basic Information - **Project Name**: kaldi-android-demo - **Description**: Runnable demo for Kaldi android - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 1 - **Created**: 2020-03-09 - **Last Updated**: 2025-04-17 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ## About This is a demonstration for Kaldi on Android ## 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 kaldi-android library AAR is available at [vosk-api](http://github.com/alphacep/vosk-api). Check compilation instructions there as well as development plans. ## Languages Models for different languages (English, Chinese, Russian) are available in [Releases](https://github.com/alphacep/kaldi-android-demo/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 `mkgraph_lookahead_arpa.sh` from lookahead branch at [our kaldi fork](https://github.com/alphacep/kaldi) or from submitted [pull request](https://github.com/kaldi-asr/kaldi/pull/3616). Hopefully that pull request will be merged soon and graph can be compiled with kaldi master.