Add Java API for speaker identification (#822)

This commit is contained in:
Fangjun Kuang
2024-04-29 21:23:56 +08:00
committed by GitHub
parent 88202f05bb
commit cff207623e
13 changed files with 388 additions and 5 deletions

View File

@@ -12,7 +12,7 @@ public class SpokenLanguageIdentification {
}
private final Map<String, String> localeMap;
private long ptr = 0; // this is the asr engine ptrss
private long ptr = 0;
public SpokenLanguageIdentification(SpokenLanguageIdentificationConfig config) {
ptr = newFromFile(config);