-
Notifications
You must be signed in to change notification settings - Fork 451
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1,493 changed files
with
63,772 additions
and
6,440 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
--- | ||
# NOTE there must be no spaces before the '-', so put the comma last. | ||
# The check bugprone-unchecked-optional-access is also turned off atm | ||
# because it causes clang-tidy to hang randomly. The tracking issue | ||
# can be found at https://github.com/llvm/llvm-project/issues/69369. | ||
# | ||
# Modified from | ||
# https://github.com/pytorch/pytorch/blob/main/.clang-tidy | ||
InheritParentConfig: true | ||
Checks: ' | ||
bugprone-*, | ||
-bugprone-easily-swappable-parameters, | ||
-bugprone-forward-declaration-namespace, | ||
-bugprone-implicit-widening-of-multiplication-result, | ||
-bugprone-macro-parentheses, | ||
-bugprone-lambda-function-name, | ||
-bugprone-narrowing-conversions, | ||
-bugprone-reserved-identifier, | ||
-bugprone-swapped-arguments, | ||
-bugprone-unchecked-optional-access, | ||
clang-diagnostic-missing-prototypes, | ||
cppcoreguidelines-*, | ||
-cppcoreguidelines-avoid-const-or-ref-data-members, | ||
-cppcoreguidelines-avoid-do-while, | ||
-cppcoreguidelines-avoid-magic-numbers, | ||
-cppcoreguidelines-avoid-non-const-global-variables, | ||
-cppcoreguidelines-interfaces-global-init, | ||
-cppcoreguidelines-macro-usage, | ||
-cppcoreguidelines-narrowing-conversions, | ||
-cppcoreguidelines-owning-memory, | ||
-cppcoreguidelines-pro-bounds-array-to-pointer-decay, | ||
-cppcoreguidelines-pro-bounds-constant-array-index, | ||
-cppcoreguidelines-pro-bounds-pointer-arithmetic, | ||
-cppcoreguidelines-pro-type-const-cast, | ||
-cppcoreguidelines-pro-type-cstyle-cast, | ||
-cppcoreguidelines-pro-type-reinterpret-cast, | ||
-cppcoreguidelines-pro-type-static-cast-downcast, | ||
-cppcoreguidelines-pro-type-union-access, | ||
-cppcoreguidelines-pro-type-vararg, | ||
-cppcoreguidelines-special-member-functions, | ||
-cppcoreguidelines-non-private-member-variables-in-classes, | ||
-facebook-hte-RelativeInclude, | ||
hicpp-exception-baseclass, | ||
hicpp-avoid-goto, | ||
misc-*, | ||
-misc-const-correctness, | ||
-misc-include-cleaner, | ||
-misc-use-anonymous-namespace, | ||
-misc-unused-parameters, | ||
-misc-no-recursion, | ||
-misc-non-private-member-variables-in-classes, | ||
-misc-confusable-identifiers, | ||
modernize-*, | ||
-modernize-macro-to-enum, | ||
-modernize-pass-by-value, | ||
-modernize-return-braced-init-list, | ||
-modernize-use-auto, | ||
-modernize-use-default-member-init, | ||
-modernize-use-using, | ||
-modernize-use-trailing-return-type, | ||
-modernize-use-nodiscard, | ||
performance-*, | ||
readability-container-size-empty, | ||
readability-delete-null-pointer, | ||
readability-duplicate-include | ||
readability-misplaced-array-index, | ||
readability-redundant-function-ptr-dereference, | ||
readability-redundant-smartptr-get, | ||
readability-simplify-subscript-expr, | ||
readability-string-compare, | ||
' | ||
WarningsAsErrors: '*' | ||
... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,147 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -ex | ||
|
||
cd dart-api-examples | ||
|
||
pushd speaker-diarization | ||
echo '----------speaker diarization----------' | ||
./run.sh | ||
popd | ||
|
||
pushd speaker-identification | ||
echo '----------3d speaker----------' | ||
./run-3d-speaker.sh | ||
popd | ||
|
||
pushd add-punctuations | ||
echo '----------CT Transformer----------' | ||
./run-ct-transformer.sh | ||
popd | ||
|
||
pushd audio-tagging | ||
echo '----------zipformer----------' | ||
./run-zipformer.sh | ||
|
||
echo '----------ced----------' | ||
./run-ced.sh | ||
popd | ||
|
||
pushd vad-with-non-streaming-asr | ||
echo '----------TeleSpeech CTC----------' | ||
./run-telespeech-ctc.sh | ||
rm -rf sherpa-onnx-* | ||
|
||
echo "----zipformer transducer----" | ||
./run-zipformer-transducer.sh | ||
rm -rf sherpa-onnx-* | ||
|
||
echo "----whisper----" | ||
./run-whisper.sh | ||
rm -rf sherpa-onnx-* | ||
|
||
echo "----paraformer----" | ||
./run-paraformer.sh | ||
rm -rf sherpa-onnx-* | ||
|
||
echo "----SenseVoice zh----" | ||
./run-sense-voice-zh-2.sh | ||
./run-sense-voice-zh.sh | ||
rm -rf sherpa-onnx-* | ||
|
||
echo "----SenseVoice en----" | ||
./run-sense-voice-en.sh | ||
rm -rf sherpa-onnx-* | ||
|
||
popd | ||
|
||
pushd keyword-spotter | ||
./run-zh.sh | ||
popd | ||
|
||
pushd non-streaming-asr | ||
|
||
echo '----------SenseVoice----------' | ||
./run-sense-voice.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 '----------whisper----------' | ||
./run-whisper.sh | ||
rm -rf sherpa-onnx-* | ||
|
||
echo '----------zipformer transducer----------' | ||
./run-zipformer-transducer.sh | ||
rm -rf sherpa-onnx-* | ||
|
||
echo '----------paraformer itn----------' | ||
./run-paraformer-itn.sh | ||
|
||
echo '----------paraformer----------' | ||
./run-paraformer.sh | ||
rm -rf sherpa-onnx-* | ||
|
||
echo '----------VAD with paraformer----------' | ||
./run-vad-with-paraformer.sh | ||
rm -rf sherpa-onnx-* | ||
|
||
popd # non-streaming-asr | ||
|
||
pushd tts | ||
|
||
echo '----------piper tts----------' | ||
./run-piper.sh | ||
rm -rf vits-piper-* | ||
|
||
echo '----------coqui tts----------' | ||
./run-coqui.sh | ||
rm -rf vits-coqui-* | ||
|
||
echo '----------zh tts----------' | ||
./run-zh.sh | ||
rm -rf sherpa-onnx-* | ||
|
||
popd # tts | ||
|
||
pushd streaming-asr | ||
|
||
echo '----------streaming zipformer ctc HLG----------' | ||
./run-zipformer-ctc-hlg.sh | ||
rm -rf sherpa-onnx-* | ||
|
||
echo '----------streaming zipformer ctc----------' | ||
./run-zipformer-ctc.sh | ||
rm -rf sherpa-onnx-* | ||
|
||
echo '----------streaming zipformer transducer----------' | ||
./run-zipformer-transducer-itn.sh | ||
./run-zipformer-transducer.sh | ||
rm -f itn* | ||
rm -rf sherpa-onnx-* | ||
|
||
echo '----------streaming NeMo transducer----------' | ||
./run-nemo-transducer.sh | ||
rm -rf sherpa-onnx-* | ||
|
||
echo '----------streaming paraformer----------' | ||
./run-paraformer.sh | ||
rm -rf sherpa-onnx-* | ||
|
||
popd # streaming-asr | ||
|
||
pushd vad | ||
./run.sh | ||
rm *.onnx | ||
popd | ||
|
Oops, something went wrong.