mirror of
https://github.com/k2-fsa/sherpa-onnx.git
synced 2026-11-10 21:11:03 +08:00
Add inverse text normalization for online ASR (#1020)
This commit is contained in:
1 parent
6e09933d99
commit
349d957da2
12 files changed
+390
-32
No files matched your search
@@ -256,7 +256,18 @@ if [[ x$OS != x'windows-latest' ]]; then
|
||||
$repo/test_wavs/3.wav \
|
||||
$repo/test_wavs/8k.wav
|
||||
|
||||
ln -s $repo $PWD/
|
||||
|
||||
curl -SL -O https://github.com/k2-fsa/sherpa-onnx/releases/download/asr-models/itn_zh_number.fst
|
||||
curl -SL -O https://github.com/k2-fsa/sherpa-onnx/releases/download/asr-models/itn-zh-number.wav
|
||||
|
||||
python3 ./python-api-examples/inverse-text-normalization-online-asr.py
|
||||
|
||||
python3 sherpa-onnx/python/tests/test_online_recognizer.py --verbose
|
||||
|
||||
rm -rfv sherpa-onnx-streaming-zipformer-bilingual-zh-en-2023-02-20
|
||||
|
||||
rm -rf $repo
|
||||
fi
|
||||
|
||||
log "Test non-streaming transducer models"
|
||||
|
||||
Reference in new issue
Block a user