mirror of
https://github.com/alphacep/vosk-api.git
synced 2026-02-19 16:58:48 +08:00
Java API sample
Doesn't work on Windows or Mac yet, help to prepare the packaged jars is welcome.
For now to try it:
On Linux you can do
- Build recent kaldi
git clone https://github.com/alphacep/vosk-apicd vosk-api/javaexport KALDI_ROOT=<KALDI_ROOT>export JAVA_HOME=<JAVA_HOME>makemake run
For details of the code you can check:
https://github.com/alphacep/vosk-api/blob/master/java/test/DecoderTest.java