Speech-to-text, text-to-speech, speaker diarization, speech enhancement, source separation, and VAD using next-gen Kaldi with onnxruntime without Internet connection. Support embedded systems, Android, iOS, HarmonyOS, Raspberry Pi, RISC-V, RK NPU, Axera NPU, Ascend NPU, x86_64 servers, websocket server/client, support 12 programming languages
This report presents the forensic synthetic code analysis of k2-fsa/sherpa-onnx, a C++ project with 13,560 GitHub stars. SynthScan v2.0 examined 379,136 lines of code across 3550 source files, recording 1501 pattern matches distributed across 21 syntactic categories. The overall adjusted score of 8.8 places this repository in the Low AI signal band.
The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).
This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.
Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.
This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.
The scanner identified 1501 distinct pattern matches across 21 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | sherpa-onnx/python/tests/test_offline_recognizer.py | 0 | args: wave_filename: path to a wave file. it should be single channel and each sample should be 16-bit. its sample rate | STRING |
| HIGH | sherpa-onnx/python/tests/test_keyword_spotter.py | 0 | args: wave_filename: path to a wave file. it should be single channel and each sample should be 16-bit. its sample rate | STRING |
| HIGH | sherpa-onnx/python/tests/test_speaker_recognition.py | 0 | args: wave_filename: path to a wave file. it should be single channel and each sample should be 16-bit. its sample rate | STRING |
| HIGH | sherpa-onnx/python/tests/test_online_recognizer.py | 0 | args: wave_filename: path to a wave file. it should be single channel and each sample should be 16-bit. its sample rate | STRING |
| HIGH | python-api-examples/spoken-language-identification.py | 0 | args: wave_filename: path to a wave file. it should be single channel and each sample should be 16-bit. its sample rate | STRING |
| HIGH | …ples/offline-websocket-client-decode-files-paralell.py | 0 | args: wave_filename: path to a wave file. it should be single channel and each sample should be 16-bit. its sample rate | STRING |
| HIGH | python-api-examples/offline-decode-files.py | 0 | args: wave_filename: path to a wave file. it should be single channel and each sample should be 16-bit. its sample rate | STRING |
| HIGH | python-api-examples/online-decode-files.py | 0 | args: wave_filename: path to a wave file. it should be single channel and each sample should be 16-bit. its sample rate | STRING |
| HIGH | python-api-examples/keyword-spotter.py | 0 | args: wave_filename: path to a wave file. it should be single channel and each sample should be 16-bit. its sample rate | STRING |
| HIGH | …n-api-examples/online-zipformer-ctc-hlg-decode-file.py | 0 | args: wave_filename: path to a wave file. it should be single channel and each sample should be 16-bit. its sample rate | STRING |
| HIGH | …es/offline-websocket-client-decode-files-sequential.py | 0 | args: wave_filename: path to a wave file. it should be single channel and each sample should be 16-bit. its sample rate | STRING |
| HIGH | scripts/omnilingual-asr/export-onnx.py | 0 | add meta data to an onnx model. it is changed in-place. args: filename: filename of the onnx model to be changed. meta_d | STRING |
| HIGH | scripts/vits/export-onnx-ljs.py | 0 | add meta data to an onnx model. it is changed in-place. args: filename: filename of the onnx model to be changed. meta_d | STRING |
| HIGH | scripts/vits/export-onnx-vctk.py | 0 | add meta data to an onnx model. it is changed in-place. args: filename: filename of the onnx model to be changed. meta_d | STRING |
| HIGH | scripts/sense-voice/export_onnx_nano.py | 0 | add meta data to an onnx model. it is changed in-place. args: filename: filename of the onnx model to be changed. meta_d | STRING |
| HIGH | scripts/sense-voice/export-onnx.py | 0 | add meta data to an onnx model. it is changed in-place. args: filename: filename of the onnx model to be changed. meta_d | STRING |
| HIGH | scripts/sense-voice/rknn/export-onnx.py | 0 | add meta data to an onnx model. it is changed in-place. args: filename: filename of the onnx model to be changed. meta_d | STRING |
| HIGH | scripts/sense-voice/qnn/export-onnx.py | 0 | add meta data to an onnx model. it is changed in-place. args: filename: filename of the onnx model to be changed. meta_d | STRING |
| HIGH | scripts/wespeaker/add_meta_data.py | 0 | add meta data to an onnx model. it is changed in-place. args: filename: filename of the onnx model to be changed. meta_d | STRING |
| HIGH | scripts/tele-speech/add-metadata.py | 0 | add meta data to an onnx model. it is changed in-place. args: filename: filename of the onnx model to be changed. meta_d | STRING |
| HIGH | scripts/nemo/speaker-verification/export-onnx.py | 0 | add meta data to an onnx model. it is changed in-place. args: filename: filename of the onnx model to be changed. meta_d | STRING |
| HIGH | …ripts/nemo/parakeet-tdt_ctc-0.6b-ja/export-onnx-ctc.py | 0 | add meta data to an onnx model. it is changed in-place. args: filename: filename of the onnx model to be changed. meta_d | STRING |
| HIGH | scripts/nemo/GigaAM/export-onnx-rnnt-v3-punct.py | 0 | add meta data to an onnx model. it is changed in-place. args: filename: filename of the onnx model to be changed. meta_d | STRING |
| HIGH | scripts/nemo/GigaAM/export-onnx-ctc-v3-punct.py | 0 | add meta data to an onnx model. it is changed in-place. args: filename: filename of the onnx model to be changed. meta_d | STRING |
| HIGH | scripts/nemo/GigaAM/export-onnx-rnnt.py | 0 | add meta data to an onnx model. it is changed in-place. args: filename: filename of the onnx model to be changed. meta_d | STRING |
| HIGH | scripts/nemo/GigaAM/export-onnx-ctc.py | 0 | add meta data to an onnx model. it is changed in-place. args: filename: filename of the onnx model to be changed. meta_d | STRING |
| HIGH | scripts/nemo/GigaAM/export-onnx-rnnt-v2.py | 0 | add meta data to an onnx model. it is changed in-place. args: filename: filename of the onnx model to be changed. meta_d | STRING |
| HIGH | scripts/nemo/GigaAM/export-onnx-ctc-v2.py | 0 | add meta data to an onnx model. it is changed in-place. args: filename: filename of the onnx model to be changed. meta_d | STRING |
| HIGH | scripts/nemo/GigaAM/export-onnx-ctc-v3.py | 0 | add meta data to an onnx model. it is changed in-place. args: filename: filename of the onnx model to be changed. meta_d | STRING |
| HIGH | scripts/nemo/GigaAM/export-onnx-rnnt-v3.py | 0 | add meta data to an onnx model. it is changed in-place. args: filename: filename of the onnx model to be changed. meta_d | STRING |
| HIGH | scripts/nemo/parakeet-unified-en-0.6b/export_onnx.py | 0 | add meta data to an onnx model. it is changed in-place. args: filename: filename of the onnx model to be changed. meta_d | STRING |
| HIGH | scripts/nemo/canary/export_onnx_180m_flash.py | 0 | add meta data to an onnx model. it is changed in-place. args: filename: filename of the onnx model to be changed. meta_d | STRING |
| HIGH | …/nemo/nemotron-speech-streaming-en-0.6b/export_onnx.py | 0 | add meta data to an onnx model. it is changed in-place. args: filename: filename of the onnx model to be changed. meta_d | STRING |
| HIGH | scripts/nemo/parakeet-tdt-0.6b-v2/export_onnx.py | 0 | add meta data to an onnx model. it is changed in-place. args: filename: filename of the onnx model to be changed. meta_d | STRING |
| HIGH | scripts/nemo/parakeet-tdt-0.6b-v3/export_onnx.py | 0 | add meta data to an onnx model. it is changed in-place. args: filename: filename of the onnx model to be changed. meta_d | STRING |
| HIGH | …hybrid-transducer-ctc/export-onnx-ctc-non-streaming.py | 0 | add meta data to an onnx model. it is changed in-place. args: filename: filename of the onnx model to be changed. meta_d | STRING |
| HIGH | …transducer-ctc/export-onnx-transducer-non-streaming.py | 0 | add meta data to an onnx model. it is changed in-place. args: filename: filename of the onnx model to be changed. meta_d | STRING |
| HIGH | …ast-conformer-hybrid-transducer-ctc/export-onnx-ctc.py | 0 | add meta data to an onnx model. it is changed in-place. args: filename: filename of the onnx model to be changed. meta_d | STRING |
| HIGH | …former-hybrid-transducer-ctc/export-onnx-transducer.py | 0 | add meta data to an onnx model. it is changed in-place. args: filename: filename of the onnx model to be changed. meta_d | STRING |
| HIGH | scripts/matcha-tts/fa-en/add_meta_data.py | 0 | add meta data to an onnx model. it is changed in-place. args: filename: filename of the onnx model to be changed. meta_d | STRING |
| HIGH | scripts/pyannote/segmentation/export-onnx.py | 0 | add meta data to an onnx model. it is changed in-place. args: filename: filename of the onnx model to be changed. meta_d | STRING |
| HIGH | scripts/3dspeaker/export-onnx.py | 0 | add meta data to an onnx model. it is changed in-place. args: filename: filename of the onnx model to be changed. meta_d | STRING |
| HIGH | scripts/piper/add_meta_data.py | 0 | add meta data to an onnx model. it is changed in-place. args: filename: filename of the onnx model to be changed. meta_d | STRING |
| HIGH | scripts/melo-tts/export-onnx.py | 0 | add meta data to an onnx model. it is changed in-place. args: filename: filename of the onnx model to be changed. meta_d | STRING |
| HIGH | scripts/melo-tts/export-onnx-en.py | 0 | add meta data to an onnx model. it is changed in-place. args: filename: filename of the onnx model to be changed. meta_d | STRING |
| HIGH | scripts/wenet/export-onnx-streaming.py | 0 | add meta data to an onnx model. it is changed in-place. args: filename: filename of the onnx model to be changed. meta_d | STRING |
| HIGH | scripts/wenet/export-onnx.py | 0 | add meta data to an onnx model. it is changed in-place. args: filename: filename of the onnx model to be changed. meta_d | STRING |
| HIGH | scripts/whisper/export_onnx.py | 0 | add meta data to an onnx model. it is changed in-place. args: filename: filename of the onnx model to be changed. meta_d | STRING |
| HIGH | scripts/whisper/export-onnx.py | 0 | add meta data to an onnx model. it is changed in-place. args: filename: filename of the onnx model to be changed. meta_d | STRING |
| HIGH | scripts/whisper/rknn/export_onnx.py | 0 | add meta data to an onnx model. it is changed in-place. args: filename: filename of the onnx model to be changed. meta_d | STRING |
| HIGH | scripts/whisper/ascend-npu/export_onnx.py | 0 | add meta data to an onnx model. it is changed in-place. args: filename: filename of the onnx model to be changed. meta_d | STRING |
| HIGH | scripts/whisper/qnn/export_onnx.py | 0 | add meta data to an onnx model. it is changed in-place. args: filename: filename of the onnx model to be changed. meta_d | STRING |
| HIGH | scripts/medasr/export_onnx.py | 0 | add meta data to an onnx model. it is changed in-place. args: filename: filename of the onnx model to be changed. meta_d | STRING |
| HIGH | scripts/paraformer/rknn/export_encoder_onnx.py | 0 | add meta data to an onnx model. it is changed in-place. args: filename: filename of the onnx model to be changed. meta_d | STRING |
| HIGH | scripts/paraformer/qnn/export_encoder_onnx.py | 0 | add meta data to an onnx model. it is changed in-place. args: filename: filename of the onnx model to be changed. meta_d | STRING |
| HIGH | scripts/sense-voice/test_onnx.py | 0 | note: this is for testing the onnx models that would be later used to export to rknn | STRING |
| HIGH | scripts/sense-voice/rknn/test_onnx.py | 0 | note: this is for testing the onnx models that would be later used to export to rknn | STRING |
| HIGH | scripts/sense-voice/qnn/test_onnx.py | 0 | note: this is for testing the onnx models that would be later used to export to rknn | STRING |
| HIGH | scripts/sense-voice/adaptor.py | 0 | transform query, key and value. args: query (torch.tensor): query tensor (#batch, time1, size). key (torch.tensor): key | STRING |
| HIGH | scripts/sense-voice/torch_model.py | 0 | transform query, key and value. args: query (torch.tensor): query tensor (#batch, time1, size). key (torch.tensor): key | STRING |
| 337 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | build-ohos-x86-64.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | build-ohos-x86-64.sh | 21 | OHOS_SDK_NATIVE_DIR=/star-fj/fangjun/software/huawei/command-line-tools/sdk/default/openharmony/native/ | COMMENT |
| LOW | build-aarch64-linux-gnu.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | build-aarch64-linux-gnu.sh | 21 | # export SHERPA_ONNX_LINUX_ARM64_GPU_ONNXRUNTIME_VERSION=1.16.0 | COMMENT |
| LOW | build-axera-linux-aarch64.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | CMakeLists.txt | 81 | option(SHERPA_ONNX_ENABLE_SPACEMIT "Whether to build for SpacemiT CPUs " OFF) | COMMENT |
| LOW | build-android-x86-64.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | build-android-x86-64.sh | 41 | exit 1 | COMMENT |
| LOW | build-android-arm64-v8a.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | build-android-arm64-v8a.sh | 41 | exit 1 | COMMENT |
| LOW | build-android-arm64-v8a.sh | 241 | # 2. Login into Android | COMMENT |
| LOW | build-android-arm64-v8a.sh | 261 | # | COMMENT |
| LOW | build-ohos-arm64-v8a.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | build-ohos-arm64-v8a.sh | 21 | OHOS_SDK_NATIVE_DIR=/star-fj/fangjun/software/huawei/command-line-tools/sdk/default/openharmony/native/ | COMMENT |
| LOW | build-android-armv7-eabi.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | build-android-armv7-eabi.sh | 41 | exit 1 | COMMENT |
| LOW | build-android-x86.sh | 41 | # open $ANDROID_NDK/build/cmake/android.toolchain.cmake for ndk < r23 | COMMENT |
| LOW | build-ohos-armeabi-v7a.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | build-ohos-armeabi-v7a.sh | 21 | OHOS_SDK_NATIVE_DIR=/star-fj/fangjun/software/huawei/command-line-tools/sdk/default/openharmony/native/ | COMMENT |
| LOW | build-axcl-linux-aarch64.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | …aOnnxSpeakerIdentification/entry/obfuscation-rules.txt | 1 | # Define project specific obfuscation rules here. | COMMENT |
| LOW | …ony-os/SherpaOnnxHar/sherpa_onnx/obfuscation-rules.txt | 1 | # Define project specific obfuscation rules here. | COMMENT |
| LOW | …ony-os/SherpaOnnxHar/sherpa_onnx/src/main/cpp/macros.h | 1 | // scripts/node-addon-api/src/macros.h | COMMENT |
| LOW | …pa_onnx/src/main/cpp/include/sherpa-onnx/c-api/c-api.h | 81 | // We will set SHERPA_ONNX_BUILD_SHARED_LIBS and SHERPA_ONNX_BUILD_MAIN_LIB in | COMMENT |
| LOW | …pa_onnx/src/main/cpp/include/sherpa-onnx/c-api/c-api.h | 101 | #endif // WIN32 | COMMENT |
| LOW | …pa_onnx/src/main/cpp/include/sherpa-onnx/c-api/c-api.h | 4681 | #if defined(__GNUC__) | COMMENT |
| LOW | harmony-os/SherpaOnnxHar/entry/obfuscation-rules.txt | 1 | # Define project specific obfuscation rules here. | COMMENT |
| LOW | …-os/SherpaOnnxStreamingAsr/entry/obfuscation-rules.txt | 1 | # Define project specific obfuscation rules here. | COMMENT |
| LOW | …erpaOnnxSpeakerDiarization/entry/obfuscation-rules.txt | 1 | # Define project specific obfuscation rules here. | COMMENT |
| LOW | harmony-os/SherpaOnnxVadAsr/entry/obfuscation-rules.txt | 1 | # Define project specific obfuscation rules here. | COMMENT |
| LOW | harmony-os/SherpaOnnxTts/entry/obfuscation-rules.txt | 1 | # Define project specific obfuscation rules here. | COMMENT |
| LOW | …eamingSpeechRecognition/StreamingSpeechRecognition.cpp | 1 | COMMENT | |
| LOW | …eamingSpeechRecognition/StreamingSpeechRecognition.cpp | 41 | // Create the shell manager, in case the dialog contains | COMMENT |
| LOW | mfc-examples/StreamingSpeechRecognition/pch.h | 1 | // pch.h: This is a precompiled header file. | COMMENT |
| LOW | mfc-examples/StreamingSpeechRecognition/targetver.h | 1 | #pragma once | COMMENT |
| LOW | mfc-examples/StreamingSpeechRecognition/pch.cpp | 1 | // pch.cpp: source file corresponding to the pre-compiled header | COMMENT |
| LOW | mfc-examples/StreamingSpeechRecognition/Resource.h | 1 | //{{NO_DEPENDENCIES}} | COMMENT |
| LOW | mfc-examples/StreamingSpeechRecognition/framework.h | 1 | #pragma once | COMMENT |
| LOW | mfc-examples/StreamingSpeechRecognition/framework.h | 21 | #endif | COMMENT |
| LOW | …treamingSpeechRecognition/StreamingSpeechRecognition.h | 1 | COMMENT | |
| LOW | …ingSpeechRecognition/StreamingSpeechRecognitionDlg.cpp | 1 | COMMENT | |
| LOW | mfc-examples/NonStreamingSpeechRecognition/pch.h | 1 | // pch.h: This is a precompiled header file. | COMMENT |
| LOW | …amingSpeechRecognition/NonStreamingSpeechRecognition.h | 1 | COMMENT | |
| LOW | mfc-examples/NonStreamingSpeechRecognition/targetver.h | 1 | #pragma once | COMMENT |
| LOW | …SpeechRecognition/NonStreamingSpeechRecognitionDlg.cpp | 1 | COMMENT | |
| LOW | mfc-examples/NonStreamingSpeechRecognition/pch.cpp | 1 | // pch.cpp: source file corresponding to the pre-compiled header | COMMENT |
| LOW | mfc-examples/NonStreamingSpeechRecognition/Resource.h | 1 | //{{NO_DEPENDENCIES}} | COMMENT |
| LOW | …ingSpeechRecognition/NonStreamingSpeechRecognition.cpp | 1 | COMMENT | |
| LOW | mfc-examples/NonStreamingSpeechRecognition/framework.h | 1 | #pragma once | COMMENT |
| LOW | mfc-examples/NonStreamingSpeechRecognition/framework.h | 21 | #endif | COMMENT |
| LOW | mfc-examples/NonStreamingTextToSpeech/pch.h | 1 | // pch.h: This is a precompiled header file. | COMMENT |
| LOW | mfc-examples/NonStreamingTextToSpeech/targetver.h | 1 | #pragma once | COMMENT |
| LOW | mfc-examples/NonStreamingTextToSpeech/Resource.h | 1 | //{{NO_DEPENDENCIES}} | COMMENT |
| LOW | mfc-examples/NonStreamingTextToSpeech/Resource.h | 21 | #ifndef APSTUDIO_READONLY_SYMBOLS | COMMENT |
| LOW | …nStreamingTextToSpeech/NonStreamingTextToSpeechDlg.cpp | 1 | COMMENT | |
| LOW | sherpa-onnx/csrc/offline-zipformer-ctc-model.h | 1 | // sherpa-onnx/csrc/offline-zipformer-ctc-model.h | COMMENT |
| LOW | sherpa-onnx/csrc/ort-env.h | 1 | // sherpa-onnx/csrc/ort-env.h | COMMENT |
| LOW | …erpa-onnx/csrc/offline-speech-denoiser-dpdfnet-model.h | 1 | // sherpa-onnx/csrc/offline-speech-denoiser-dpdfnet-model.h | COMMENT |
| LOW | sherpa-onnx/csrc/keyword-spotter.h | 1 | // sherpa-onnx/csrc/keyword-spotter.h | COMMENT |
| LOW | sherpa-onnx/csrc/keyword-spotter.h | 21 | /// The triggered keyword. | COMMENT |
| 396 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | cmake/download-all-deps.py | 128 | def parse_windows_onnxruntime(filepath, crt, build_type): | CODE |
| LOW | cmake/download-all-deps.py | 413 | def build_canonical_filename_lookup(cmake_dir): | CODE |
| LOW | sherpa-onnx/python/sherpa_onnx/online_recognizer.py | 1106 | def get_result_as_json_string(self, s: OnlineStream) -> str: | CODE |
| LOW | sherpa-onnx/python/sherpa_onnx/display.py | 35 | def finalize_current_sentence(self): | CODE |
| LOW | sherpa-onnx/python/tests/test_offline_recognizer.py | 51 | def test_transducer_single_file(self): | CODE |
| LOW | sherpa-onnx/python/tests/test_offline_recognizer.py | 84 | def test_transducer_multiple_files(self): | CODE |
| LOW | sherpa-onnx/python/tests/test_offline_recognizer.py | 130 | def test_paraformer_single_file(self): | CODE |
| LOW | sherpa-onnx/python/tests/test_offline_recognizer.py | 153 | def test_paraformer_multiple_files(self): | CODE |
| LOW | sherpa-onnx/python/tests/test_offline_recognizer.py | 195 | def test_nemo_ctc_single_file(self): | CODE |
| LOW | sherpa-onnx/python/tests/test_offline_recognizer.py | 222 | def test_nemo_ctc_multiple_files(self): | CODE |
| LOW | sherpa-onnx/python/tests/test_keyword_spotter.py | 49 | def test_zipformer_transducer_en(self): | CODE |
| LOW | sherpa-onnx/python/tests/test_keyword_spotter.py | 111 | def test_zipformer_transducer_cn(self): | CODE |
| LOW | sherpa-onnx/python/tests/test_fast_clustering.py | 31 | def test_construct_by_num_clusters(self): | CODE |
| LOW | sherpa-onnx/python/tests/test_fast_clustering.py | 58 | def test_construct_by_threshold(self): | CODE |
| LOW | sherpa-onnx/python/tests/test_fast_clustering.py | 85 | def test_cluster_speaker_embeddings(self): | CODE |
| LOW | sherpa-onnx/python/tests/test_speaker_recognition.py | 46 | def load_speaker_embedding_model(model_filename): | CODE |
| LOW | sherpa-onnx/python/tests/test_online_recognizer.py | 50 | def test_transducer_single_file(self): | CODE |
| LOW | sherpa-onnx/python/tests/test_online_recognizer.py | 90 | def test_transducer_multiple_files(self): | CODE |
| LOW | sherpa-onnx/python/tests/test_online_recognizer.py | 147 | def test_nemotron_streaming_english(self): | CODE |
| LOW | sherpa-onnx/python/tests/test_online_recognizer.py | 181 | def test_nemotron_multilingual_streaming(self): | CODE |
| LOW | wasm/nodejs/sherpa-onnx-punctuation.js | 13 | function initSherpaOnnxOfflinePunctuationModelConfig(config, Module) { | CODE |
| LOW | wasm/nodejs/sherpa-onnx-punctuation.js | 47 | function initSherpaOnnxOfflinePunctuationConfig(config, Module) { | CODE |
| LOW | wasm/nodejs/sherpa-onnx-punctuation.js | 66 | function initSherpaOnnxOnlinePunctuationModelConfig(config, Module) { | CODE |
| LOW | wasm/nodejs/sherpa-onnx-punctuation.js | 107 | function initSherpaOnnxOnlinePunctuationConfig(config, Module) { | CODE |
| LOW | …speaker-diarization/sherpa-onnx-speaker-diarization.js | 26 | function initSherpaOnnxOfflineSpeakerSegmentationPyannoteModelConfig( | CODE |
| LOW | …speaker-diarization/sherpa-onnx-speaker-diarization.js | 49 | function initSherpaOnnxOfflineSpeakerSegmentationModelConfig(config, Module) { | CODE |
| LOW | …speaker-diarization/sherpa-onnx-speaker-diarization.js | 85 | function initSherpaOnnxSpeakerEmbeddingExtractorConfig(config, Module) { | CODE |
| LOW | …speaker-diarization/sherpa-onnx-speaker-diarization.js | 121 | function initSherpaOnnxFastClusteringConfig(config, Module) { | CODE |
| LOW | …speaker-diarization/sherpa-onnx-speaker-diarization.js | 138 | function initSherpaOnnxOfflineSpeakerDiarizationConfig(config, Module) { | CODE |
| LOW | …speaker-diarization/sherpa-onnx-speaker-diarization.js | 277 | function createOfflineSpeakerDiarization(Module, myConfig) { | CODE |
| LOW | …m/speech-enhancement/sherpa-onnx-speech-enhancement.js | 21 | function initSherpaOnnxOfflineSpeechDenoiserGtcrnModelConfig(config, Module) { | CODE |
| LOW | …m/speech-enhancement/sherpa-onnx-speech-enhancement.js | 50 | function initSherpaOnnxOfflineSpeechDenoiserDpdfNetModelConfig(config, Module) { | CODE |
| LOW | …m/speech-enhancement/sherpa-onnx-speech-enhancement.js | 71 | function initSherpaOnnxOfflineSpeechDenoiserModelConfig(config, Module) { | CODE |
| LOW | …m/speech-enhancement/sherpa-onnx-speech-enhancement.js | 117 | function initSherpaOnnxOfflineSpeechDenoiserConfig(config, Module) { | CODE |
| LOW | …m/speech-enhancement/sherpa-onnx-speech-enhancement.js | 251 | function createOfflineSpeechDenoiser(Module, myConfig) { | CODE |
| LOW | …m/speech-enhancement/sherpa-onnx-speech-enhancement.js | 266 | function createOnlineSpeechDenoiser(Module, myConfig) { | CODE |
| LOW | wasm/vad-asr/sherpa-onnx-asr.js | 114 | function initSherpaOnnxOnlineTransducerModelConfig(config, Module) { | CODE |
| LOW | wasm/vad-asr/sherpa-onnx-asr.js | 151 | function initSherpaOnnxOnlineParaformerModelConfig(config, Module) { | CODE |
| LOW | wasm/vad-asr/sherpa-onnx-asr.js | 198 | function initSherpaOnnxOnlineNemoCtcModelConfig(config, Module) { | CODE |
| LOW | wasm/vad-asr/sherpa-onnx-asr.js | 216 | function initSherpaOnnxOnlineToneCtcModelConfig(config, Module) { | CODE |
| LOW | wasm/vad-asr/sherpa-onnx-asr.js | 234 | function initSherpaOnnxOnlineModelConfig(config, Module) { | CODE |
| LOW | wasm/vad-asr/sherpa-onnx-asr.js | 393 | function initSherpaOnnxFeatureConfig(config, Module) { | CODE |
| LOW | wasm/vad-asr/sherpa-onnx-asr.js | 402 | function initSherpaOnnxHomophoneReplacerConfig(config, Module) { | CODE |
| LOW | wasm/vad-asr/sherpa-onnx-asr.js | 432 | function initSherpaOnnxOnlineCtcFstDecoderConfig(config, Module) { | CODE |
| LOW | wasm/vad-asr/sherpa-onnx-asr.js | 445 | function initSherpaOnnxOnlineRecognizerConfig(config, Module) { | CODE |
| LOW | wasm/vad-asr/sherpa-onnx-asr.js | 682 | function initSherpaOnnxOfflineTransducerModelConfig(config, Module) { | CODE |
| LOW | wasm/vad-asr/sherpa-onnx-asr.js | 719 | function initSherpaOnnxOfflineParaformerModelConfig(config, Module) { | CODE |
| LOW | wasm/vad-asr/sherpa-onnx-asr.js | 738 | function initSherpaOnnxOfflineNemoEncDecCtcModelConfig(config, Module) { | CODE |
| LOW | wasm/vad-asr/sherpa-onnx-asr.js | 757 | function initSherpaOnnxOfflineDolphinModelConfig(config, Module) { | CODE |
| LOW | wasm/vad-asr/sherpa-onnx-asr.js | 776 | function initSherpaOnnxOfflineZipformerCtcModelConfig(config, Module) { | CODE |
| LOW | wasm/vad-asr/sherpa-onnx-asr.js | 795 | function initSherpaOnnxOfflineWenetCtcModelConfig(config, Module) { | CODE |
| LOW | wasm/vad-asr/sherpa-onnx-asr.js | 814 | function initSherpaOnnxOfflineOmnilingualAsrCtcModelConfig(config, Module) { | CODE |
| LOW | wasm/vad-asr/sherpa-onnx-asr.js | 833 | function initSherpaOnnxOfflineMedAsrCtcModelConfig(config, Module) { | CODE |
| LOW | wasm/vad-asr/sherpa-onnx-asr.js | 852 | function initSherpaOnnxOfflineFireRedAsrCtcModelConfig(config, Module) { | CODE |
| LOW | wasm/vad-asr/sherpa-onnx-asr.js | 871 | function initSherpaOnnxOfflineFunAsrNanoModelConfig(config, Module) { | CODE |
| LOW | wasm/vad-asr/sherpa-onnx-asr.js | 1018 | function initSherpaOnnxOfflineWhisperModelConfig(config, Module) { | CODE |
| LOW | wasm/vad-asr/sherpa-onnx-asr.js | 1066 | function initSherpaOnnxOfflineCanaryModelConfig(config, Module) { | CODE |
| LOW | wasm/vad-asr/sherpa-onnx-asr.js | 1113 | function initSherpaOnnxOfflineMoonshineModelConfig(config, Module) { | CODE |
| LOW | wasm/vad-asr/sherpa-onnx-asr.js | 1173 | function initSherpaOnnxOfflineFireRedAsrModelConfig(config, Module) { | CODE |
| LOW | wasm/vad-asr/sherpa-onnx-asr.js | 1204 | function initSherpaOnnxOfflineTdnnModelConfig(config, Module) { | CODE |
| 156 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | sherpa-onnx/python/sherpa_onnx/__init__.py | 1 | CODE | |
| LOW | sherpa-onnx/python/sherpa_onnx/__init__.py | 1 | CODE | |
| LOW | sherpa-onnx/python/sherpa_onnx/__init__.py | 1 | CODE | |
| LOW | sherpa-onnx/python/sherpa_onnx/__init__.py | 1 | CODE | |
| LOW | sherpa-onnx/python/sherpa_onnx/__init__.py | 1 | CODE | |
| LOW | sherpa-onnx/python/sherpa_onnx/__init__.py | 1 | CODE | |
| LOW | sherpa-onnx/python/sherpa_onnx/__init__.py | 1 | CODE | |
| LOW | sherpa-onnx/python/sherpa_onnx/__init__.py | 1 | CODE | |
| LOW | sherpa-onnx/python/sherpa_onnx/__init__.py | 1 | CODE | |
| LOW | sherpa-onnx/python/sherpa_onnx/__init__.py | 1 | CODE | |
| LOW | sherpa-onnx/python/sherpa_onnx/__init__.py | 1 | CODE | |
| LOW | sherpa-onnx/python/sherpa_onnx/__init__.py | 1 | CODE | |
| LOW | sherpa-onnx/python/sherpa_onnx/__init__.py | 1 | CODE | |
| LOW | sherpa-onnx/python/sherpa_onnx/__init__.py | 1 | CODE | |
| LOW | sherpa-onnx/python/sherpa_onnx/__init__.py | 1 | CODE | |
| LOW | sherpa-onnx/python/sherpa_onnx/__init__.py | 1 | CODE | |
| LOW | sherpa-onnx/python/sherpa_onnx/__init__.py | 1 | CODE | |
| LOW | sherpa-onnx/python/sherpa_onnx/__init__.py | 1 | CODE | |
| LOW | sherpa-onnx/python/sherpa_onnx/__init__.py | 1 | CODE | |
| LOW | sherpa-onnx/python/sherpa_onnx/__init__.py | 1 | CODE | |
| LOW | sherpa-onnx/python/sherpa_onnx/__init__.py | 1 | CODE | |
| LOW | sherpa-onnx/python/sherpa_onnx/__init__.py | 1 | CODE | |
| LOW | sherpa-onnx/python/sherpa_onnx/__init__.py | 1 | CODE | |
| LOW | sherpa-onnx/python/sherpa_onnx/__init__.py | 1 | CODE | |
| LOW | sherpa-onnx/python/sherpa_onnx/__init__.py | 1 | CODE | |
| LOW | sherpa-onnx/python/sherpa_onnx/__init__.py | 1 | CODE | |
| LOW | sherpa-onnx/python/sherpa_onnx/__init__.py | 1 | CODE | |
| LOW | sherpa-onnx/python/sherpa_onnx/__init__.py | 1 | CODE | |
| LOW | sherpa-onnx/python/sherpa_onnx/__init__.py | 1 | CODE | |
| LOW | sherpa-onnx/python/sherpa_onnx/__init__.py | 1 | CODE | |
| LOW | sherpa-onnx/python/sherpa_onnx/__init__.py | 1 | CODE | |
| LOW | sherpa-onnx/python/sherpa_onnx/__init__.py | 1 | CODE | |
| LOW | sherpa-onnx/python/sherpa_onnx/__init__.py | 1 | CODE | |
| LOW | sherpa-onnx/python/sherpa_onnx/__init__.py | 1 | CODE | |
| LOW | sherpa-onnx/python/sherpa_onnx/__init__.py | 1 | CODE | |
| LOW | sherpa-onnx/python/sherpa_onnx/__init__.py | 1 | CODE | |
| LOW | sherpa-onnx/python/sherpa_onnx/__init__.py | 1 | CODE | |
| LOW | sherpa-onnx/python/sherpa_onnx/__init__.py | 1 | CODE | |
| LOW | sherpa-onnx/python/sherpa_onnx/__init__.py | 1 | CODE | |
| LOW | sherpa-onnx/python/sherpa_onnx/__init__.py | 1 | CODE | |
| LOW | sherpa-onnx/python/sherpa_onnx/__init__.py | 1 | CODE | |
| LOW | sherpa-onnx/python/sherpa_onnx/__init__.py | 1 | CODE | |
| LOW | sherpa-onnx/python/sherpa_onnx/__init__.py | 1 | CODE | |
| LOW | sherpa-onnx/python/sherpa_onnx/__init__.py | 1 | CODE | |
| LOW | sherpa-onnx/python/sherpa_onnx/__init__.py | 1 | CODE | |
| LOW | sherpa-onnx/python/sherpa_onnx/__init__.py | 1 | CODE | |
| LOW | sherpa-onnx/python/sherpa_onnx/__init__.py | 1 | CODE | |
| LOW | sherpa-onnx/python/sherpa_onnx/__init__.py | 1 | CODE | |
| LOW | sherpa-onnx/python/sherpa_onnx/__init__.py | 1 | CODE | |
| LOW | sherpa-onnx/python/sherpa_onnx/__init__.py | 1 | CODE | |
| LOW | sherpa-onnx/python/sherpa_onnx/__init__.py | 1 | CODE | |
| LOW | sherpa-onnx/python/sherpa_onnx/__init__.py | 1 | CODE | |
| LOW | sherpa-onnx/python/sherpa_onnx/__init__.py | 1 | CODE | |
| LOW | sherpa-onnx/python/sherpa_onnx/__init__.py | 1 | CODE | |
| LOW | sherpa-onnx/python/sherpa_onnx/__init__.py | 1 | CODE | |
| LOW | sherpa-onnx/python/sherpa_onnx/__init__.py | 1 | CODE | |
| LOW | sherpa-onnx/python/sherpa_onnx/__init__.py | 1 | CODE | |
| LOW | sherpa-onnx/python/sherpa_onnx/__init__.py | 1 | CODE | |
| LOW | sherpa-onnx/python/sherpa_onnx/__init__.py | 1 | CODE | |
| LOW | sherpa-onnx/python/sherpa_onnx/__init__.py | 1 | CODE | |
| 100 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | scripts/sense-voice/adaptor.py | 196 | # This class is copied and modified from | COMMENT |
| MEDIUM | scripts/sense-voice/torch_model.py | 1 | # This file is modified from | COMMENT |
| MEDIUM | scripts/sense-voice/rknn/adaptor.py | 196 | # This class is copied and modified from | COMMENT |
| MEDIUM | scripts/sense-voice/rknn/torch_model.py | 1 | # This file is modified from | COMMENT |
| MEDIUM | scripts/sense-voice/ascend-npu/torch_model.py | 1 | # This file is modified from | COMMENT |
| MEDIUM | scripts/apk/build-apk-vad.sh | 12 | # This function is from espnet | COMMENT |
| MEDIUM | scripts/apk/build-apk-kws.sh | 12 | # This function is from espnet | COMMENT |
| MEDIUM | scripts/spleeter/convert_to_torch.py | 16 | # This function is modified from | COMMENT |
| MEDIUM | scripts/nemo/parakeet-unified-en-0.6b/run.sh | 7 | # This function is from espnet | COMMENT |
| MEDIUM | scripts/nemo/parakeet-unified-en-0.6b/run-streaming.sh | 7 | # This function is from espnet | COMMENT |
| MEDIUM | scripts/nemo/canary/run_180m_flash.sh | 7 | # This function is from espnet | COMMENT |
| MEDIUM | scripts/nemo/parakeet-tdt-0.6b-v2/run.sh | 7 | # This function is from espnet | COMMENT |
| MEDIUM | scripts/nemo/parakeet-tdt-0.6b-v3/run.sh | 7 | # This function is from espnet | COMMENT |
| MEDIUM | …-hybrid-transducer-ctc/run-transducer-non-streaming.sh | 7 | # This function is from espnet | COMMENT |
| MEDIUM | …ormer-hybrid-transducer-ctc/run-ctc-non-streaming-2.sh | 7 | # This function is from espnet | COMMENT |
| MEDIUM | …ybrid-transducer-ctc/run-transducer-non-streaming-2.sh | 7 | # This function is from espnet | COMMENT |
| MEDIUM | …nformer-hybrid-transducer-ctc/run-ctc-non-streaming.sh | 7 | # This function is from espnet | COMMENT |
| MEDIUM | .github/scripts/test-spoken-language-identification.sh | 6 | # This function is from espnet | COMMENT |
| MEDIUM | .github/scripts/test-online-transducer.sh | 6 | # This function is from espnet | COMMENT |
| MEDIUM | .github/scripts/test-cxx-api.sh | 6 | # This function is from espnet | COMMENT |
| MEDIUM | .github/scripts/test-offline-moonshine.sh | 6 | # This function is from espnet | COMMENT |
| MEDIUM | .github/scripts/test-online-paraformer.sh | 6 | # This function is from espnet | COMMENT |
| MEDIUM | .github/scripts/test-offline-cohere-transcribe.sh | 6 | # This function is from espnet | COMMENT |
| MEDIUM | .github/scripts/test-kws.sh | 6 | # This function is from espnet | COMMENT |
| MEDIUM | .github/scripts/test-c-api.sh | 6 | # This function is from espnet | COMMENT |
| MEDIUM | .github/scripts/test-python.sh | 6 | # This function is from espnet | COMMENT |
| MEDIUM | .github/scripts/test-offline-tts.sh | 6 | # This function is from espnet | COMMENT |
| MEDIUM | .github/scripts/test-offline-speech-denoiser.sh | 6 | # This function is from espnet | COMMENT |
| MEDIUM | .github/scripts/test-online-ctc.sh | 6 | # This function is from espnet | COMMENT |
| MEDIUM | .github/scripts/test-online-punctuation.sh | 9 | # This function is from espnet | COMMENT |
| MEDIUM | .github/scripts/test-offline-transducer.sh | 6 | # This function is from espnet | COMMENT |
| MEDIUM | .github/scripts/test-offline-source-separation.sh | 6 | # This function is from espnet | COMMENT |
| MEDIUM | .github/scripts/test-audio-tagging.sh | 6 | # This function is from espnet | COMMENT |
| MEDIUM | .github/scripts/test-speaker-diarization.sh | 6 | # This function is from espnet | COMMENT |
| MEDIUM | .github/scripts/test-offline-punctuation.sh | 6 | # This function is from espnet | COMMENT |
| MEDIUM | .github/scripts/test-offline-ctc.sh | 6 | # This function is from espnet | COMMENT |
| MEDIUM | .github/scripts/test-offline-diacritization.sh | 6 | # This function is from espnet | COMMENT |
| MEDIUM | .github/scripts/test-offline-fire-red-asr.sh | 6 | # This function is from espnet | COMMENT |
| MEDIUM | .github/scripts/test-speaker-recognition-python.sh | 6 | # This function is from espnet | COMMENT |
| MEDIUM | .github/scripts/test-offline-whisper.sh | 6 | # This function is from espnet | COMMENT |
| MEDIUM | python-api-examples/offline-tts-play.py | 405 | """This function is called whenever max_num_sentences sentences | STRING |
| MEDIUM | python-api-examples/pocket-tts-play.py | 99 | """This function is called whenever max_num_sentences sentences | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | cmake/cmake_extension.py | 134 | CODE | |
| LOW | cmake/download-all-deps.py | 233 | CODE | |
| LOW | cmake/download-all-deps.py | 434 | CODE | |
| LOW | cmake/download-all-deps.py | 523 | CODE | |
| LOW | sherpa-onnx/python/sherpa_onnx/cli.py | 67 | CODE | |
| LOW | sherpa-onnx/python/sherpa_onnx/utils.py | 8 | CODE | |
| LOW | sherpa-onnx/python/sherpa_onnx/utils.py | 86 | CODE | |
| LOW | sherpa-onnx/python/tests/test_keyword_spotter.py | 49 | CODE | |
| LOW | sherpa-onnx/python/tests/test_keyword_spotter.py | 111 | CODE | |
| LOW | sherpa-onnx/python/tests/test_online_recognizer.py | 90 | CODE | |
| LOW | sherpa-onnx/python/tests/test_online_recognizer.py | 238 | CODE | |
| LOW | sherpa-onnx/python/tests/test_online_recognizer.py | 289 | CODE | |
| LOW | flutter-examples/tts/generate-asset-list.py | 14 | CODE | |
| LOW | scripts/text2token.py | 128 | CODE | |
| LOW | scripts/benchmark/run_timestamp_benchmark.py | 296 | CODE | |
| LOW | scripts/benchmark/run_timestamp_benchmark.py | 346 | CODE | |
| LOW | scripts/omnilingual-asr/test.py | 79 | CODE | |
| LOW | scripts/pocket-tts/test_tokenizer.py | 29 | CODE | |
| LOW | scripts/sense-voice/test_nano_torch.py | 13 | CODE | |
| LOW | scripts/sense-voice/rknn/test_nano_torch.py | 13 | CODE | |
| LOW | scripts/silero_vad/v4/test-onnx.py | 85 | CODE | |
| LOW | scripts/silero_vad/v4/test-on-rk3588-board.py | 83 | CODE | |
| LOW | …s/nemo/parakeet-unified-en-0.6b/test_onnx_streaming.py | 122 | CODE | |
| LOW | scripts/nemo/canary/test_180m_flash.py | 188 | CODE | |
| LOW | …emo/qnn/nemotron-speech-streaming-en-0.6b/test_onnx.py | 211 | CODE | |
| LOW | …/nemo/qnn/nemotron-3.5-asr-streaming-0.6b/test_onnx.py | 212 | CODE | |
| LOW | scripts/matcha-tts/zh-en/generate_lexicon.py | 18 | CODE | |
| LOW | scripts/matcha-tts/zh-en/test.py | 214 | CODE | |
| LOW | scripts/tauri/generate-vad-asr.py | 1070 | CODE | |
| LOW | scripts/pyannote/segmentation/vad-onnx.py | 83 | CODE | |
| LOW | …ipts/pyannote/segmentation/speaker-diarization-onnx.py | 146 | CODE | |
| LOW | …ipts/pyannote/segmentation/speaker-diarization-onnx.py | 225 | CODE | |
| LOW | …ipts/pyannote/segmentation/speaker-diarization-onnx.py | 303 | CODE | |
| LOW | scripts/wheel/patch_wheel.py | 30 | CODE | |
| LOW | scripts/wheel/sherpa-onnx-core/sherpa_onnx/__main__.py | 5 | CODE | |
| LOW | scripts/piper/generate.py | 2225 | CODE | |
| LOW | scripts/melo-tts/test.py | 49 | CODE | |
| LOW | scripts/melo-tts/export-onnx.py | 21 | CODE | |
| LOW | scripts/supertonic/convert.py | 47 | CODE | |
| LOW | scripts/supertonic/convert.py | 48 | CODE | |
| LOW | scripts/kokoro/v1.0/test.py | 112 | CODE | |
| LOW | scripts/kokoro/v1.1-zh/test.py | 112 | CODE | |
| LOW | scripts/kokoro/v1.1-zh/generate_lexicon_zh.py | 23 | CODE | |
| LOW | scripts/whisper/export_onnx.py | 314 | CODE | |
| LOW | scripts/whisper/export-onnx.py | 314 | CODE | |
| LOW | scripts/whisper/rknn/test_on_rk3588_board.py | 234 | CODE | |
| LOW | scripts/whisper/rknn/test_onnx.py | 117 | CODE | |
| LOW | scripts/whisper/rknn/export_onnx.py | 419 | CODE | |
| LOW | scripts/whisper/ascend-npu/test_om.py | 123 | CODE | |
| LOW | scripts/whisper/ascend-npu/export_onnx.py | 419 | CODE | |
| LOW | scripts/whisper/qnn/test_onnx.py | 117 | CODE | |
| LOW | scripts/whisper/qnn/export_onnx.py | 419 | CODE | |
| LOW | .github/scripts/export-qnn/generate_zipformer.py | 20 | CODE | |
| LOW | .github/scripts/export-qnn/generate_parakeet_tdt_ctc.py | 21 | CODE | |
| LOW | python-api-examples/non_streaming_server.py | 168 | CODE | |
| LOW | python-api-examples/non_streaming_server.py | 940 | CODE | |
| LOW | python-api-examples/generate-subtitles.py | 407 | CODE | |
| LOW | python-api-examples/generate-subtitles.py | 622 | CODE | |
| LOW | …aker-identification-with-vad-non-streaming-asr-alsa.py | 268 | CODE | |
| LOW | …xamples/two-pass-speech-recognition-from-microphone.py | 247 | CODE | |
| 20 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | …pp/src/main/java/com/k2fsa/sherpa/onnx/MainActivity.kt | 188 | if (isEndpoint && recognizer.config.modelConfig.paraformer.encoder.isNotBlank()) { | CODE |
| CRITICAL⚡ | …pa/onnx/simulate/streaming/asr/SimulateStreamingAsr.kt | 162 | if (config.modelConfig.senseVoice.qnnConfig.backendLib.isEmpty() | CODE |
| CRITICAL⚡ | …pa/onnx/simulate/streaming/asr/SimulateStreamingAsr.kt | 163 | && config.modelConfig.zipformerCtc.qnnConfig.backendLib.isEmpty() | CODE |
| CRITICAL⚡ | …pa/onnx/simulate/streaming/asr/SimulateStreamingAsr.kt | 164 | && config.modelConfig.paraformer.qnnConfig.backendLib.isEmpty() | CODE |
| CRITICAL⚡ | …pa/onnx/simulate/streaming/asr/SimulateStreamingAsr.kt | 165 | && config.modelConfig.transducer.qnnConfig.backendLib.isEmpty() | CODE |
| CRITICAL | python-api-examples/web/js/jquery-3.6.0.min.js | 2 | !function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):f | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | cmake/download-all-deps.py | 498 | except Exception as e: | CODE |
| LOW | scripts/sense-voice/test_nano_torch.py | 25 | except Exception as ex: | CODE |
| LOW | scripts/sense-voice/rknn/test_nano_torch.py | 25 | except Exception as ex: | CODE |
| LOW | scripts/kitten-tts/nano_v0_1/test.py | 13 | except Exception as ex: | CODE |
| LOW | scripts/kitten-tts/mini_v0_1/test.py | 13 | except Exception as ex: | CODE |
| LOW | scripts/kitten-tts/nano_v0_2/test.py | 13 | except Exception as ex: | CODE |
| LOW | scripts/matcha-tts/zh-en/test.py | 33 | except Exception as ex: | CODE |
| LOW | scripts/matcha-tts/fa-en/test.py | 26 | except Exception as ex: | CODE |
| LOW | scripts/vocos/test.py | 13 | except Exception as ex: | CODE |
| MEDIUM⚡ | scripts/supertonic/generate_indexer_bin.py | 19 | print(f"Error: {json_path} does not exist") | CODE |
| LOW⚡ | scripts/supertonic/generate_indexer_bin.py | 25 | except Exception as e: | CODE |
| MEDIUM⚡ | scripts/supertonic/generate_indexer_bin.py | 26 | print(f"Error: failed to read JSON {json_path}: {e}") | CODE |
| MEDIUM⚡ | scripts/supertonic/generate_indexer_bin.py | 30 | print(f"Error: JSON must be an array of integers, got {type(arr)}") | CODE |
| MEDIUM⚡ | scripts/supertonic/generate_indexer_bin.py | 35 | print(f"Error: JSON element {i} is not an integer: {x} (type={type(x)})") | CODE |
| MEDIUM⚡ | scripts/supertonic/generate_indexer_bin.py | 38 | print(f"Error: JSON element {i} out of int32 range: {x}") | CODE |
| LOW⚡ | scripts/supertonic/generate_indexer_bin.py | 46 | except Exception as e: | CODE |
| MEDIUM⚡ | scripts/supertonic/generate_indexer_bin.py | 47 | print(f"Error: failed to write {bin_path}: {e}") | CODE |
| LOW⚡ | scripts/supertonic/convert.py | 32 | except Exception: | CODE |
| LOW⚡ | scripts/supertonic/convert.py | 39 | except Exception: | CODE |
| LOW⚡ | scripts/supertonic/convert.py | 43 | except Exception: | CODE |
| LOW | scripts/supertonic/convert.py | 86 | except Exception: | CODE |
| LOW | scripts/supertonic/convert.py | 106 | except Exception: | CODE |
| LOW | scripts/supertonic/convert.py | 257 | except Exception: | CODE |
| LOW | scripts/supertonic/convert.py | 273 | except Exception as e: | CODE |
| LOW | scripts/supertonic/convert.py | 330 | except Exception as e: | CODE |
| LOW | scripts/supertonic/convert.py | 468 | except Exception: | CODE |
| MEDIUM | scripts/supertonic/convert.py | 231 | def get_next(self) -> Optional[Dict[str, np.ndarray]]: | CODE |
| MEDIUM⚡ | scripts/supertonic/generate_voices_bin.py | 103 | print(f"Error: input dir does not exist or not a directory: {input_dir}") | CODE |
| LOW⚡ | scripts/supertonic/generate_voices_bin.py | 113 | except Exception as e: | CODE |
| MEDIUM⚡ | scripts/supertonic/generate_voices_bin.py | 114 | print(f"Error: {e}") | CODE |
| LOW | scripts/kokoro/v0.19/test.py | 22 | except Exception as ex: | CODE |
| LOW | scripts/kokoro/v1.0/test.py | 16 | except Exception as ex: | CODE |
| LOW | scripts/kokoro/v1.1-zh/test.py | 16 | except Exception as ex: | CODE |
| LOW | scripts/whisper/test.py | 262 | except Exception: | CODE |
| MEDIUM | python-api-examples/zipvoice-tts.py | 86 | print("Error in generating audios. Please read previous error messages.") | CODE |
| MEDIUM | python-api-examples/offline-funasr-nano-decode-files.py | 218 | print(f"Error: File not found: {sound_file}", file=sys.stderr) | CODE |
| MEDIUM | python-api-examples/offline-tts-play.py | 567 | print("Error in generating audios. Please read previous error messages.") | STRING |
| MEDIUM | python-api-examples/supertonic-tts.py | 79 | print("Error in generating audios. Please read previous error messages.") | CODE |
| MEDIUM | python-api-examples/pocket-tts-play.py | 235 | print("Error in generating audios. Please read previous error messages.") | STRING |
| MEDIUM | python-api-examples/pocket-tts.py | 86 | print("Error in generating audios. Please read previous error messages.") | CODE |
| MEDIUM | python-api-examples/offline-tts.py | 433 | print("Error in generating audios. Please read previous error messages.") | STRING |
| MEDIUM | python-api-examples/zipvoice-tts-play.py | 203 | print("Error in generating audios. Please read previous error messages.") | STRING |
| MEDIUM | swift-api-examples/generate-subtitles.swift | 227 | print("Error writing: \(error.localizedDescription)") | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | build-rknn-linux-aarch64.sh | 5 | # Before you run this file, make sure you have first cloned | COMMENT |
| LOW | build-axcl-linux-aarch64.sh | 22 | # Before you run this file, make sure you have first cloned | COMMENT |
| MEDIUM | …aming-speech-enhancement-dpdfnet/analysis_options.yaml | 9 | # If you want a smaller set of lints you can change this to specify | COMMENT |
| MEDIUM | …api-examples/speaker-diarization/analysis_options.yaml | 9 | # If you want a smaller set of lints you can change this to specify | COMMENT |
| MEDIUM | …xamples/speech-enhancement-gtcrn/analysis_options.yaml | 9 | # If you want a smaller set of lints you can change this to specify | COMMENT |
| MEDIUM | dart-api-examples/streaming-asr/analysis_options.yaml | 9 | # If you want a smaller set of lints you can change this to specify | COMMENT |
| MEDIUM | dart-api-examples/keyword-spotter/analysis_options.yaml | 9 | # If you want a smaller set of lints you can change this to specify | COMMENT |
| MEDIUM | …t-api-examples/non-streaming-asr/analysis_options.yaml | 9 | # If you want a smaller set of lints you can change this to specify | COMMENT |
| MEDIUM | …-examples/speaker-identification/analysis_options.yaml | 9 | # If you want a smaller set of lints you can change this to specify | COMMENT |
| MEDIUM | dart-api-examples/tts/analysis_options.yaml | 9 | # If you want a smaller set of lints you can change this to specify | COMMENT |
| MEDIUM | …rt-api-examples/add-punctuations/analysis_options.yaml | 9 | # If you want a smaller set of lints you can change this to specify | COMMENT |
| MEDIUM | …mples/vad-with-non-streaming-asr/analysis_options.yaml | 9 | # If you want a smaller set of lints you can change this to specify | COMMENT |
| MEDIUM | dart-api-examples/audio-tagging/analysis_options.yaml | 9 | # If you want a smaller set of lints you can change this to specify | COMMENT |
| MEDIUM | dart-api-examples/vad/analysis_options.yaml | 9 | # If you want a smaller set of lints you can change this to specify | COMMENT |
| MEDIUM | …mples/speech-enhancement-dpdfnet/analysis_options.yaml | 9 | # If you want a smaller set of lints you can change this to specify | COMMENT |
| MEDIUM | …reaming-speech-enhancement-gtcrn/analysis_options.yaml | 9 | # If you want a smaller set of lints you can change this to specify | COMMENT |
| MEDIUM | python-api-examples/generate-subtitles.py | 727 | # speech is detected, you can use | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | build-android-arm64-v8a.sh | 251 | # ---------------------------------------- | COMMENT |
| MEDIUM | build-android-arm64-v8a.sh | 253 | # ---------------------------------------- | COMMENT |
| MEDIUM | scripts/moonshine/v2/qnn/export_onnx.py | 60 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | scripts/moonshine/v2/qnn/export_onnx.py | 62 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | scripts/moonshine/v2/qnn/export_onnx.py | 81 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | scripts/moonshine/v2/qnn/export_onnx.py | 83 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | scripts/moonshine/v2/qnn/export_onnx.py | 142 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | scripts/moonshine/v2/qnn/export_onnx.py | 144 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | scripts/moonshine/v2/qnn/export_onnx.py | 184 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | scripts/moonshine/v2/qnn/export_onnx.py | 186 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | scripts/whisper/export-onnx-with-attention.py | 174 | # ============================================================================= | COMMENT |
| MEDIUM | scripts/whisper/export-onnx-with-attention.py | 176 | # ============================================================================= | COMMENT |
| MEDIUM | scripts/whisper/export-onnx-with-attention.py | 409 | # ============================================================================= | COMMENT |
| MEDIUM | scripts/whisper/export-onnx-with-attention.py | 411 | # ============================================================================= | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | sherpa-onnx/python/sherpa_onnx/online_recognizer.py | 98 | CODE | |
| LOW | sherpa-onnx/python/sherpa_onnx/online_recognizer.py | 392 | CODE | |
| LOW | sherpa-onnx/python/sherpa_onnx/online_recognizer.py | 521 | CODE | |
| LOW | sherpa-onnx/python/sherpa_onnx/online_recognizer.py | 656 | CODE | |
| LOW | sherpa-onnx/python/sherpa_onnx/online_recognizer.py | 780 | CODE | |
| LOW | sherpa-onnx/python/sherpa_onnx/online_recognizer.py | 904 | CODE | |
| LOW | sherpa-onnx/python/sherpa_onnx/keyword_spotter.py | 81 | CODE | |
| LOW | sherpa-onnx/python/sherpa_onnx/offline_recognizer.py | 104 | CODE | |
| LOW | sherpa-onnx/python/sherpa_onnx/offline_recognizer.py | 267 | CODE | |
| LOW | sherpa-onnx/python/sherpa_onnx/offline_recognizer.py | 357 | CODE | |
| LOW | sherpa-onnx/python/sherpa_onnx/offline_recognizer.py | 461 | CODE | |
| LOW | sherpa-onnx/python/sherpa_onnx/offline_recognizer.py | 555 | CODE | |
| LOW | sherpa-onnx/python/sherpa_onnx/offline_recognizer.py | 636 | CODE | |
| LOW | sherpa-onnx/python/sherpa_onnx/offline_recognizer.py | 716 | CODE | |
| LOW | sherpa-onnx/python/sherpa_onnx/offline_recognizer.py | 946 | CODE | |
| LOW | sherpa-onnx/python/sherpa_onnx/offline_recognizer.py | 1027 | CODE | |
| LOW | sherpa-onnx/python/sherpa_onnx/offline_recognizer.py | 1109 | CODE | |
| LOW | sherpa-onnx/python/sherpa_onnx/offline_recognizer.py | 1205 | CODE | |
| LOW | sherpa-onnx/python/sherpa_onnx/offline_recognizer.py | 1318 | CODE | |
| LOW | sherpa-onnx/python/sherpa_onnx/offline_recognizer.py | 1398 | CODE | |
| LOW | sherpa-onnx/python/sherpa_onnx/offline_recognizer.py | 1495 | CODE | |
| LOW | sherpa-onnx/python/sherpa_onnx/offline_recognizer.py | 1584 | CODE | |
| LOW | sherpa-onnx/python/sherpa_onnx/offline_recognizer.py | 1665 | CODE | |
| LOW | sherpa-onnx/python/sherpa_onnx/offline_recognizer.py | 1746 | CODE | |
| LOW | scripts/whisper/rknn/test_on_rk3588_board.py | 204 | CODE | |
| LOW | scripts/whisper/rknn/test_onnx.py | 101 | CODE | |
| LOW | scripts/whisper/ascend-npu/test_om.py | 198 | CODE | |
| LOW | scripts/whisper/qnn/test_onnx.py | 101 | CODE | |
| LOW | scripts/paraformer/rknn/torch_model.py | 362 | CODE | |
| LOW | scripts/paraformer/rknn/torch_model.py | 865 | CODE | |
| LOW | scripts/paraformer/rknn/torch_model.py | 1112 | CODE | |
| LOW | scripts/paraformer/ascend-npu/torch_model.py | 362 | CODE | |
| LOW | scripts/paraformer/ascend-npu/torch_model.py | 865 | CODE | |
| LOW | scripts/paraformer/ascend-npu/torch_model.py | 1112 | CODE | |
| LOW | scripts/paraformer/qnn/torch_model.py | 362 | CODE | |
| LOW | scripts/paraformer/qnn/torch_model.py | 865 | CODE | |
| LOW | scripts/paraformer/qnn/torch_model.py | 1112 | CODE | |
| LOW | python-api-examples/offline-funasr-nano-decode-files.py | 204 | CODE | |
| LOW | python-api-examples/web/generate-certificate.py | 37 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | cmake/download-all-deps.py | 49 | cd sherpa-onnx && mkdir build && cd build | STRING |
| HIGH⚡ | scripts/go/generate.py | 59 | build_info = "//go:build (windows && amd64) || (windows && 386)" | CODE |
| HIGH⚡ | scripts/go/generate.py | 61 | build_info = "//go:build (!android && linux && arm64) || (!android && linux && amd64 && !musl) || (!android && l | CODE |
| HIGH⚡ | scripts/go/generate.py | 63 | build_info = "//go:build (darwin && amd64 && !ios) || (darwin && arm64 && !ios)" | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | scripts/whisper/export_onnx.py | 315 | Load a Whisper model by name. For standard OpenAI models (tiny, base, small, medium, large, etc.), this uses wh | STRING |
| HIGH | scripts/whisper/export-onnx.py | 315 | Load a Whisper model by name. For standard OpenAI models (tiny, base, small, medium, large, etc.), this uses wh | STRING |
| HIGH | scripts/whisper/export-onnx-with-attention.py | 118 | Get alignment heads for a model. If ALIGNMENT_HEADS[name] is USE_MODEL_METADATA, alignment heads are read from | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | rust-api-examples/README.md | 47 | | 2 | [pocket_tts](#example-2-tts-with-pocket-tts-zero-shot-voice-cloning) | Text-to-speech with zero-shot voice cloning | CODE |
| MEDIUM | rust-api-examples/README.md | 49 | | 4 | [zipvoice_tts](#example-4-tts-with-zipvoice-zero-shot-voice-cloning) | Text-to-speech with ZipVoice zero-shot voic | CODE |
| MEDIUM | rust-api-examples/README.md | 111 | ### Example 2: TTS with Pocket TTS (zero-shot voice cloning) | COMMENT |
| MEDIUM | rust-api-examples/README.md | 123 | ### Example 4: TTS with ZipVoice zero-shot voice cloning | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | cmake/download-all-deps.py | 461 | # Check if basename contains the suffix or vice versa | COMMENT |
| LOW | …pts/zipformer-transducer/x-asr/qnn/export-streaming.sh | 23 | # Check if file exists | COMMENT |
| LOW | …pts/zipformer-transducer/x-asr/qnn/export-streaming.sh | 30 | # Check if file is HTML (error page) | COMMENT |
| LOW | scripts/moonshine/v2/qnn/test_onnx.py | 177 | # Check if this is a hex string like <0xE5> | COMMENT |
| LOW | scripts/whisper/find_alignment_heads.py | 242 | # Check if model already has alignment heads | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scripts/benchmark/download_librispeech_test_data.py | 222 | # Step 1: Download LibriSpeech dev-clean | COMMENT |
| LOW | scripts/benchmark/download_librispeech_test_data.py | 235 | # Step 2: Download MFA alignments | COMMENT |
| LOW | scripts/benchmark/download_librispeech_test_data.py | 249 | # Step 3: Find alignment files for dev-clean | COMMENT |
| LOW | scripts/benchmark/download_librispeech_test_data.py | 262 | # Step 4: Find corresponding audio files and convert | COMMENT |
| LOW | scripts/benchmark/download_librispeech_test_data.py | 302 | # Step 5: Write manifest | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scripts/benchmark/download_librispeech_test_data.py | 222 | # Step 1: Download LibriSpeech dev-clean | COMMENT |
| LOW | scripts/benchmark/download_librispeech_test_data.py | 235 | # Step 2: Download MFA alignments | COMMENT |
| LOW | scripts/benchmark/download_librispeech_test_data.py | 249 | # Step 3: Find alignment files for dev-clean | COMMENT |
| LOW | scripts/benchmark/download_librispeech_test_data.py | 262 | # Step 4: Find corresponding audio files and convert | COMMENT |
| LOW | scripts/benchmark/download_librispeech_test_data.py | 302 | # Step 5: Write manifest | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | scripts/zipformer-transducer/reazonspeech/run.sh | 20 | # I have created a PyTorch checkpoint from it and put it in | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | scripts/node-addon-api/lib/streaming-asr.js | 28 | print(idx, text) { | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scripts/check_style_cpplint.sh | 17 | # Usage: | COMMENT |
| LOW | scripts/nemo/generate_bpe_vocab.py | 9 | # Usage: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | scripts/sense-voice/ascend-npu/test_om_static.py | 31 | CODE |