Add C API for streaming HLG decoding (#734)
This commit is contained in:
5
.github/scripts/test-dot-net.sh
vendored
5
.github/scripts/test-dot-net.sh
vendored
@@ -2,7 +2,10 @@
|
||||
|
||||
cd dotnet-examples/
|
||||
|
||||
cd spoken-language-identification
|
||||
cd streaming-hlg-decoding/
|
||||
./run.sh
|
||||
|
||||
cd ../spoken-language-identification
|
||||
./run.sh
|
||||
|
||||
cd ../online-decode-files
|
||||
|
||||
7
.github/scripts/test-nodejs-npm.sh
vendored
7
.github/scripts/test-nodejs-npm.sh
vendored
@@ -58,6 +58,13 @@ rm sherpa-onnx-streaming-zipformer-ctc-multi-zh-hans-2023-12-13.tar.bz2
|
||||
node ./test-online-zipformer2-ctc.js
|
||||
rm -rf sherpa-onnx-streaming-zipformer-ctc-multi-zh-hans-2023-12-13
|
||||
|
||||
|
||||
curl -LS -O https://github.com/k2-fsa/sherpa-onnx/releases/download/asr-models/sherpa-onnx-streaming-zipformer-ctc-small-2024-03-18.tar.bz2
|
||||
tar xvf sherpa-onnx-streaming-zipformer-ctc-small-2024-03-18.tar.bz2
|
||||
rm sherpa-onnx-streaming-zipformer-ctc-small-2024-03-18.tar.bz2
|
||||
node ./test-online-zipformer2-ctc-hlg.js
|
||||
rm -rf sherpa-onnx-streaming-zipformer-ctc-small-2024-03-18
|
||||
|
||||
# offline tts
|
||||
|
||||
curl -LS -O https://github.com/k2-fsa/sherpa-onnx/releases/download/tts-models/vits-piper-en_US-amy-low.tar.bz2
|
||||
|
||||
5
.github/scripts/test-swift.sh
vendored
5
.github/scripts/test-swift.sh
vendored
@@ -7,6 +7,10 @@ echo "pwd: $PWD"
|
||||
cd swift-api-examples
|
||||
ls -lh
|
||||
|
||||
./run-streaming-hlg-decode-file.sh
|
||||
rm ./streaming-hlg-decode-file
|
||||
rm -rf sherpa-onnx-streaming-zipformer-ctc-small-2024-03-18
|
||||
|
||||
./run-spoken-language-identification.sh
|
||||
rm -rf sherpa-onnx-whisper*
|
||||
|
||||
@@ -31,4 +35,5 @@ sed -i.bak '20d' ./decode-file.swift
|
||||
|
||||
./run-decode-file-non-streaming.sh
|
||||
|
||||
|
||||
ls -lh
|
||||
|
||||
Reference in New Issue
Block a user