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:
8
.github/workflows/run-java-test.yaml
vendored
8
.github/workflows/run-java-test.yaml
vendored
@@ -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: |
|
||||
|
||||
Reference in New Issue
Block a user