Add go-api-examples (#219)
This commit is contained in:
15
go-api-examples/non-streaming-decode-files/run-nemo-ctc.sh
Executable file
15
go-api-examples/non-streaming-decode-files/run-nemo-ctc.sh
Executable file
@@ -0,0 +1,15 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# Please refer to
|
||||
# https://k2-fsa.github.io/sherpa/onnx/pretrained_models/offline-ctc/nemo/english.html#stt-en-conformer-ctc-medium
|
||||
# to download the model
|
||||
# before you run this script.
|
||||
#
|
||||
# You can switch to a different online model if you need
|
||||
|
||||
./non-streaming-decode-files \
|
||||
--nemo-ctc ./sherpa-onnx-nemo-ctc-en-conformer-medium/model.onnx \
|
||||
--tokens ./sherpa-onnx-nemo-ctc-en-conformer-medium/tokens.txt \
|
||||
--model-type nemo_ctc \
|
||||
--debug 0 \
|
||||
./sherpa-onnx-nemo-ctc-en-conformer-medium/test_wavs/0.wav
|
||||
Reference in New Issue
Block a user