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 summarizes scanner evidence for k2-fsa/sherpa-onnx, a C++ project with 15,217 GitHub stars. SynthScan examined 435,102 lines of code across 4117 source files, recording 1770 pattern matches distributed across 25 syntactic categories. The legacy adjusted pattern signal is 9.1 (Moderate pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Can maintainers explain intent, assumptions, and trade-offs? 1015 finding(s).
Are imports declared and package/API names verified? 178 finding(s).
Are wrappers, guards, and repeated structures necessary? 825 finding(s).
Which changes need focused human review? 1770 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 1770 distinct pattern matches across 25 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. 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 configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| 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 | …vad-non-streaming-asr-from-file/generate-asset-list.py | 0 | this file assumes that assets: is the last line in ./pubspec.yaml it reads the file names of all files from the ./assets | STRING |
| HIGH | …er-examples/offline-punctuation/generate-asset-list.py | 0 | this file assumes that assets: is the last line in ./pubspec.yaml it reads the file names of all files from the ./assets | STRING |
| HIGH | flutter-examples/tts/generate-asset-list.py | 0 | this file assumes that assets: is the last line in ./pubspec.yaml it reads the file names of all files from the ./assets | STRING |
| HIGH | flutter-examples/vad-from-file/generate-asset-list.py | 0 | this file assumes that assets: is the last line in ./pubspec.yaml it reads the file names of all files from the ./assets | STRING |
| HIGH | …er-examples/vad-from-microphone/generate-asset-list.py | 0 | this file assumes that assets: is the last line in ./pubspec.yaml it reads the file names of all files from the ./assets | STRING |
| HIGH | …ter-examples/online-punctuation/generate-asset-list.py | 0 | this file assumes that assets: is the last line in ./pubspec.yaml it reads the file names of all files from the ./assets | STRING |
| HIGH | …n-streaming-asr-from-microphone/generate-asset-list.py | 0 | this file assumes that assets: is the last line in ./pubspec.yaml it reads the file names of all files from the ./assets | STRING |
| HIGH | …les/vad-non-streaming-asr-from-file/lib/web_audio.dart | 0 | (function() { var bytes = window._sherpadownloadbytes; var name = window._sherpadownloadfilename || 'audio.wav'; var blo | STRING |
| HIGH | flutter-examples/tts/lib/web_audio.dart | 0 | (function() { var bytes = window._sherpadownloadbytes; var name = window._sherpadownloadfilename || 'audio.wav'; var blo | STRING |
| HIGH | flutter-examples/vad-from-file/lib/web_audio.dart | 0 | (function() { var bytes = window._sherpadownloadbytes; var name = window._sherpadownloadfilename || 'audio.wav'; var blo | STRING |
| HIGH | flutter-examples/vad-from-microphone/lib/web_audio.dart | 0 | (function() { var bytes = window._sherpadownloadbytes; var name = window._sherpadownloadfilename || 'audio.wav'; var blo | STRING |
| HIGH | …d-non-streaming-asr-from-microphone/lib/web_audio.dart | 0 | (function() { var bytes = window._sherpadownloadbytes; var name = window._sherpadownloadfilename || 'audio.wav'; var blo | STRING |
| HIGH | …-streaming-asr-from-microphone/lib/save_file_stub.dart | 0 | (function() { var bytes = window._sherpadownloadbytes; var name = window._sherpadownloadfilename || 'audio.wav'; var blo | STRING |
| HIGH | …les/vad-non-streaming-asr-from-file/lib/web_audio.dart | 0 | (async function() { var bytes = window._sherpasavebytes; var name = window._sherpasavefilename || 'audio.wav'; var blob | STRING |
| HIGH | flutter-examples/tts/lib/web_audio.dart | 0 | (async function() { var bytes = window._sherpasavebytes; var name = window._sherpasavefilename || 'audio.wav'; var blob | STRING |
| HIGH | flutter-examples/vad-from-file/lib/web_audio.dart | 0 | (async function() { var bytes = window._sherpasavebytes; var name = window._sherpasavefilename || 'audio.wav'; var blob | STRING |
| HIGH | flutter-examples/vad-from-microphone/lib/web_audio.dart | 0 | (async function() { var bytes = window._sherpasavebytes; var name = window._sherpasavefilename || 'audio.wav'; var blob | STRING |
| HIGH | …d-non-streaming-asr-from-microphone/lib/web_audio.dart | 0 | (async function() { var bytes = window._sherpasavebytes; var name = window._sherpasavefilename || 'audio.wav'; var blob | STRING |
| HIGH | …les/vad-non-streaming-asr-from-file/lib/web_audio.dart | 0 | (function() { var id = $id; var sr = $samplerate; // capture data immediately in closure to avoid race with next chunk. | STRING |
| HIGH | flutter-examples/tts/lib/web_audio.dart | 0 | (function() { var id = $id; var sr = $samplerate; // capture data immediately in closure to avoid race with next chunk. | STRING |
| HIGH | flutter-examples/vad-from-file/lib/web_audio.dart | 0 | (function() { var id = $id; var sr = $samplerate; // capture data immediately in closure to avoid race with next chunk. | STRING |
| HIGH | flutter-examples/vad-from-microphone/lib/web_audio.dart | 0 | (function() { var id = $id; var sr = $samplerate; // capture data immediately in closure to avoid race with next chunk. | STRING |
| HIGH | …d-non-streaming-asr-from-microphone/lib/web_audio.dart | 0 | (function() { var id = $id; var sr = $samplerate; // capture data immediately in closure to avoid race with next chunk. | STRING |
| HIGH | …les/vad-non-streaming-asr-from-file/lib/web_audio.dart | 0 | (function() { if (window._sherpaaudioctx) { window._sherpaaudioctx.close(); window._sherpaaudioctx = null; } window._she | STRING |
| HIGH | flutter-examples/tts/lib/web_audio.dart | 0 | (function() { if (window._sherpaaudioctx) { window._sherpaaudioctx.close(); window._sherpaaudioctx = null; } window._she | STRING |
| HIGH | flutter-examples/vad-from-file/lib/web_audio.dart | 0 | (function() { if (window._sherpaaudioctx) { window._sherpaaudioctx.close(); window._sherpaaudioctx = null; } window._she | STRING |
| HIGH | flutter-examples/vad-from-microphone/lib/web_audio.dart | 0 | (function() { if (window._sherpaaudioctx) { window._sherpaaudioctx.close(); window._sherpaaudioctx = null; } window._she | STRING |
| HIGH | …d-non-streaming-asr-from-microphone/lib/web_audio.dart | 0 | (function() { if (window._sherpaaudioctx) { window._sherpaaudioctx.close(); window._sherpaaudioctx = null; } window._she | STRING |
| HIGH | …les/vad-non-streaming-asr-from-file/lib/web_audio.dart | 0 | (function() { // stop previous audio. if (window._sherpacurrentaudio) { window._sherpacurrentaudio.pause(); window._sher | STRING |
| HIGH | flutter-examples/tts/lib/web_audio.dart | 0 | (function() { // stop previous audio. if (window._sherpacurrentaudio) { window._sherpacurrentaudio.pause(); window._sher | STRING |
| HIGH | flutter-examples/vad-from-file/lib/web_audio.dart | 0 | (function() { // stop previous audio. if (window._sherpacurrentaudio) { window._sherpacurrentaudio.pause(); window._sher | STRING |
| HIGH | flutter-examples/vad-from-microphone/lib/web_audio.dart | 0 | (function() { // stop previous audio. if (window._sherpacurrentaudio) { window._sherpacurrentaudio.pause(); window._sher | STRING |
| HIGH | …d-non-streaming-asr-from-microphone/lib/web_audio.dart | 0 | (function() { // stop previous audio. if (window._sherpacurrentaudio) { window._sherpacurrentaudio.pause(); window._sher | STRING |
| HIGH | …les/vad-non-streaming-asr-from-file/lib/web_audio.dart | 0 | (function() { // stop audio element playback. if (window._sherpacurrentaudio) { window._sherpacurrentaudio.pause(); wind | STRING |
| HIGH | flutter-examples/tts/lib/web_audio.dart | 0 | (function() { // stop audio element playback. if (window._sherpacurrentaudio) { window._sherpacurrentaudio.pause(); wind | STRING |
| HIGH | flutter-examples/vad-from-file/lib/web_audio.dart | 0 | (function() { // stop audio element playback. if (window._sherpacurrentaudio) { window._sherpacurrentaudio.pause(); wind | STRING |
| HIGH | flutter-examples/vad-from-microphone/lib/web_audio.dart | 0 | (function() { // stop audio element playback. if (window._sherpacurrentaudio) { window._sherpacurrentaudio.pause(); wind | STRING |
| HIGH | …d-non-streaming-asr-from-microphone/lib/web_audio.dart | 0 | (function() { // stop audio element playback. if (window._sherpacurrentaudio) { window._sherpacurrentaudio.pause(); wind | 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/vits/inflect/micro_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/vits/inflect/nano_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/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 |
| 380 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_QNN "Whether to build for Qualcomm NPU" 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-ios-shared-sherpa-with-static-onnxruntime.sh | 1 | #!/usr/bin/env bash | 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 | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | build-android-x86.sh | 41 | exit 1 | 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 | 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 | …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 |
| 507 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | build-android-arm64-v8a.sh | 251 | # ---------------------------------------- | COMMENT |
| MEDIUM | build-android-arm64-v8a.sh | 253 | # ---------------------------------------- | COMMENT |
| MEDIUM | …d-non-streaming-asr-from-file/lib/vad_asr_manager.dart | 194 | // ── Messages ────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …d-non-streaming-asr-from-file/lib/vad_asr_manager.dart | 240 | // ── Worker Isolate (VAD + ASR in one isolate) ───────────────────────────── | COMMENT |
| MEDIUM | …xamples/vad-non-streaming-asr-from-file/lib/model.dart | 60 | // ── Asset copy helpers ─────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …er-examples/offline-punctuation/lib/punct_manager.dart | 21 | // ── Messages from main isolate → background isolate (native only) ──────── | COMMENT |
| MEDIUM | …er-examples/offline-punctuation/lib/punct_manager.dart | 32 | // ── Messages from background isolate → main isolate (native only) ──────── | COMMENT |
| MEDIUM | …er-examples/offline-punctuation/lib/punct_manager.dart | 49 | // ── PunctManager ───────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …er-examples/offline-punctuation/lib/punct_manager.dart | 116 | // ── Web (Web Worker) ────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …er-examples/offline-punctuation/lib/punct_manager.dart | 146 | // ── Native (isolate-based) ────────────────────────────────────────────── | COMMENT |
| MEDIUM | flutter-examples/offline-punctuation/lib/model.dart | 31 | // ── Asset copy helpers ─────────────────────────────────────────────────── | COMMENT |
| MEDIUM | flutter-examples/tts/web/tts-worker.js | 7 | // ── Messages: Main Thread → Worker ───────────────────────────────────────── | COMMENT |
| MEDIUM | flutter-examples/tts/web/tts-worker.js | 37 | // ── Messages: Worker → Main Thread ───────────────────────────────────────── | COMMENT |
| MEDIUM | flutter-examples/tts/web/tts-worker.js | 71 | // ── Emscripten FS helpers ──────────────────────────────────────────────── | COMMENT |
| MEDIUM | flutter-examples/tts/web/tts-worker.js | 94 | // ── Message handler ────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | flutter-examples/tts/lib/tts_manager.dart | 10 | // ── Native Isolate Message Protocol ──────────────────────────────────────── | COMMENT |
| MEDIUM | flutter-examples/tts/lib/tts_manager.dart | 63 | // ─────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | flutter-examples/tts/lib/tts_manager.dart | 83 | // ── Messages from main isolate → background isolate (native only) ──────── | COMMENT |
| MEDIUM | flutter-examples/tts/lib/tts_manager.dart | 101 | // ── Messages from background isolate → main isolate (native only) ──────── | COMMENT |
| MEDIUM | flutter-examples/tts/lib/tts_manager.dart | 138 | // ── Pending generate tracking ──────────────────────────────────────────── | COMMENT |
| MEDIUM | flutter-examples/tts/lib/tts_manager.dart | 153 | // ── TtsManager ─────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | flutter-examples/tts/lib/tts_manager.dart | 275 | // ── Web (Web Worker) ────────────────────────────────────────────────── | COMMENT |
| MEDIUM | flutter-examples/tts/lib/tts_manager.dart | 310 | // ── Native (isolate-based) ────────────────────────────────────────────── | COMMENT |
| MEDIUM | flutter-examples/tts/lib/model_config.dart | 38 | // ── VITS Piper (English) ────────────────────────────────────────────── | COMMENT |
| MEDIUM | flutter-examples/tts/lib/model_config.dart | 52 | // ── VITS Piper (Chinese) ───────────────────────────────────────────── | COMMENT |
| MEDIUM | flutter-examples/tts/lib/model_config.dart | 67 | // ── VITS Piper (English, libritts) ──────────────────────────────────── | COMMENT |
| MEDIUM | flutter-examples/tts/lib/model_config.dart | 81 | // ── VITS (English, inflect-nano-v2) ────────────────────────────────── | COMMENT |
| MEDIUM | flutter-examples/tts/lib/model_config.dart | 96 | // ── Kokoro (English) ────────────────────────────────────────────────── | COMMENT |
| MEDIUM | flutter-examples/tts/lib/model_config.dart | 112 | // ── Kokoro (Chinese + English) ──────────────────────────────────────── | COMMENT |
| MEDIUM | flutter-examples/tts/lib/model_config.dart | 129 | // ── MatchaTTS (English) ─────────────────────────────────────────────── | COMMENT |
| MEDIUM | flutter-examples/tts/lib/model_config.dart | 144 | // ── MatchaTTS (Chinese + English) ──────────────────────────────────── | COMMENT |
| MEDIUM | flutter-examples/tts/lib/model_config.dart | 162 | // ── KittenTTS (English) ─────────────────────────────────────────────── | COMMENT |
| MEDIUM | flutter-examples/tts/lib/model_config.dart | 177 | // ── Pocket TTS (English) ────────────────────────────────────────────── | COMMENT |
| MEDIUM | flutter-examples/tts/lib/model_config.dart | 195 | // ── Supertonic TTS (English) ────────────────────────────────────────── | COMMENT |
| MEDIUM | flutter-examples/tts/lib/model.dart | 108 | // ── Asset copy helpers ─────────────────────────────────────────────────── | COMMENT |
| MEDIUM | flutter-examples/vad-from-file/lib/model.dart | 44 | // ── Asset copy helpers ─────────────────────────────────────────────────── | COMMENT |
| MEDIUM | flutter-examples/vad-from-file/lib/vad_manager.dart | 22 | // ── Messages from main isolate → background isolate (native only) ──────── | COMMENT |
| MEDIUM | flutter-examples/vad-from-file/lib/vad_manager.dart | 60 | // ── Messages from background isolate → main isolate (native only) ──────── | COMMENT |
| MEDIUM | flutter-examples/vad-from-file/lib/vad_manager.dart | 83 | // ── VadSegment ─────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | flutter-examples/vad-from-file/lib/vad_manager.dart | 93 | // ── VadResult ──────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | flutter-examples/vad-from-file/lib/vad_manager.dart | 107 | // ── VadManager ─────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | flutter-examples/vad-from-file/lib/vad_manager.dart | 203 | // ── Web (Web Worker) ────────────────────────────────────────────────── | COMMENT |
| MEDIUM | flutter-examples/vad-from-file/lib/vad_manager.dart | 240 | // ── Native (isolate-based) ────────────────────────────────────────────── | COMMENT |
| MEDIUM | flutter-examples/vad-from-microphone/lib/model.dart | 44 | // ── Asset copy helpers ─────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …tter-examples/vad-from-microphone/lib/vad_manager.dart | 22 | // ── Messages from main isolate → background isolate (native only) ──────── | COMMENT |
| MEDIUM | …tter-examples/vad-from-microphone/lib/vad_manager.dart | 55 | // ── Messages from background isolate → main isolate (native only) ──────── | COMMENT |
| MEDIUM | …tter-examples/vad-from-microphone/lib/vad_manager.dart | 110 | // ── VadMicManager ──────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …tter-examples/vad-from-microphone/lib/vad_manager.dart | 196 | // ── Web (Web Worker) ────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …tter-examples/vad-from-microphone/lib/vad_manager.dart | 243 | // ── Native (isolate-based) ────────────────────────────────────────────── | COMMENT |
| MEDIUM | …ter-examples/online-punctuation/lib/punct_manager.dart | 21 | // ── Messages from main isolate → background isolate (native only) ──────── | COMMENT |
| MEDIUM | …ter-examples/online-punctuation/lib/punct_manager.dart | 32 | // ── Messages from background isolate → main isolate (native only) ──────── | COMMENT |
| MEDIUM | …ter-examples/online-punctuation/lib/punct_manager.dart | 49 | // ── PunctManager ───────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …ter-examples/online-punctuation/lib/punct_manager.dart | 116 | // ── Web (Web Worker) ────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …ter-examples/online-punctuation/lib/punct_manager.dart | 146 | // ── Native (isolate-based) ────────────────────────────────────────────── | COMMENT |
| MEDIUM | flutter-examples/online-punctuation/lib/model.dart | 32 | // ── Asset copy helpers ─────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …s/vad-non-streaming-asr-from-microphone/lib/model.dart | 59 | // ── Asset copy helpers ─────────────────────────────────────────────────── | 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 |
| 8 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 | sherpa-onnx/python/tests/test_online_recognizer.py | 289 | def test_streaming_paraformer(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 | 53 | function initSherpaOnnxOfflineSpeakerSegmentationModelConfig(config, Module) { | CODE |
| LOW | …speaker-diarization/sherpa-onnx-speaker-diarization.js | 90 | function initSherpaOnnxSpeakerEmbeddingExtractorConfig(config, Module) { | CODE |
| LOW | …speaker-diarization/sherpa-onnx-speaker-diarization.js | 126 | function initSherpaOnnxFastClusteringConfig(config, Module) { | CODE |
| LOW | …speaker-diarization/sherpa-onnx-speaker-diarization.js | 146 | function initSherpaOnnxOfflineSpeakerDiarizationConfig(config, Module) { | CODE |
| LOW | …speaker-diarization/sherpa-onnx-speaker-diarization.js | 286 | 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 | 72 | function initSherpaOnnxOfflineSpeechDenoiserModelConfig(config, Module) { | CODE |
| LOW | …m/speech-enhancement/sherpa-onnx-speech-enhancement.js | 118 | function initSherpaOnnxOfflineSpeechDenoiserConfig(config, Module) { | CODE |
| LOW | …m/speech-enhancement/sherpa-onnx-speech-enhancement.js | 145 | function initSherpaOnnxOnlineSpeechDenoiserConfig(config, Module) { | CODE |
| LOW | …m/speech-enhancement/sherpa-onnx-speech-enhancement.js | 276 | function createOfflineSpeechDenoiser(Module, myConfig) { | CODE |
| LOW | …m/speech-enhancement/sherpa-onnx-speech-enhancement.js | 291 | 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 initSherpaOnnxOfflineCtcFstDecoderConfig(config, Module) { | CODE |
| LOW | wasm/vad-asr/sherpa-onnx-asr.js | 458 | function initSherpaOnnxOnlineRecognizerConfig(config, Module) { | CODE |
| LOW | wasm/vad-asr/sherpa-onnx-asr.js | 695 | function initSherpaOnnxOfflineTransducerModelConfig(config, Module) { | CODE |
| LOW | wasm/vad-asr/sherpa-onnx-asr.js | 732 | function initSherpaOnnxOfflineParaformerModelConfig(config, Module) { | CODE |
| LOW | wasm/vad-asr/sherpa-onnx-asr.js | 751 | function initSherpaOnnxOfflineNemoEncDecCtcModelConfig(config, Module) { | CODE |
| LOW | wasm/vad-asr/sherpa-onnx-asr.js | 770 | function initSherpaOnnxOfflineDolphinModelConfig(config, Module) { | CODE |
| LOW | wasm/vad-asr/sherpa-onnx-asr.js | 789 | function initSherpaOnnxOfflineZipformerCtcModelConfig(config, Module) { | CODE |
| LOW | wasm/vad-asr/sherpa-onnx-asr.js | 808 | function initSherpaOnnxOfflineWenetCtcModelConfig(config, Module) { | CODE |
| LOW | wasm/vad-asr/sherpa-onnx-asr.js | 827 | function initSherpaOnnxOfflineOmnilingualAsrCtcModelConfig(config, Module) { | CODE |
| LOW | wasm/vad-asr/sherpa-onnx-asr.js | 846 | function initSherpaOnnxOfflineMedAsrCtcModelConfig(config, Module) { | CODE |
| LOW | wasm/vad-asr/sherpa-onnx-asr.js | 865 | function initSherpaOnnxOfflineFireRedAsrCtcModelConfig(config, Module) { | CODE |
| LOW | wasm/vad-asr/sherpa-onnx-asr.js | 884 | function initSherpaOnnxOfflineFunAsrNanoModelConfig(config, Module) { | CODE |
| LOW | wasm/vad-asr/sherpa-onnx-asr.js | 1031 | function initSherpaOnnxOfflineWhisperModelConfig(config, Module) { | CODE |
| LOW | wasm/vad-asr/sherpa-onnx-asr.js | 1079 | function initSherpaOnnxOfflineCanaryModelConfig(config, Module) { | CODE |
| 149 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | build-macos.sh | 46 | # Create a framework bundle (like onnxruntime does) so SPM can resolve the module | COMMENT |
| MEDIUM | build-macos-shared.sh | 29 | # Create a framework bundle (like onnxruntime does) so SPM can resolve the module | COMMENT |
| 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/workflows/test-rust.yaml | 122 | # Create an archive with the exact name and structure build.rs expects | COMMENT |
| MEDIUM | .github/workflows/test-rust.yaml | 407 | # Create an archive with the exact name build.rs expects for Android | COMMENT |
| MEDIUM | .github/scripts/test-spoken-language-identification.sh | 7 | # This function is from espnet | COMMENT |
| MEDIUM | .github/scripts/test-online-transducer.sh | 7 | # This function is from espnet | COMMENT |
| MEDIUM | .github/scripts/test-cxx-api.sh | 7 | # This function is from espnet | COMMENT |
| MEDIUM | .github/scripts/test-offline-moonshine.sh | 7 | # This function is from espnet | COMMENT |
| MEDIUM | .github/scripts/test-online-paraformer.sh | 7 | # This function is from espnet | COMMENT |
| MEDIUM | .github/scripts/test-offline-cohere-transcribe.sh | 7 | # 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 | 7 | # 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 | 7 | # This function is from espnet | COMMENT |
| MEDIUM | .github/scripts/test-offline-speech-denoiser.sh | 7 | # This function is from espnet | COMMENT |
| MEDIUM | .github/scripts/test-online-ctc.sh | 7 | # This function is from espnet | COMMENT |
| MEDIUM | .github/scripts/test-online-punctuation.sh | 10 | # 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 | 7 | # This function is from espnet | COMMENT |
| MEDIUM | .github/scripts/test-audio-tagging.sh | 7 | # This function is from espnet | COMMENT |
| MEDIUM | .github/scripts/test-speaker-diarization.sh | 7 | # This function is from espnet | COMMENT |
| MEDIUM | .github/scripts/test-offline-punctuation.sh | 7 | # 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 | 7 | # This function is from espnet | COMMENT |
| MEDIUM | .github/scripts/test-offline-fire-red-asr.sh | 7 | # This function is from espnet | COMMENT |
| MEDIUM | .github/scripts/test-speaker-recognition-python.sh | 7 | # This function is from espnet | COMMENT |
| MEDIUM | .github/scripts/test-offline-whisper.sh | 7 | # 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 | 98 | """This function is called whenever max_num_sentences sentences | STRING |
| 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 | |
| 106 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | cmake/download-all-deps.py | 498 | except Exception as e: | CODE |
| MEDIUM | …les/vad-non-streaming-asr-from-file/lib/save_file.dart | 14 | print('Error in saveFileAs: $e'); | CODE |
| MEDIUM | …les/vad-non-streaming-asr-from-file/lib/save_file.dart | 26 | print('Error in saveWavBytes: $e'); | CODE |
| MEDIUM | …les/vad-non-streaming-asr-from-file/lib/save_file.dart | 59 | print('Error saving text: $e'); | CODE |
| MEDIUM | flutter-examples/tts/lib/save_file.dart | 39 | print('Error in saveFileAs: $e'); | CODE |
| MEDIUM | flutter-examples/vad-from-file/lib/save_file.dart | 14 | print('Error in saveFileAs: $e'); | CODE |
| MEDIUM | flutter-examples/vad-from-file/lib/save_file.dart | 26 | print('Error in saveWavBytes: $e'); | CODE |
| MEDIUM | flutter-examples/vad-from-microphone/lib/save_file.dart | 14 | print('Error in saveFileAs: $e'); | CODE |
| MEDIUM | flutter-examples/vad-from-microphone/lib/save_file.dart | 26 | print('Error in saveWavBytes: $e'); | CODE |
| MEDIUM | …d-non-streaming-asr-from-microphone/lib/save_file.dart | 14 | print('Error in saveFileAs: $e'); | CODE |
| MEDIUM | …d-non-streaming-asr-from-microphone/lib/save_file.dart | 26 | print('Error in saveWavBytes: $e'); | CODE |
| LOW | scripts/vits/inflect/micro_v2/test.py | 14 | except Exception as ex: | CODE |
| LOW | scripts/vits/inflect/nano_v2/test.py | 14 | except Exception as ex: | 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 |
| MEDIUM | scripts/supertonic/generate_nfkd_table.py | 73 | print("Error: decomposition pool no longer fits in uint16_t offsets") | 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 | 87 | 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 |
| LOW | python-api-examples/generate-subtitles-doubao.py | 547 | except Exception as e: | CODE |
| MEDIUM | python-api-examples/pocket-tts-play.py | 234 | print("Error in generating audios. Please read previous error messages.") | STRING |
| MEDIUM | python-api-examples/pocket-tts.py | 85 | 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 | 204 | 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 | 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 | 327 | CODE | |
| LOW | …vad-non-streaming-asr-from-file/generate-asset-list.py | 14 | CODE | |
| LOW | …er-examples/offline-punctuation/generate-asset-list.py | 14 | CODE | |
| LOW | flutter-examples/tts/generate-asset-list.py | 14 | CODE | |
| LOW | flutter-examples/vad-from-file/generate-asset-list.py | 14 | CODE | |
| LOW | …er-examples/vad-from-microphone/generate-asset-list.py | 14 | CODE | |
| LOW | …ter-examples/online-punctuation/generate-asset-list.py | 14 | CODE | |
| LOW | …n-streaming-asr-from-microphone/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.0/generate_voices_bin.py | 71 | 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/kokoro/7m-distill/dynamic_quantization.py | 21 | CODE | |
| LOW | scripts/kokoro/7m-distill/dynamic_quantization.py | 95 | 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 | |
| 29 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 |
|---|---|---|---|---|
| HIGH | cmake/download-all-deps.py | 214 | except (ValueError, EOFError): | CODE |
| HIGH | scripts/benchmark/download_librispeech_test_data.py | 110 | except (subprocess.CalledProcessError, FileNotFoundError): | CODE |
| HIGH | scripts/benchmark/download_librispeech_test_data.py | 121 | except (subprocess.CalledProcessError, FileNotFoundError): | CODE |
| HIGH | …ts/nemo/nemotron-3.5-asr-streaming-0.6b/export_onnx.py | 47 | except ImportError: | CODE |
| HIGH | scripts/3dspeaker/export-onnx.py | 79 | except FileNotFoundError: | CODE |
| HIGH | scripts/supertonic/convert.py | 257 | except Exception: | CODE |
| HIGH | scripts/supertonic/convert.py | 86 | except Exception: | CODE |
| HIGH | scripts/kokoro/7m-distill/export_onnx.py | 57 | except ImportError: | CODE |
| HIGH | python-api-examples/non_streaming_server.py | 844 | except asyncio.QueueEmpty: | CODE |
| HIGH | python-api-examples/streaming_server.py | 574 | except asyncio.QueueEmpty: | CODE |
| HIGH | python-api-examples/two-pass-wss.py | 535 | except asyncio.QueueEmpty: | 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 | 838 | # speech is detected, you can use | 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 | 1213 | CODE | |
| LOW | sherpa-onnx/python/sherpa_onnx/offline_recognizer.py | 1326 | CODE | |
| LOW | sherpa-onnx/python/sherpa_onnx/offline_recognizer.py | 1406 | CODE | |
| LOW | sherpa-onnx/python/sherpa_onnx/offline_recognizer.py | 1503 | CODE | |
| LOW | sherpa-onnx/python/sherpa_onnx/offline_recognizer.py | 1592 | CODE | |
| LOW | sherpa-onnx/python/sherpa_onnx/offline_recognizer.py | 1673 | CODE | |
| LOW | sherpa-onnx/python/sherpa_onnx/offline_recognizer.py | 1754 | 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) || (windows && arm64)" | 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 |
|---|---|---|---|---|
| LOW | flutter/sherpa_onnx/lib/src/web/keyword_spotter.dart | 3 | // TODO: implement using dart:js_interop and the corresponding JS wrapper. | COMMENT |
| LOW | flutter/sherpa_onnx/lib/src/web/online_stream.dart | 3 | // TODO: implement using dart:js_interop and the corresponding JS wrapper. | COMMENT |
| LOW | …erpa_onnx/lib/src/web/offline_speaker_diarization.dart | 3 | // TODO: implement using dart:js_interop and the corresponding JS wrapper. | COMMENT |
| LOW | …er/sherpa_onnx/lib/src/web/online_speech_denoiser.dart | 3 | // TODO: implement using dart:js_interop and the corresponding JS wrapper. | COMMENT |
| LOW | flutter/sherpa_onnx/lib/src/web/wave_reader.dart | 3 | // TODO: implement using dart:js_interop and the corresponding JS wrapper. | COMMENT |
| LOW | flutter/sherpa_onnx/lib/src/web/wave_writer.dart | 3 | // TODO: implement using dart:js_interop and the corresponding JS wrapper. | COMMENT |
| LOW | …a_onnx/lib/src/web/spoken_language_identification.dart | 3 | // TODO: implement using dart:js_interop and the corresponding JS wrapper. | COMMENT |
| LOW | flutter/sherpa_onnx/lib/src/web/online_recognizer.dart | 3 | // TODO: implement using dart:js_interop and the corresponding JS wrapper. | COMMENT |
| LOW | …er/sherpa_onnx/lib/src/web/speaker_identification.dart | 3 | // TODO: implement using dart:js_interop and the corresponding JS wrapper. | COMMENT |
| LOW | flutter/sherpa_onnx/lib/src/web/audio_tagging.dart | 3 | // TODO: implement using dart:js_interop and the corresponding JS wrapper. | COMMENT |
| LOW | …r/sherpa_onnx/lib/src/web/offline_speech_denoiser.dart | 3 | // TODO: implement using dart:js_interop and the corresponding JS wrapper. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | flutter-examples/hello_world/README.md | 7 | ### Step 1: Create the Flutter project | COMMENT |
| LOW | flutter-examples/hello_world/README.md | 14 | ### Step 2: Add sherpa_onnx dependency | COMMENT |
| LOW | flutter-examples/hello_world/README.md | 32 | ### Step 3: Replace lib/main.dart | COMMENT |
| LOW | flutter-examples/hello_world/README.md | 81 | ### Step 4: Run the app | COMMENT |
| LOW | flutter-examples/hello_world/README.md | 150 | ### Step 1: List available simulators | COMMENT |
| LOW | flutter-examples/hello_world/README.md | 162 | ### Step 2: Run on the simulator | COMMENT |
| 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/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 | sherpa-onnx/csrc/offline-stream.h | 70 | // trained on. Models that are robust to the 5 ms offset (e.g. Whisper | COMMENT |
| MEDIUM | .github/scripts/common.sh | 3 | # Provides robust download functions with retry logic, validation, and automatic cleanup | COMMENT |
| LOW | .github/scripts/wheels/linux_x64_cuda.py | 27 | # To add a new onnxruntime version, just add entries here. | COMMENT |
| LOW | .github/scripts/libs/windows_x64_cuda.py | 35 | # To add a new onnxruntime version, just add entries here. | COMMENT |
| LOW | .github/scripts/libs/linux_x64_cuda.py | 31 | # To add a new onnxruntime version, just add entries here. | COMMENT |
| 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 | 112 | ### Example 2: TTS with Pocket TTS (zero-shot voice cloning) | COMMENT |
| MEDIUM | rust-api-examples/README.md | 124 | ### 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 |
|---|---|---|---|---|
| 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 | tauri-examples/hello_world/src-tauri/setup-ios.sh | 5 | # Usage: | COMMENT |
| LOW | scripts/check_style_cpplint.sh | 17 | # Usage: | COMMENT |
| LOW | scripts/nemo/generate_bpe_vocab.py | 9 | # Usage: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | python-api-examples/generate-subtitles-doubao.py | 40 | export DOUBAO_API_KEY=<your_api_key> | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | scripts/sense-voice/ascend-npu/test_om_static.py | 31 | CODE |