Add Kotlin and Java API for homophone replacer (#2166)

* Add Kotlin API for homonphone replacer

* Add Java API for homonphone replacer
This commit is contained in:
Fangjun Kuang
2025-04-29 22:55:21 +08:00
committed by GitHub
parent 50b5329572
commit e537094b07
21 changed files with 325 additions and 1 deletions

View File

@@ -105,6 +105,14 @@ jobs:
make -j4
ls -lh lib
- name: Run java test (Non-streaming SenseVoice with homophone replacer)
shell: bash
run: |
cd ./java-api-examples
./run-non-streaming-decode-file-sense-voice-with-hr.sh
rm -rf sherpa-onnx-sense-*
rm -rf dict lexicon.txt replace.fst
- name: Run java test (VAD + Non-streaming Dolphin CTC)
shell: bash
run: |