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-api
cd vosk-api/java
export KALDI_ROOT=<KALDI_ROOT>
export JAVA_HOME=<JAVA_HOME>
make
make run
For details of the code you can check:
https://github.com/alphacep/vosk-api/blob/master/java/test/DecoderTest.java