2020-10-04 23:42:50 +02:00
..
2020-09-01 12:44:44 +02:00
2020-03-01 09:12:09 +01: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

  1. Build recent kaldi
  2. git clone https://github.com/alphacep/vosk-api
  3. cd vosk-api/java
  4. export KALDI_ROOT=<KALDI_ROOT>
  5. export JAVA_HOME=<JAVA_HOME>
  6. make
  7. make run

For details of the code you can check:

https://github.com/alphacep/vosk-api/blob/master/java/test/DecoderTest.java