Refactor hotwords,support loading hotwords from file (#296)
This commit is contained in:
5
.github/scripts/test-python.sh
vendored
5
.github/scripts/test-python.sh
vendored
@@ -166,3 +166,8 @@ python3 ./python-api-examples/offline-decode-files.py \
|
||||
python3 sherpa-onnx/python/tests/test_offline_recognizer.py --verbose
|
||||
|
||||
rm -rf $repo
|
||||
|
||||
# test text2token
|
||||
git clone https://github.com/pkufool/sherpa-test-data /tmp/sherpa-test-data
|
||||
|
||||
python3 sherpa-onnx/python/tests/test_text2token.py --verbose
|
||||
|
||||
Reference in New Issue
Block a user