Skip to content

Latest commit

 

History

History

java

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

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