Add Kotlin and Java API for Dolphin CTC models (#2086)

This commit is contained in:
Fangjun Kuang
2025-04-02 21:16:14 +08:00
committed by GitHub
parent 0de7e1b9f0
commit eee5575836
20 changed files with 517 additions and 18 deletions

View File

@@ -105,6 +105,16 @@ jobs:
make -j4
ls -lh lib
- name: Run java test (VAD + Non-streaming Dolphin CTC)
shell: bash
run: |
cd ./java-api-examples
./run-vad-non-streaming-dolphin-ctc.sh
rm *.onnx
ls -lh *.wav
rm *.wav
rm -rf sherpa-onnx-dolphin-*
- name: Run speech enhancement (GTCRN)
shell: bash
run: |
@@ -135,6 +145,9 @@ jobs:
run: |
cd ./java-api-examples
./run-non-streaming-decode-file-dolphin-ctc.sh
rm -rf sherpa-onnx-dolphin-*
./run-non-streaming-decode-file-moonshine.sh
rm -rf sherpa-onnx-moonshine-*