Add Java and Kotlin API for NeMo Canary models (#2359)
Add support for the NeMo Canary model in both Java and Kotlin APIs, wiring it through JNI and updating examples and CI. - Introduce OfflineCanaryModelConfig in Kotlin and Java with builder patterns - Extend OfflineRecognizer to accept and apply the new canary config via setConfig - Update JNI binding (GetOfflineConfig) and getOfflineModelConfig mapping (type 32), plus examples and CI workflows
This commit is contained in:
7
.github/workflows/run-java-test.yaml
vendored
7
.github/workflows/run-java-test.yaml
vendored
@@ -117,6 +117,13 @@ jobs:
|
||||
cd ./java-api-examples
|
||||
./run-version-test.sh
|
||||
|
||||
- name: Run java test (Nemo Canary)
|
||||
shell: bash
|
||||
run: |
|
||||
cd ./java-api-examples
|
||||
./run-non-streaming-decode-file-nemo-canary.sh
|
||||
rm -rf sherpa-onnx-nemo-*
|
||||
|
||||
- name: Run java test (Non-streaming SenseVoice with homophone replacer)
|
||||
shell: bash
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user