Add non-streaming ASR examples for Dart API (#1007)

This commit is contained in:
Fangjun Kuang
2024-06-14 18:40:16 +08:00
committed by GitHub
parent b1f08c0a20
commit d94506698d
35 changed files with 984 additions and 37 deletions

43
.github/scripts/test-dart.sh vendored Executable file
View File

@@ -0,0 +1,43 @@
#!/usr/bin/env bash
set -ex
cd dart-api-examples
pushd non-streaming-asr
echo '----------VAD with paraformer----------'
./run-vad-with-paraformer.sh
rm -rf sherpa-onnx-*
echo '----------NeMo transducer----------'
./run-nemo-transducer.sh
rm -rf sherpa-onnx-*
echo '----------NeMo CTC----------'
./run-nemo-ctc.sh
rm -rf sherpa-onnx-*
echo '----------TeleSpeech CTC----------'
./run-telespeech-ctc.sh
rm -rf sherpa-onnx-*
echo '----------paraformer----------'
./run-paraformer.sh
rm -rf sherpa-onnx-*
echo '----------whisper----------'
./run-whisper.sh
rm -rf sherpa-onnx-*
echo '----------zipformer transducer----------'
./run-zipformer-transducer.sh
rm -rf sherpa-onnx-*
popd
pushd vad
./run.sh
rm *.onnx
popd