Add Java API for audio tagging (#820)

This commit is contained in:
Fangjun Kuang
2024-04-28 22:26:04 +08:00
committed by GitHub
parent 5407f880c0
commit 88202f05bb
39 changed files with 476 additions and 129 deletions

View File

@@ -7,7 +7,7 @@ public class OfflinePunctuation {
System.loadLibrary("sherpa-onnx-jni");
}
private long ptr = 0; // this is the asr engine ptrss
private long ptr = 0;
public OfflinePunctuation(OfflinePunctuationConfig config) {
ptr = newFromFile(config);