Java API

In this section, we describe how to use the Java API of sherpa-onnx.

The core part of sherpa-onnx is written in C++. We have provided JNI interface for sherpa-onnx so that you can use it in Java.

Before using the Java API of sherpa-onnx, you have to build the JNI interface.