Open-source speech recognition toolkit for training, inference, streaming ASR, VAD, punctuation, speaker diarization pipelines, and OpenAI-compatible/MCP serving.
This report summarizes scanner evidence for modelscope/FunASR, a Python project with 20,638 GitHub stars. SynthScan examined 500,282 lines of code across 2991 source files, recording 5001 pattern matches distributed across 25 syntactic categories. The legacy adjusted pattern signal is 18.3 (Elevated 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? 2945 finding(s).
Are imports declared and package/API names verified? 844 finding(s).
Are wrappers, guards, and repeated structures necessary? 2745 finding(s).
Which changes need focused human review? 5001 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 5001 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 | …rocessing/inverse_text_normalization/vi/graph_utils.py | 0 | exports graph as openfst finite state archive (far) file with given file name and rule name. args: file_name: exported f | STRING |
| HIGH | …rocessing/inverse_text_normalization/ja/graph_utils.py | 0 | exports graph as openfst finite state archive (far) file with given file name and rule name. args: file_name: exported f | STRING |
| HIGH | …rocessing/inverse_text_normalization/tl/graph_utils.py | 0 | exports graph as openfst finite state archive (far) file with given file name and rule name. args: file_name: exported f | STRING |
| HIGH | …rocessing/inverse_text_normalization/zh/graph_utils.py | 0 | exports graph as openfst finite state archive (far) file with given file name and rule name. args: file_name: exported f | STRING |
| HIGH | …rocessing/inverse_text_normalization/ko/graph_utils.py | 0 | exports graph as openfst finite state archive (far) file with given file name and rule name. args: file_name: exported f | STRING |
| HIGH | …rocessing/inverse_text_normalization/id/graph_utils.py | 0 | exports graph as openfst finite state archive (far) file with given file name and rule name. args: file_name: exported f | STRING |
| HIGH | …rocessing/inverse_text_normalization/fr/graph_utils.py | 0 | exports graph as openfst finite state archive (far) file with given file name and rule name. args: file_name: exported f | STRING |
| HIGH | …n_text_processing/text_normalization/zh/graph_utils.py | 0 | exports graph as openfst finite state archive (far) file with given file name and rule name. args: file_name: exported f | STRING |
| HIGH | …n_text_processing/text_normalization/en/graph_utils.py | 0 | exports graph as openfst finite state archive (far) file with given file name and rule name. args: file_name: exported f | STRING |
| HIGH | …rocessing/inverse_text_normalization/vi/graph_utils.py | 0 | converts space to nonbreaking space. used only in tagger grammars for transducing token values within quotes, e.g. name: | STRING |
| HIGH | …rocessing/inverse_text_normalization/ja/graph_utils.py | 0 | converts space to nonbreaking space. used only in tagger grammars for transducing token values within quotes, e.g. name: | STRING |
| HIGH | …rocessing/inverse_text_normalization/tl/graph_utils.py | 0 | converts space to nonbreaking space. used only in tagger grammars for transducing token values within quotes, e.g. name: | STRING |
| HIGH | …rocessing/inverse_text_normalization/zh/graph_utils.py | 0 | converts space to nonbreaking space. used only in tagger grammars for transducing token values within quotes, e.g. name: | STRING |
| HIGH | …rocessing/inverse_text_normalization/ko/graph_utils.py | 0 | converts space to nonbreaking space. used only in tagger grammars for transducing token values within quotes, e.g. name: | STRING |
| HIGH | …rocessing/inverse_text_normalization/id/graph_utils.py | 0 | converts space to nonbreaking space. used only in tagger grammars for transducing token values within quotes, e.g. name: | STRING |
| HIGH | …rocessing/inverse_text_normalization/fr/graph_utils.py | 0 | converts space to nonbreaking space. used only in tagger grammars for transducing token values within quotes, e.g. name: | STRING |
| HIGH | …n_text_processing/text_normalization/en/graph_utils.py | 0 | converts space to nonbreaking space. used only in tagger grammars for transducing token values within quotes, e.g. name: | STRING |
| HIGH | …rocessing/inverse_text_normalization/vi/graph_utils.py | 0 | base class for all grammar fsts. args: name: name of grammar class kind: either 'classify' or 'verbalize' deterministic: | STRING |
| HIGH | …rocessing/inverse_text_normalization/ja/graph_utils.py | 0 | base class for all grammar fsts. args: name: name of grammar class kind: either 'classify' or 'verbalize' deterministic: | STRING |
| HIGH | …rocessing/inverse_text_normalization/tl/graph_utils.py | 0 | base class for all grammar fsts. args: name: name of grammar class kind: either 'classify' or 'verbalize' deterministic: | STRING |
| HIGH | …rocessing/inverse_text_normalization/zh/graph_utils.py | 0 | base class for all grammar fsts. args: name: name of grammar class kind: either 'classify' or 'verbalize' deterministic: | STRING |
| HIGH | …rocessing/inverse_text_normalization/ko/graph_utils.py | 0 | base class for all grammar fsts. args: name: name of grammar class kind: either 'classify' or 'verbalize' deterministic: | STRING |
| HIGH | …rocessing/inverse_text_normalization/id/graph_utils.py | 0 | base class for all grammar fsts. args: name: name of grammar class kind: either 'classify' or 'verbalize' deterministic: | STRING |
| HIGH | …rocessing/inverse_text_normalization/fr/graph_utils.py | 0 | base class for all grammar fsts. args: name: name of grammar class kind: either 'classify' or 'verbalize' deterministic: | STRING |
| HIGH | …n_text_processing/text_normalization/zh/graph_utils.py | 0 | base class for all grammar fsts. args: name: name of grammar class kind: either 'classify' or 'verbalize' deterministic: | STRING |
| HIGH | …n_text_processing/text_normalization/en/graph_utils.py | 0 | base class for all grammar fsts. args: name: name of grammar class kind: either 'classify' or 'verbalize' deterministic: | STRING |
| HIGH | …rocessing/inverse_text_normalization/vi/graph_utils.py | 0 | wraps class name around to given fst args: fst: input fst returns: fst: fst | STRING |
| HIGH | …rocessing/inverse_text_normalization/ja/graph_utils.py | 0 | wraps class name around to given fst args: fst: input fst returns: fst: fst | STRING |
| HIGH | …rocessing/inverse_text_normalization/tl/graph_utils.py | 0 | wraps class name around to given fst args: fst: input fst returns: fst: fst | STRING |
| HIGH | …rocessing/inverse_text_normalization/zh/graph_utils.py | 0 | wraps class name around to given fst args: fst: input fst returns: fst: fst | STRING |
| HIGH | …rocessing/inverse_text_normalization/ko/graph_utils.py | 0 | wraps class name around to given fst args: fst: input fst returns: fst: fst | STRING |
| HIGH | …rocessing/inverse_text_normalization/id/graph_utils.py | 0 | wraps class name around to given fst args: fst: input fst returns: fst: fst | STRING |
| HIGH | …rocessing/inverse_text_normalization/fr/graph_utils.py | 0 | wraps class name around to given fst args: fst: input fst returns: fst: fst | STRING |
| HIGH | …n_text_processing/text_normalization/zh/graph_utils.py | 0 | wraps class name around to given fst args: fst: input fst returns: fst: fst | STRING |
| HIGH | …n_text_processing/text_normalization/en/graph_utils.py | 0 | wraps class name around to given fst args: fst: input fst returns: fst: fst | STRING |
| HIGH | …rocessing/inverse_text_normalization/vi/graph_utils.py | 0 | deletes class name wrap around output of given fst args: fst: input fst returns: fst: fst | STRING |
| HIGH | …rocessing/inverse_text_normalization/ja/graph_utils.py | 0 | deletes class name wrap around output of given fst args: fst: input fst returns: fst: fst | STRING |
| HIGH | …rocessing/inverse_text_normalization/tl/graph_utils.py | 0 | deletes class name wrap around output of given fst args: fst: input fst returns: fst: fst | STRING |
| HIGH | …rocessing/inverse_text_normalization/zh/graph_utils.py | 0 | deletes class name wrap around output of given fst args: fst: input fst returns: fst: fst | STRING |
| HIGH | …rocessing/inverse_text_normalization/ko/graph_utils.py | 0 | deletes class name wrap around output of given fst args: fst: input fst returns: fst: fst | STRING |
| HIGH | …rocessing/inverse_text_normalization/id/graph_utils.py | 0 | deletes class name wrap around output of given fst args: fst: input fst returns: fst: fst | STRING |
| HIGH | …rocessing/inverse_text_normalization/fr/graph_utils.py | 0 | deletes class name wrap around output of given fst args: fst: input fst returns: fst: fst | STRING |
| HIGH | …n_text_processing/text_normalization/zh/graph_utils.py | 0 | deletes class name wrap around output of given fst args: fst: input fst returns: fst: fst | STRING |
| HIGH | …n_text_processing/text_normalization/en/graph_utils.py | 0 | deletes class name wrap around output of given fst args: fst: input fst returns: fst: fst | STRING |
| HIGH | …text_processing/inverse_text_normalization/vi/utils.py | 0 | get absolute path args: rel_path: relative path to this file returns absolute path | STRING |
| HIGH | …text_processing/inverse_text_normalization/ja/utils.py | 0 | get absolute path args: rel_path: relative path to this file returns absolute path | STRING |
| HIGH | …text_processing/inverse_text_normalization/tl/utils.py | 0 | get absolute path args: rel_path: relative path to this file returns absolute path | STRING |
| HIGH | …text_processing/inverse_text_normalization/pt/utils.py | 0 | get absolute path args: rel_path: relative path to this file returns absolute path | STRING |
| HIGH | …text_processing/inverse_text_normalization/zh/utils.py | 0 | get absolute path args: rel_path: relative path to this file returns absolute path | STRING |
| HIGH | …text_processing/inverse_text_normalization/ko/utils.py | 0 | get absolute path args: rel_path: relative path to this file returns absolute path | STRING |
| HIGH | …text_processing/inverse_text_normalization/id/utils.py | 0 | get absolute path args: rel_path: relative path to this file returns absolute path | STRING |
| HIGH | …text_processing/inverse_text_normalization/fr/utils.py | 0 | get absolute path args: rel_path: relative path to this file returns absolute path | STRING |
| HIGH | …text_processing/inverse_text_normalization/es/utils.py | 0 | get absolute path args: rel_path: relative path to this file returns absolute path | STRING |
| HIGH | …text_processing/inverse_text_normalization/en/utils.py | 0 | get absolute path args: rel_path: relative path to this file returns absolute path | STRING |
| HIGH | fun_text_processing/text_normalization/ru/utils.py | 0 | get absolute path args: rel_path: relative path to this file returns absolute path | STRING |
| HIGH | fun_text_processing/text_normalization/zh/utils.py | 0 | get absolute path args: rel_path: relative path to this file returns absolute path | STRING |
| HIGH | fun_text_processing/text_normalization/de/utils.py | 0 | get absolute path args: rel_path: relative path to this file returns absolute path | STRING |
| HIGH | fun_text_processing/text_normalization/es/utils.py | 0 | get absolute path args: rel_path: relative path to this file returns absolute path | STRING |
| HIGH | fun_text_processing/text_normalization/en/utils.py | 0 | get absolute path args: rel_path: relative path to this file returns absolute path | STRING |
| HIGH | …ing/inverse_text_normalization/vi/taggers/whitelist.py | 0 | finite state transducer for classifying whitelisted tokens e.g. usted -> tokens { name: "ud." } this class has highest p | STRING |
| 848 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …text_processing/inverse_text_normalization/zh/utils.py | 53 | def augment_labels_with_punct_at_end(labels): | CODE |
| LOW | …text_processing/inverse_text_normalization/ko/utils.py | 49 | def augment_labels_with_punct_at_end(labels): | CODE |
| LOW | fun_text_processing/text_normalization/normalize.py | 202 | def _estimate_number_of_permutations_in_nested_dict( | CODE |
| LOW | fun_text_processing/text_normalization/normalize.py | 212 | def _split_tokens_to_reduce_number_of_permutations( | CODE |
| LOW | fun_text_processing/text_normalization/normalize.py | 338 | def split_text_into_sentences(self, text: str) -> List[str]: | CODE |
| LOW | …ext_processing/text_normalization/data_loader_utils.py | 34 | def _load_kaggle_text_norm_file(file_path: str) -> List[Instance]: | CODE |
| LOW | …ext_processing/text_normalization/data_loader_utils.py | 158 | def training_data_to_sentences(data: List[Instance]) -> Tuple[List[str], List[str], List[Set[str]]]: | CODE |
| LOW | …t_processing/text_normalization/ru/taggers/decimals.py | 17 | def prepare_labels_for_insertion(file_path: str): | CODE |
| LOW | fun_text_processing/text_normalization/zh/utils.py | 36 | def augment_labels_with_punct_at_end(labels): | CODE |
| LOW | …_processing/text_normalization/de/taggers/telephone.py | 36 | # def add_space_after_two_digit(): | COMMENT |
| LOW | fun_text_processing/text_normalization/en/utils.py | 31 | def augment_labels_with_punct_at_end(labels): | CODE |
| LOW | …_text_processing/text_normalization/en/taggers/date.py | 49 | def get_four_digit_year_graph(deterministic: bool = True): | CODE |
| LOW | …_text_processing/text_normalization/en/taggers/date.py | 99 | def _get_two_digit_year_with_s_graph(): | CODE |
| LOW | …g/text_normalization/en/verbalizers/post_processing.py | 86 | def get_punct_postprocess_graph(self): | CODE |
| LOW | web-pages/product-site/legacy.py | 92 | def _remove_excluded_runtime_dependencies(html: str) -> str: | CODE |
| LOW | web-pages/product-site/export_docs.py | 75 | def export_localized_documentation(built: Path, output: Path, legacy: dict) -> None: | CODE |
| LOW | …b-pages/product-site/tests/test_punctuation_article.py | 37 | def test_reader_sees_candidate_boundaries_and_one_next_step(root, prefix): | CODE |
| LOW | …b-pages/product-site/tests/test_punctuation_article.py | 64 | def test_example_keeps_raw_text_and_observed_counterexample(root, prefix): | CODE |
| LOW | …b-pages/product-site/tests/test_punctuation_article.py | 83 | def test_bilingual_examples_match_and_homepage_is_not_expanded(): | CODE |
| LOW⚡ | web-pages/product-site/tests/test_registry.py | 37 | def test_checked_in_registry_is_valid(valid_registry): | CODE |
| LOW⚡ | web-pages/product-site/tests/test_registry.py | 41 | def test_registry_has_all_product_routes(valid_registry): | CODE |
| LOW⚡ | web-pages/product-site/tests/test_registry.py | 45 | def test_language_pairs_have_identical_fields(valid_registry): | CODE |
| LOW | web-pages/product-site/tests/test_registry.py | 114 | def test_moss_transcribe_diarize_contract_tracks_third_party_upstream(valid_registry): | CODE |
| LOW | web-pages/product-site/tests/test_registry.py | 245 | def test_audio_cpp_contract_tracks_mainline_nano_and_sensevoice(valid_registry): | CODE |
| LOW | web-pages/product-site/tests/test_registry.py | 310 | def test_sensevoice_tensorrt_contract_tracks_merged_native_runtime(valid_registry): | CODE |
| LOW | web-pages/product-site/tests/test_registry.py | 410 | def test_sensevoice_native_server_contract_tracks_merged_runtime(valid_registry): | CODE |
| LOW⚡ | web-pages/product-site/tests/test_registry.py | 470 | def test_production_entry_requires_evidence(valid_registry): | CODE |
| LOW⚡ | web-pages/product-site/tests/test_registry.py | 480 | def test_production_entry_requires_verification_contract(valid_registry): | CODE |
| LOW⚡ | web-pages/product-site/tests/test_registry.py | 490 | def test_duplicate_route_is_rejected(valid_registry): | CODE |
| LOW⚡ | web-pages/product-site/tests/test_registry.py | 499 | def test_evidence_must_be_https(valid_registry): | CODE |
| LOW⚡ | web-pages/product-site/tests/test_registry.py | 506 | def test_runtime_paths_require_unique_ids_translations_and_commands(valid_registry): | CODE |
| LOW | web-pages/product-site/tests/test_registry.py | 526 | def test_benchmark_requires_reproducibility_fields(valid_registry): | CODE |
| LOW | web-pages/product-site/tests/test_official_vllm_docs.py | 17 | def test_dated_community_record_is_unchanged(): | CODE |
| LOW | web-pages/product-site/tests/test_official_vllm_docs.py | 23 | def test_official_catalogue_has_two_sources_and_keeps_historical_route(): | CODE |
| LOW | web-pages/product-site/tests/test_official_vllm_docs.py | 40 | def test_official_record_has_reproducibility_and_scoped_evidence(suffix): | CODE |
| LOW | web-pages/product-site/tests/test_official_vllm_docs.py | 58 | def test_official_manifest_preserves_exact_files_and_http_scope(): | CODE |
| LOW | web-pages/product-site/tests/test_official_vllm_docs.py | 80 | def test_portable_commands_match_both_sources_and_parse_without_execution(): | CODE |
| LOW⚡ | web-pages/product-site/tests/test_selector.py | 31 | def test_recommendation_matrix(workload, hardware, priority, expected, entries): | CODE |
| LOW⚡ | web-pages/product-site/tests/test_selector.py | 40 | def test_unknown_selector_value_is_rejected(entries): | CODE |
| LOW⚡ | web-pages/product-site/tests/test_selector.py | 45 | def test_registry_order_does_not_change_tie_break(entries): | CODE |
| LOW | web-pages/product-site/tests/test_release_scripts.py | 78 | def test_deploy_keeps_releases_and_switches_symlink(tmp_path): | CODE |
| LOW | web-pages/product-site/tests/test_release_scripts.py | 95 | def test_rollback_switches_to_retained_release(tmp_path): | CODE |
| LOW | web-pages/product-site/tests/test_release_scripts.py | 111 | def test_invalid_release_id_is_rejected_before_copy(tmp_path): | CODE |
| LOW | web-pages/product-site/tests/test_release_scripts.py | 125 | def test_conversion_map_contains_only_fixed_redirects(): | CODE |
| LOW | web-pages/product-site/tests/test_release_scripts.py | 139 | def test_nginx_contract_uses_current_release_and_hardening(): | CODE |
| LOW | web-pages/product-site/tests/test_release_scripts.py | 151 | def test_monitoring_docs_use_actual_open_log_inodes(): | CODE |
| LOW | web-pages/product-site/tests/test_release_scripts.py | 163 | def test_monitoring_metadata_snippet_requires_explicit_numeric_master_pid(): | CODE |
| LOW | web-pages/product-site/tests/test_release_scripts.py | 188 | def test_monitoring_docs_distinguish_static_checks_from_backend_health(): | CODE |
| LOW | web-pages/product-site/tests/test_documentation.py | 25 | def test_speech_to_speech_ecosystem_entry_links_to_bounded_source_recipe(output, prefix): | CODE |
| LOW | web-pages/product-site/tests/test_documentation.py | 55 | def test_bilingual_docs_have_navigation_and_real_source_content(output): | CODE |
| LOW | web-pages/product-site/tests/test_documentation.py | 68 | def test_official_native_record_has_local_language_links_and_search(output): | CODE |
| LOW | web-pages/product-site/tests/test_documentation.py | 90 | def test_gradio_uses_owned_sources_and_internal_discovery(output, language, prefix, suffix, peer): | CODE |
| LOW | web-pages/product-site/tests/test_documentation.py | 115 | def test_kubernetes_generated_commands_preserve_root_context_and_internal_security(output, prefix): | CODE |
| LOW | web-pages/product-site/tests/test_documentation.py | 126 | def test_deployment_limitations_use_short_heading_and_preserve_full_body(output): | CODE |
| LOW | web-pages/product-site/tests/test_documentation.py | 143 | def test_search_index_is_bilingual_and_links_to_emitted_pages(output): | CODE |
| LOW | web-pages/product-site/tests/test_documentation.py | 155 | def test_legacy_articles_and_new_pages_share_versioned_design(output): | CODE |
| LOW | web-pages/product-site/tests/test_documentation.py | 167 | def test_documentation_links_are_mapped_to_local_pages_or_repository(output): | CODE |
| LOW | web-pages/product-site/tests/test_documentation.py | 175 | def test_model_selection_renders_distinct_local_native_and_split_links(output, prefix): | CODE |
| LOW⚡ | web-pages/product-site/tests/test_documentation.py | 186 | def test_source_fragment_links_keep_unicode_and_punctuation_boundaries(output): | CODE |
| LOW⚡ | web-pages/product-site/tests/test_documentation.py | 195 | def test_section_based_quickstarts_are_searchable(output): | CODE |
| 1306 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …g/inverse_text_normalization/ja/verbalizers/ordinal.py | 21 | pynutil.delete("integer:") | COMMENT |
| LOW | …g/inverse_text_normalization/ja/verbalizers/ordinal.py | 41 | # # | convert_thirteen | COMMENT |
| LOW | …ocessing/text_normalization/ru/taggers/number_names.py | 1 | # Copyright 2017 Google Inc. | COMMENT |
| LOW | web-pages/vue.config.js | 121 | // .rule('vue') | COMMENT |
| LOW | runtime/websocket/bin/funasr-wss-client.cpp | 1 | /** | COMMENT |
| LOW | runtime/websocket/bin/funasr-wss-client.cpp | 21 | #include <fstream> | COMMENT |
| LOW | runtime/websocket/bin/websocket-server-2pass.h | 1 | /** | COMMENT |
| LOW | runtime/websocket/bin/websocket-server-2pass.h | 21 | #include <utility> | COMMENT |
| LOW | runtime/websocket/bin/funasr-wss-client-2pass.cpp | 1 | /** | COMMENT |
| LOW | runtime/websocket/bin/funasr-wss-client-2pass.cpp | 21 | COMMENT | |
| LOW | runtime/websocket/bin/websocket-server-2pass.cpp | 1 | /** | COMMENT |
| LOW | runtime/websocket/bin/websocket-server.h | 1 | /** | COMMENT |
| LOW | runtime/websocket/bin/websocket-server.h | 21 | #include <utility> | COMMENT |
| LOW | runtime/tools/utils/parse_options.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | runtime/tools/fst/make_lexicon_fst.pl | 1 | #!/usr/bin/perl -w | COMMENT |
| LOW | runtime/tools/fst/s2eps.pl | 1 | #!/usr/bin/perl | COMMENT |
| LOW | runtime/tools/fst/add_lex_disambig.pl | 1 | #!/usr/bin/perl | COMMENT |
| LOW | runtime/tools/fst/compile_dict_token.sh | 1 | #!/bin/bash | COMMENT |
| LOW | runtime/tools/fst/parse_options.sh | 1 | #!/bin/bash | COMMENT |
| LOW | runtime/tools/fst/eps2disambig.pl | 1 | #!/usr/bin/perl | COMMENT |
| LOW | runtime/onnxruntime/bin/funasr-onnx-online-asr.cpp | 1 | /** | COMMENT |
| LOW | runtime/onnxruntime/bin/funasr-onnx-online-punc.cpp | 1 | /** | COMMENT |
| LOW | runtime/onnxruntime/bin/funasr-onnx-offline.cpp | 1 | /** | COMMENT |
| LOW | runtime/onnxruntime/bin/funasr-onnx-offline.cpp | 181 | // For debug:begin | COMMENT |
| LOW | runtime/onnxruntime/bin/funasr-onnx-offline-vad.cpp | 1 | /** | COMMENT |
| LOW | runtime/onnxruntime/bin/funasr-onnx-offline-punc.cpp | 1 | /** | COMMENT |
| LOW | runtime/onnxruntime/bin/funasr-onnx-online-vad.cpp | 1 | /** | COMMENT |
| LOW | runtime/onnxruntime/bin/funasr-onnx-2pass-rtf.cpp | 1 | /** | COMMENT |
| LOW | runtime/onnxruntime/bin/funasr-onnx-2pass.cpp | 1 | /** | COMMENT |
| LOW | runtime/onnxruntime/bin/funasr-onnx-offline-rtf.cpp | 1 | /** | COMMENT |
| LOW | runtime/onnxruntime/bin/funasr-onnx-online-rtf.cpp | 1 | /** | COMMENT |
| LOW | runtime/onnxruntime/include/com-define.h | 1 | #pragma once | COMMENT |
| LOW | runtime/onnxruntime/include/com-define.h | 21 | #define AM_SCALE "am-scale" | COMMENT |
| LOW | runtime/onnxruntime/include/com-define.h | 41 | COMMENT | |
| LOW | runtime/onnxruntime/include/com-define.h | 61 | #define BATCHSIZE "batch-size" | COMMENT |
| LOW | runtime/onnxruntime/include/com-define.h | 81 | #define QUANT_ENCODER_NAME "model_quant.onnx" | COMMENT |
| LOW | runtime/onnxruntime/include/com-define.h | 101 | #ifndef VAD_LFR_M | COMMENT |
| LOW | runtime/onnxruntime/include/com-define.h | 121 | COMMENT | |
| LOW | runtime/onnxruntime/include/funasrruntime.h | 1 | #pragma once | COMMENT |
| LOW | runtime/onnxruntime/include/tpass-stream.h | 1 | #ifndef TPASS_STREAM_H | COMMENT |
| LOW | runtime/onnxruntime/include/offline-stream.h | 1 | #ifndef OFFLINE_STREAM_H | COMMENT |
| LOW | runtime/onnxruntime/include/tclap/ZshCompletionOutput.h | 21 | * | COMMENT |
| LOW | runtime/onnxruntime/include/tclap/Arg.h | 21 | * DEALINGS IN THE SOFTWARE. | COMMENT |
| LOW | runtime/onnxruntime/include/tclap/StdOutput.h | 21 | * | COMMENT |
| LOW | runtime/onnxruntime/include/tclap/ArgTraits.h | 81 | template<typename T> | COMMENT |
| LOW | runtime/onnxruntime/include/tclap/CmdLine.h | 21 | * | COMMENT |
| LOW | runtime/onnxruntime/include/tclap/DocBookOutput.h | 21 | * | COMMENT |
| LOW | runtime/onnxruntime/include/tclap/StandardTraits.h | 21 | * | COMMENT |
| LOW | …tive-fbank/kaldi-native-fbank/csrc/feature-functions.h | 21 | #define KALDI_NATIVE_FBANK_CSRC_FEATURE_FUNCTIONS_H_ | COMMENT |
| LOW | …-native-fbank/kaldi-native-fbank/csrc/online-feature.h | 21 | #ifndef KALDI_NATIVE_FBANK_CSRC_ONLINE_FEATURE_H_ | COMMENT |
| LOW | …-native-fbank/kaldi-native-fbank/csrc/online-feature.h | 81 | COMMENT | |
| LOW | …-native-fbank/kaldi-native-fbank/csrc/online-feature.h | 101 | // more waveform. This will help flush out the last frame or two | COMMENT |
| LOW | …party/kaldi-native-fbank/kaldi-native-fbank/csrc/log.h | 281 | } | COMMENT |
| LOW | …party/kaldi-native-fbank/kaldi-native-fbank/csrc/log.h | 301 | : ::knf::Voidifier() & \ | COMMENT |
| LOW | …party/kaldi-native-fbank/kaldi-native-fbank/csrc/log.h | 321 | #define _KNF_CHECK_OP(x, y, op) \ | COMMENT |
| LOW | …party/kaldi-native-fbank/kaldi-native-fbank/csrc/log.h | 361 | COMMENT | |
| LOW | …rty/kaldi-native-fbank/kaldi-native-fbank/csrc/fftsg.c | 441 | #ifdef USE_CDFT_PTHREADS | COMMENT |
| LOW | …rty/kaldi-native-fbank/kaldi-native-fbank/csrc/fftsg.c | 461 | fprintf(stderr, "cdft thread error\n"); \ | COMMENT |
| LOW | …-native-fbank/kaldi-native-fbank/csrc/feature-window.h | 1 | // kaldi-native-fbank/csrc/feature-window.h | COMMENT |
| LOW | runtime/onnxruntime/third_party/openfst/ltmain.sh | 1 | #! /bin/sh | COMMENT |
| 907 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …t_processing/inverse_text_normalization/vi/__init__.py | 1 | CODE | |
| LOW | …t_processing/inverse_text_normalization/vi/__init__.py | 4 | CODE | |
| LOW | …t_processing/inverse_text_normalization/vi/__init__.py | 5 | CODE | |
| LOW | …t_processing/inverse_text_normalization/ja/__init__.py | 1 | CODE | |
| LOW | …t_processing/inverse_text_normalization/ja/__init__.py | 4 | CODE | |
| LOW | …t_processing/inverse_text_normalization/ja/__init__.py | 5 | CODE | |
| LOW | …ssing/inverse_text_normalization/ja/taggers/measure.py | 3 | CODE | |
| LOW | …ssing/inverse_text_normalization/ja/taggers/measure.py | 3 | CODE | |
| LOW | …sing/inverse_text_normalization/ja/taggers/fraction.py | 2 | CODE | |
| LOW | …sing/inverse_text_normalization/ja/taggers/fraction.py | 2 | CODE | |
| LOW | …ing/inverse_text_normalization/ja/taggers/telephone.py | 3 | CODE | |
| LOW | …text_normalization/ja/taggers/tokenize_and_classify.py | 18 | CODE | |
| LOW | …/inverse_text_normalization/ja/taggers/preprocessor.py | 4 | CODE | |
| LOW | …sing/inverse_text_normalization/ja/taggers/cardinal.py | 8 | CODE | |
| LOW | …sing/inverse_text_normalization/ja/taggers/cardinal.py | 8 | CODE | |
| LOW | …sing/inverse_text_normalization/ja/taggers/cardinal.py | 8 | CODE | |
| LOW | …sing/inverse_text_normalization/ja/taggers/cardinal.py | 8 | CODE | |
| LOW | …sing/inverse_text_normalization/ja/taggers/cardinal.py | 18 | CODE | |
| LOW | …ocessing/inverse_text_normalization/ja/taggers/word.py | 1 | CODE | |
| LOW | …ocessing/inverse_text_normalization/ja/taggers/word.py | 2 | CODE | |
| LOW | …/inverse_text_normalization/ja/verbalizers/fraction.py | 2 | CODE | |
| LOW | …/inverse_text_normalization/ja/verbalizers/fraction.py | 2 | CODE | |
| LOW | …g/inverse_text_normalization/ja/verbalizers/ordinal.py | 2 | CODE | |
| LOW | …e_text_normalization/ja/verbalizers/verbalize_final.py | 4 | CODE | |
| LOW | …/inverse_text_normalization/ja/verbalizers/cardinal.py | 4 | CODE | |
| LOW | …t_processing/inverse_text_normalization/tl/__init__.py | 1 | CODE | |
| LOW | …t_processing/inverse_text_normalization/tl/__init__.py | 4 | CODE | |
| LOW | …t_processing/inverse_text_normalization/tl/__init__.py | 5 | CODE | |
| LOW | …sing/inverse_text_normalization/tl/taggers/cardinal.py | 3 | CODE | |
| LOW | …sing/inverse_text_normalization/tl/taggers/cardinal.py | 3 | CODE | |
| LOW | …t_processing/inverse_text_normalization/pt/__init__.py | 1 | CODE | |
| LOW | …t_processing/inverse_text_normalization/pt/__init__.py | 4 | CODE | |
| LOW | …t_processing/inverse_text_normalization/pt/__init__.py | 5 | CODE | |
| LOW | …t_processing/inverse_text_normalization/zh/__init__.py | 1 | CODE | |
| LOW | …t_processing/inverse_text_normalization/zh/__init__.py | 4 | CODE | |
| LOW | …t_processing/inverse_text_normalization/zh/__init__.py | 5 | CODE | |
| LOW | …ocessing/inverse_text_normalization/zh/taggers/time.py | 2 | CODE | |
| LOW | …ocessing/inverse_text_normalization/zh/taggers/time.py | 3 | CODE | |
| LOW | …ocessing/inverse_text_normalization/zh/taggers/time.py | 4 | CODE | |
| LOW | …ocessing/inverse_text_normalization/zh/taggers/time.py | 4 | CODE | |
| LOW | …ocessing/inverse_text_normalization/zh/taggers/time.py | 4 | CODE | |
| LOW | …ocessing/inverse_text_normalization/zh/taggers/time.py | 4 | CODE | |
| LOW | …ssing/inverse_text_normalization/zh/taggers/measure.py | 3 | CODE | |
| LOW | …ssing/inverse_text_normalization/zh/taggers/measure.py | 3 | CODE | |
| LOW | …ssing/inverse_text_normalization/zh/taggers/measure.py | 3 | CODE | |
| LOW | …ssing/inverse_text_normalization/zh/taggers/measure.py | 3 | CODE | |
| LOW | …sing/inverse_text_normalization/zh/taggers/fraction.py | 1 | CODE | |
| LOW | …sing/inverse_text_normalization/zh/taggers/fraction.py | 1 | CODE | |
| LOW | …sing/inverse_text_normalization/zh/taggers/fraction.py | 1 | CODE | |
| LOW | …sing/inverse_text_normalization/zh/taggers/fraction.py | 1 | CODE | |
| LOW | …sing/inverse_text_normalization/zh/taggers/fraction.py | 1 | CODE | |
| LOW | …sing/inverse_text_normalization/zh/taggers/fraction.py | 1 | CODE | |
| LOW | …ssing/inverse_text_normalization/zh/taggers/decimal.py | 3 | CODE | |
| LOW | …ssing/inverse_text_normalization/zh/taggers/decimal.py | 3 | CODE | |
| LOW | …cessing/inverse_text_normalization/zh/taggers/money.py | 3 | CODE | |
| LOW | …cessing/inverse_text_normalization/zh/taggers/money.py | 3 | CODE | |
| LOW | …cessing/inverse_text_normalization/zh/taggers/money.py | 3 | CODE | |
| LOW | …cessing/inverse_text_normalization/zh/taggers/money.py | 3 | CODE | |
| LOW | …cessing/inverse_text_normalization/zh/taggers/money.py | 3 | CODE | |
| LOW | …cessing/inverse_text_normalization/zh/taggers/money.py | 3 | CODE | |
| 738 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …essing/inverse_text_normalization/inverse_normalize.py | 24 | CODE | |
| LOW | …processing/inverse_text_normalization/export_models.py | 26 | CODE | |
| LOW | …_processing/text_normalization/normalize_with_audio.py | 94 | CODE | |
| LOW | …_processing/text_normalization/normalize_with_audio.py | 181 | CODE | |
| LOW | fun_text_processing/text_normalization/normalize.py | 48 | CODE | |
| LOW | fun_text_processing/text_normalization/normalize.py | 359 | CODE | |
| LOW | fun_text_processing/text_normalization/export_models.py | 33 | CODE | |
| LOW | …ext_processing/text_normalization/data_loader_utils.py | 34 | CODE | |
| LOW | …ext_processing/text_normalization/data_loader_utils.py | 273 | CODE | |
| LOW | fun_text_processing/text_normalization/token_parser.py | 67 | CODE | |
| LOW | web-pages/product-site/build.py | 190 | CODE | |
| LOW | web-pages/product-site/registry.py | 87 | CODE | |
| LOW | web-pages/product-site/export_docs.py | 50 | CODE | |
| LOW | web-pages/product-site/export_docs.py | 75 | CODE | |
| LOW | web-pages/product-site/tests/test_documentation.py | 242 | CODE | |
| LOW | …b-pages/product-site/tests/test_http_blog_contracts.py | 63 | CODE | |
| LOW | …b-pages/product-site/tests/test_http_blog_contracts.py | 152 | CODE | |
| LOW | …b-pages/product-site/tests/test_http_blog_contracts.py | 188 | CODE | |
| LOW | …b-pages/product-site/tests/test_http_blog_contracts.py | 208 | CODE | |
| LOW | …b-pages/product-site/tests/test_http_blog_contracts.py | 225 | CODE | |
| LOW | web-pages/product-site/tests/test_blog_editorial.py | 55 | CODE | |
| LOW | web-pages/product-site/tests/test_legacy_doc_anchors.py | 36 | CODE | |
| LOW | web-pages/product-site/tests/test_legacy_doc_anchors.py | 233 | CODE | |
| LOW | …s/product-site/tests/test_long_audio_blog_contracts.py | 152 | CODE | |
| LOW | …ages/product-site/tests/test_documentation_coverage.py | 57 | CODE | |
| LOW | runtime/llama.cpp/benchmarks/compute_cer.py | 32 | CODE | |
| LOW | runtime/python/websocket/funASR-Service.py | 167 | CODE | |
| LOW | runtime/python/websocket/funasr_wss_server.py | 342 | CODE | |
| LOW | runtime/python/websocket/funasr_wss_server.py | 402 | CODE | |
| LOW | runtime/python/websocket/funasr_wss_client.py | 128 | CODE | |
| LOW | runtime/python/websocket/funasr_wss_client.py | 194 | CODE | |
| LOW | runtime/python/websocket/funasr_wss_client.py | 328 | CODE | |
| LOW | …ntime/python/onnxruntime/funasr_onnx/paraformer_bin.py | 104 | CODE | |
| LOW | …ntime/python/onnxruntime/funasr_onnx/paraformer_bin.py | 358 | CODE | |
| LOW | …ython/onnxruntime/funasr_onnx/paraformer_online_bin.py | 130 | CODE | |
| LOW | runtime/python/onnxruntime/funasr_onnx/vad_bin.py | 95 | CODE | |
| LOW | runtime/python/onnxruntime/funasr_onnx/punc_bin.py | 28 | CODE | |
| LOW | runtime/python/onnxruntime/funasr_onnx/punc_bin.py | 97 | CODE | |
| LOW | runtime/python/onnxruntime/funasr_onnx/punc_bin.py | 195 | CODE | |
| LOW | runtime/python/onnxruntime/funasr_onnx/utils/e2e_vad.py | 501 | CODE | |
| LOW | runtime/python/onnxruntime/funasr_onnx/utils/e2e_vad.py | 577 | CODE | |
| LOW | …ntime/python/onnxruntime/funasr_onnx/utils/frontend.py | 127 | CODE | |
| LOW | …ntime/python/onnxruntime/funasr_onnx/utils/frontend.py | 187 | CODE | |
| LOW | …hon/onnxruntime/funasr_onnx/utils/postprocess_utils.py | 54 | CODE | |
| LOW | …hon/onnxruntime/funasr_onnx/utils/postprocess_utils.py | 139 | CODE | |
| LOW | …hon/onnxruntime/funasr_onnx/utils/postprocess_utils.py | 249 | CODE | |
| LOW | runtime/python/onnxruntime/funasr_onnx/utils/utils.py | 275 | CODE | |
| LOW | runtime/python/onnxruntime/funasr_onnx/utils/utils.py | 133 | CODE | |
| LOW | runtime/python/libtorch/funasr_torch/paraformer_bin.py | 91 | CODE | |
| LOW | runtime/python/libtorch/funasr_torch/paraformer_bin.py | 326 | CODE | |
| LOW | runtime/python/libtorch/funasr_torch/utils/frontend.py | 124 | CODE | |
| LOW | …ython/libtorch/funasr_torch/utils/postprocess_utils.py | 52 | CODE | |
| LOW | …ython/libtorch/funasr_torch/utils/postprocess_utils.py | 137 | CODE | |
| LOW | …time/python/libtorch/funasr_torch/utils/compute_wer.py | 92 | CODE | |
| LOW | runtime/python/libtorch/funasr_torch/utils/utils.py | 76 | CODE | |
| LOW | runtime/python/utils/compute_wer.py | 92 | CODE | |
| LOW | …model_repo_paraformer_large_offline/scoring/1/model.py | 58 | CODE | |
| LOW | …_paraformer_large_offline/feature_extractor/1/model.py | 145 | CODE | |
| LOW | …el_repo_sense_voice_small/feature_extractor/1/model.py | 145 | CODE | |
| LOW | …del_repo_paraformer_large_online/cif_search/1/model.py | 153 | CODE | |
| 286 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | runtime/onnxruntime/third_party/openfst/ltmain.sh | 169 | # ---------------------- | COMMENT |
| MEDIUM | runtime/onnxruntime/third_party/openfst/ltmain.sh | 178 | # -------------------------------------------- | COMMENT |
| MEDIUM | runtime/onnxruntime/third_party/openfst/ltmain.sh | 480 | # ------------------- | COMMENT |
| MEDIUM | runtime/onnxruntime/third_party/openfst/ltmain.sh | 529 | # --------------------- | COMMENT |
| MEDIUM | runtime/onnxruntime/third_party/openfst/ltmain.sh | 575 | # ---------------------------- | COMMENT |
| MEDIUM | runtime/onnxruntime/third_party/openfst/ltmain.sh | 598 | # -------------------------- | COMMENT |
| MEDIUM | runtime/onnxruntime/third_party/openfst/ltmain.sh | 622 | # ------------------ | COMMENT |
| MEDIUM | runtime/onnxruntime/third_party/openfst/ltmain.sh | 646 | # ------------------ | COMMENT |
| MEDIUM | runtime/onnxruntime/third_party/openfst/ltmain.sh | 679 | # ------------------------------------------- | COMMENT |
| MEDIUM | runtime/onnxruntime/third_party/openfst/ltmain.sh | 691 | # -------------------------------------------------------- | COMMENT |
| MEDIUM | runtime/onnxruntime/third_party/openfst/ltmain.sh | 712 | # ---------------- | COMMENT |
| MEDIUM | runtime/onnxruntime/third_party/openfst/ltmain.sh | 731 | # -------------------- | COMMENT |
| MEDIUM | runtime/onnxruntime/third_party/openfst/ltmain.sh | 740 | # ------------------------------ | COMMENT |
| MEDIUM | runtime/onnxruntime/third_party/openfst/ltmain.sh | 776 | # ----------------- | COMMENT |
| MEDIUM | runtime/onnxruntime/third_party/openfst/ltmain.sh | 789 | # ----------------------- | COMMENT |
| MEDIUM | runtime/onnxruntime/third_party/openfst/ltmain.sh | 801 | # ----------------------------- | COMMENT |
| MEDIUM | runtime/onnxruntime/third_party/openfst/ltmain.sh | 812 | # --------------- | COMMENT |
| MEDIUM | runtime/onnxruntime/third_party/openfst/ltmain.sh | 838 | # --------------------------- | COMMENT |
| MEDIUM | runtime/onnxruntime/third_party/openfst/ltmain.sh | 886 | # ------------------------- | COMMENT |
| MEDIUM | runtime/onnxruntime/third_party/openfst/ltmain.sh | 924 | # ------------------------ | COMMENT |
| MEDIUM | runtime/onnxruntime/third_party/openfst/ltmain.sh | 1014 | # -------------------- | COMMENT |
| MEDIUM | runtime/onnxruntime/third_party/openfst/ltmain.sh | 1030 | # -------------------------------- | COMMENT |
| MEDIUM | runtime/onnxruntime/third_party/openfst/ltmain.sh | 1095 | # -------------------------- | COMMENT |
| MEDIUM | runtime/onnxruntime/third_party/openfst/ltmain.sh | 1147 | # ------------------------- | COMMENT |
| MEDIUM | runtime/onnxruntime/third_party/openfst/ltmain.sh | 1177 | # --------------------------------- | COMMENT |
| MEDIUM | runtime/onnxruntime/third_party/openfst/ltmain.sh | 1207 | # ----------------------------- | COMMENT |
| MEDIUM | runtime/onnxruntime/third_party/openfst/ltmain.sh | 1232 | # ------------------------------------ | COMMENT |
| MEDIUM | runtime/onnxruntime/third_party/openfst/ltmain.sh | 1261 | # ---------- | COMMENT |
| MEDIUM | runtime/onnxruntime/third_party/openfst/ltmain.sh | 1282 | # ------------------- | COMMENT |
| MEDIUM | runtime/onnxruntime/third_party/openfst/ltmain.sh | 1295 | # ----------------------------- | COMMENT |
| MEDIUM | runtime/onnxruntime/third_party/openfst/ltmain.sh | 1308 | # ---------------------------- | COMMENT |
| MEDIUM | runtime/onnxruntime/third_party/openfst/ltmain.sh | 1333 | # ----------------------- | COMMENT |
| MEDIUM | runtime/onnxruntime/third_party/openfst/ltmain.sh | 1350 | # --------------------- | COMMENT |
| MEDIUM | runtime/onnxruntime/third_party/openfst/ltmain.sh | 1483 | # ----------------------- | COMMENT |
| MEDIUM | runtime/onnxruntime/third_party/openfst/ltmain.sh | 1495 | # --------------------------------- | COMMENT |
| MEDIUM | runtime/onnxruntime/third_party/openfst/ltmain.sh | 1512 | # ------------------------------------ | COMMENT |
| MEDIUM | runtime/onnxruntime/third_party/openfst/ltmain.sh | 1523 | # --------------------------------- | COMMENT |
| MEDIUM | runtime/onnxruntime/third_party/openfst/ltmain.sh | 1625 | # --------------------- | COMMENT |
| MEDIUM | runtime/onnxruntime/third_party/openfst/ltmain.sh | 1648 | # -------------------------- | COMMENT |
| MEDIUM | runtime/onnxruntime/third_party/openfst/ltmain.sh | 1672 | # --------------------------- | COMMENT |
| MEDIUM | runtime/onnxruntime/third_party/openfst/ltmain.sh | 1773 | # ------------------------------ | COMMENT |
| MEDIUM | runtime/onnxruntime/third_party/openfst/ltmain.sh | 1804 | # ---------------------- | COMMENT |
| MEDIUM | runtime/onnxruntime/third_party/openfst/ltmain.sh | 1832 | # ------------------------ | COMMENT |
| MEDIUM | runtime/onnxruntime/third_party/openfst/ltmain.sh | 1845 | # ------------------------ | COMMENT |
| MEDIUM | runtime/onnxruntime/third_party/openfst/ltmain.sh | 1880 | # ----------------------------- | COMMENT |
| MEDIUM | runtime/onnxruntime/third_party/openfst/ltmain.sh | 1906 | # ---------- | COMMENT |
| MEDIUM | runtime/onnxruntime/third_party/openfst/ltmain.sh | 1919 | # ------------------ | COMMENT |
| MEDIUM | runtime/onnxruntime/third_party/openfst/ltmain.sh | 1939 | # ------------ | COMMENT |
| MEDIUM | runtime/onnxruntime/third_party/openfst/ltmain.sh | 1984 | # ---------------- | COMMENT |
| MEDIUM | runtime/onnxruntime/third_party/openfst/ltmain.sh | 2004 | # ------------------- | COMMENT |
| MEDIUM | runtime/onnxruntime/third_party/openfst/ltmain.sh | 2083 | # --------------------- | COMMENT |
| MEDIUM | runtime/onnxruntime/third_party/openfst/ltmain.sh | 2100 | # --------------------------- | COMMENT |
| MEDIUM | runtime/onnxruntime/third_party/openfst/ltmain.sh | 2122 | # ------------------------------- | COMMENT |
| MEDIUM | runtime/onnxruntime/third_party/openfst/ltmain.sh | 2134 | # ----------- | COMMENT |
| MEDIUM | runtime/onnxruntime/third_party/openfst/ltmain.sh | 2154 | # ------------- | COMMENT |
| MEDIUM | runtime/onnxruntime/third_party/openfst/ltmain.sh | 2175 | # ----------------------- | COMMENT |
| MEDIUM | runtime/onnxruntime/third_party/openfst/ltmain.sh | 2218 | # ------------------------ | COMMENT |
| MEDIUM | runtime/onnxruntime/third_party/openfst/ltmain.sh | 2255 | # ----------------------------- | COMMENT |
| MEDIUM | runtime/onnxruntime/third_party/openfst/ltmain.sh | 2306 | # --------------------------------- | COMMENT |
| MEDIUM | runtime/onnxruntime/third_party/openfst/ltmain.sh | 2404 | # --------------------------------- | COMMENT |
| 31 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | web-pages/product-site/build.py | 472 | except Exception: | CODE |
| LOW | runtime/llama.cpp/server/funasr_gguf_server.py | 141 | except Exception as exc: | CODE |
| LOW | runtime/llama.cpp/server/funasr_gguf_server.py | 164 | except Exception as exc: | CODE |
| LOW | runtime/python/websocket/funASR-Service.py | 79 | except Exception as e: | CODE |
| LOW | runtime/python/websocket/funASR-Service.py | 140 | except Exception as e: | CODE |
| MEDIUM | runtime/python/websocket/funasr_wss_server.py | 151 | def _safe_int(v, default): | CODE |
| LOW⚡ | runtime/python/websocket/funasr_wss_server.py | 644 | except Exception: | CODE |
| LOW⚡ | runtime/python/websocket/funasr_wss_server.py | 647 | except Exception as e: | CODE |
| LOW⚡ | runtime/python/websocket/funasr_wss_server.py | 651 | except Exception: | CODE |
| LOW | runtime/python/websocket/funasr_wss_server.py | 22 | except Exception: | CODE |
| LOW | runtime/python/websocket/funasr_wss_server.py | 137 | except Exception: | CODE |
| LOW | runtime/python/websocket/funasr_wss_server.py | 154 | except Exception: | CODE |
| LOW | runtime/python/websocket/funasr_wss_server.py | 170 | except Exception: | CODE |
| LOW | runtime/python/websocket/funasr_wss_server.py | 229 | except Exception as e: | CODE |
| LOW | runtime/python/websocket/funasr_wss_server.py | 393 | except Exception as e: | CODE |
| LOW | runtime/python/websocket/funasr_wss_server.py | 423 | except Exception as e: | CODE |
| LOW | runtime/python/websocket/funasr_wss_server.py | 429 | except Exception as e: | CODE |
| LOW | runtime/python/websocket/funasr_wss_server.py | 468 | except Exception as e: | CODE |
| LOW | runtime/python/websocket/funasr_wss_server.py | 539 | except Exception as e: | CODE |
| LOW | runtime/python/websocket/funasr_wss_server.py | 563 | except Exception as e: | CODE |
| LOW | runtime/python/websocket/funasr_wss_server.py | 574 | except Exception as e: | CODE |
| LOW | runtime/python/websocket/funasr_wss_server.py | 609 | except Exception as e: | CODE |
| LOW | runtime/python/websocket/funasr_wss_server.py | 616 | except Exception as e: | CODE |
| LOW | runtime/python/websocket/funasr_wss_server.py | 743 | except Exception as e: | CODE |
| LOW | runtime/python/websocket/funasr_wss_server.py | 765 | except Exception as e: | CODE |
| LOW | runtime/python/websocket/funasr_wss_server.py | 864 | except Exception: | CODE |
| LOW | runtime/python/websocket/funasr_client_api.py | 85 | except Exception as e: | CODE |
| LOW | runtime/python/websocket/funasr_client_api.py | 99 | except Exception as e: | CODE |
| MEDIUM | runtime/python/websocket/funasr_client_api.py | 90 | def thread_rec_msg(self): | CODE |
| LOW | runtime/python/websocket/funasr_wss_client.py | 119 | except Exception: | CODE |
| LOW | runtime/python/websocket/funasr_wss_client.py | 486 | except Exception as e: | CODE |
| LOW | runtime/python/websocket/funasr_wss_client.py | 494 | except Exception: | CODE |
| MEDIUM | runtime/python/websocket/funasr_wss_client.py | 115 | def close(self): | CODE |
| LOW | …ntime/python/onnxruntime/funasr_onnx/paraformer_bin.py | 58 | except Exception as e: | CODE |
| LOW | …ntime/python/onnxruntime/funasr_onnx/paraformer_bin.py | 191 | except Exception as e: | CODE |
| LOW | …ntime/python/onnxruntime/funasr_onnx/paraformer_bin.py | 299 | except Exception as e: | CODE |
| LOW | …ython/onnxruntime/funasr_onnx/paraformer_online_bin.py | 48 | except Exception as e: | CODE |
| LOW | …ython/onnxruntime/funasr_onnx/paraformer_online_bin.py | 225 | except Exception as e: | CODE |
| LOW | runtime/python/onnxruntime/funasr_onnx/vad_bin.py | 48 | except Exception as e: | CODE |
| LOW | runtime/python/onnxruntime/funasr_onnx/vad_bin.py | 159 | except Exception as e: | CODE |
| LOW | runtime/python/onnxruntime/funasr_onnx/vad_bin.py | 239 | except Exception as e: | CODE |
| LOW | …ntime/python/onnxruntime/funasr_onnx/sensevoice_bin.py | 55 | except Exception as e: | CODE |
| LOW | …ntime/python/onnxruntime/funasr_onnx/sensevoice_bin.py | 213 | except Exception as e: | CODE |
| LOW | runtime/python/onnxruntime/funasr_onnx/punc_bin.py | 48 | except Exception as e: | CODE |
| LOW | runtime/python/onnxruntime/funasr_onnx/utils/utils.py | 230 | except Exception as e: | CODE |
| LOW | runtime/python/libtorch/funasr_torch/paraformer_bin.py | 46 | except Exception as e: | CODE |
| LOW | runtime/python/libtorch/funasr_torch/paraformer_bin.py | 273 | except Exception as e: | CODE |
| LOW | runtime/python/libtorch/funasr_torch/sensevoice_bin.py | 52 | except Exception as e: | CODE |
| LOW | runtime/python/http/server.py | 105 | except Exception as e: | CODE |
| LOW | runtime/triton_gpu/scripts/build_sensevoice_tensorrt.py | 166 | except Exception: | CODE |
| MEDIUM | runtime/triton_gpu/scripts/build_sensevoice_tensorrt.py | 128 | def inspect_onnx(onnx_path): | CODE |
| LOW | runtime/funasr_api/funasr_stream.py | 37 | except Exception as e: | CODE |
| LOW | runtime/funasr_api/funasr_stream.py | 67 | except Exception as e: | CODE |
| MEDIUM | runtime/funasr_api/funasr_stream.py | 57 | def wait_for_end(self): | CODE |
| LOW | runtime/funasr_api/funasr_api.py | 46 | except Exception as e: | CODE |
| LOW⚡ | runtime/funasr_api/funasr_api.py | 70 | except Exception as e: | CODE |
| LOW⚡ | runtime/funasr_api/funasr_api.py | 80 | except Exception as e: | CODE |
| LOW⚡ | runtime/funasr_api/funasr_api.py | 89 | except Exception as e: | CODE |
| MEDIUM | runtime/funasr_api/funasr_api.py | 58 | def new_core(self,msg_callback=None): | CODE |
| MEDIUM | runtime/funasr_api/funasr_api.py | 75 | def rec_buf(self,audio_buf,ffmpeg_decode=False): | CODE |
| 113 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | fun_text_processing/text_normalization/normalize.py | 469 | CODE | |
| LOW | …t_processing/text_normalization/de/taggers/cardinal.py | 49 | CODE | |
| LOW | runtime/python/onnxruntime/funasr_server_http.py | 18 | CODE | |
| LOW | runtime/python/onnxruntime/funasr_onnx/utils/e2e_vad.py | 40 | CODE | |
| LOW | …ntime/python/onnxruntime/funasr_onnx/utils/frontend.py | 18 | CODE | |
| LOW | runtime/python/libtorch/funasr_torch/utils/frontend.py | 16 | CODE | |
| LOW | …_paraformer_large_offline/feature_extractor/1/model.py | 100 | CODE | |
| LOW | …el_repo_sense_voice_small/feature_extractor/1/model.py | 100 | CODE | |
| LOW | tests/test_torchaudio_optional.py | 49 | CODE | |
| LOW | tests/test_websocket_file_finalization.py | 62 | CODE | |
| LOW | tests/test_websocket_file_finalization.py | 153 | CODE | |
| LOW | …ples/industrial_data_pretraining/fun_asr_nano/model.py | 34 | CODE | |
| LOW | …ples/industrial_data_pretraining/fun_asr_nano/model.py | 484 | CODE | |
| LOW | …ndustrial_data_pretraining/fun_asr_nano/tools/cn_tn.py | 697 | CODE | |
| LOW | examples/aishell/e_paraformer/utils/textnorm_zh.py | 363 | CODE | |
| LOW | examples/aishell/paraformer/utils/textnorm_zh.py | 363 | CODE | |
| LOW | funasr/auto/auto_model.py | 824 | CODE | |
| LOW | funasr/frontends/wav_frontend.py | 96 | CODE | |
| LOW | funasr/frontends/wav_frontend.py | 269 | CODE | |
| LOW | funasr/frontends/default.py | 29 | CODE | |
| LOW | funasr/frontends/default.py | 184 | CODE | |
| LOW | funasr/frontends/utils/dnn_beamformer.py | 26 | CODE | |
| LOW | funasr/frontends/utils/dnn_wpe.py | 12 | CODE | |
| LOW | funasr/frontends/utils/frontend.py | 16 | CODE | |
| LOW | funasr/frontends/utils/feature_transform.py | 14 | CODE | |
| LOW | funasr/datasets/audio_datasets/espnet_samplers.py | 42 | CODE | |
| LOW | funasr/datasets/audio_datasets/index_ds.py | 156 | CODE | |
| LOW | funasr/datasets/audio_datasets/samplers.py | 398 | CODE | |
| LOW | funasr/datasets/openai_datasets/index_ds.py | 110 | CODE | |
| LOW | funasr/datasets/fun_asr_datasets/datasets.py | 549 | CODE | |
| LOW | funasr/utils/fbank.py | 51 | CODE | |
| LOW | funasr/utils/speaker_utils.py | 233 | CODE | |
| LOW | funasr/models/emotion2vec/model.py | 121 | CODE | |
| LOW | funasr/models/emotion2vec/model.py | 232 | CODE | |
| LOW | funasr/models/emotion2vec/fairseq_modules.py | 375 | CODE | |
| LOW | funasr/models/emotion2vec/modules.py | 169 | CODE | |
| LOW | funasr/models/emotion2vec/modules.py | 248 | CODE | |
| LOW | funasr/models/e_paraformer/decoder.py | 241 | CODE | |
| LOW | funasr/models/e_paraformer/decoder.py | 1137 | CODE | |
| LOW | funasr/models/e_paraformer/model.py | 48 | CODE | |
| LOW | funasr/models/eres2net/eres2net.py | 122 | CODE | |
| LOW | funasr/models/eres2net/eres2net.py | 204 | CODE | |
| LOW | funasr/models/eres2net/eres2net.py | 208 | CODE | |
| LOW | funasr/models/eres2net/eres2net.py | 392 | CODE | |
| LOW | funasr/models/eres2net/eres2netv2.py | 102 | CODE | |
| LOW | funasr/models/eres2net/eres2netv2.py | 182 | CODE | |
| LOW | funasr/models/eres2net/eres2netv2.py | 186 | CODE | |
| LOW | funasr/models/eres2net/model.py | 33 | CODE | |
| LOW | funasr/models/eres2net/eres2net_aug.py | 122 | CODE | |
| LOW | funasr/models/eres2net/eres2net_aug.py | 205 | CODE | |
| LOW | funasr/models/eres2net/eres2net_aug.py | 209 | CODE | |
| LOW | funasr/models/monotonic_aligner/model.py | 35 | CODE | |
| LOW | funasr/models/rwkv_bat/rwkv_encoder.py | 36 | CODE | |
| LOW | funasr/models/fsmn_vad_streaming/encoder.py | 35 | CODE | |
| LOW | funasr/models/fsmn_vad_streaming/encoder.py | 60 | CODE | |
| LOW | funasr/models/fsmn_vad_streaming/encoder.py | 84 | CODE | |
| LOW | funasr/models/fsmn_vad_streaming/model.py | 78 | CODE | |
| LOW | funasr/models/specaug/specaug.py | 31 | CODE | |
| LOW | funasr/models/specaug/specaug.py | 131 | CODE | |
| LOW | funasr/models/paraformer_v2_community/decoder.py | 241 | CODE | |
| 107 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | runtime/llama.cpp/server/funasr_gguf_server.py | 171 | except FileNotFoundError: | CODE |
| HIGH | runtime/llama.cpp/benchmarks/compute_cer.py | 49 | except ValueError: pass | CODE |
| HIGH | runtime/python/websocket/funasr_wss_server.py | 137 | except Exception: | CODE |
| HIGH | runtime/python/websocket/funasr_wss_server.py | 864 | except Exception: | CODE |
| HIGH | runtime/python/websocket/funasr_wss_server.py | 644 | except Exception: | CODE |
| HIGH | runtime/python/websocket/funasr_wss_server.py | 651 | except Exception: | CODE |
| HIGH | runtime/python/websocket/funasr_wss_client.py | 119 | except Exception: | CODE |
| HIGH | runtime/python/websocket/funasr_wss_client.py | 494 | except Exception: | CODE |
| HIGH | runtime/triton_gpu/scripts/build_sensevoice_tensorrt.py | 169 | except FileNotFoundError: | CODE |
| HIGH | tests/test_python_api_docs_contract.py | 35 | except (ValueError, TypeError): | CODE |
| HIGH | …ustrial_data_pretraining/fun_asr_nano/client_python.py | 141 | except (KeyboardInterrupt, asyncio.CancelledError): | CODE |
| HIGH | …ndustrial_data_pretraining/fun_asr_nano/client_test.py | 86 | except asyncio.TimeoutError: | CODE |
| HIGH | …ndustrial_data_pretraining/fun_asr_nano/tools/utils.py | 55 | except: | CODE |
| HIGH | …trial_data_pretraining/qwen3_asr/serve_qwen3_asr_ws.py | 107 | except websockets.exceptions.ConnectionClosed: | CODE |
| HIGH | examples/migration/benchmark_funasr.py | 99 | except Exception: | CODE |
| HIGH | scripts/collect_growth_metrics.py | 358 | except OSError: | CODE |
| HIGH | funasr/cli.py | 225 | except (ImportError, RuntimeError, ValueError): | CODE |
| HIGH | funasr/auto/auto_model.py | 447 | except: | CODE |
| HIGH | funasr/auto/auto_model.py | 573 | except: | CODE |
| HIGH | funasr/utils/load_utils.py | 26 | except: | CODE |
| HIGH | funasr/models/ct_transformer/model.py | 23 | except: | CODE |
| HIGH | funasr/models/moss_transcribe_diarize/model.py | 594 | except (RuntimeError, TypeError, ValueError): | CODE |
| HIGH | funasr/models/fun_asr_nano/tools/utils.py | 79 | except Exception: | CODE |
| HIGH | funasr/models/mossformer/mossformer_encoder.py | 7 | except: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | web-pages/product-site/tests/test_registry.py | 342 | command.startswith('cd runtime/triton_gpu && tritonserver') | CODE |
| HIGH | web-pages/product-site/tests/test_output.py | 195 | assert 'cd FunASR/runtime/python/websocket && python funasr_wss_server.py' in commands | CODE |
| HIGH⚡ | runtime/llama.cpp/tests/test_release_workflow.py | 96 | assert "if: matrix.vulkan && runner.os == 'Linux'" in workflow | CODE |
| HIGH⚡ | tests/test_generated_api_docs.py | 145 | addEventListener() {}, closest() {return null;}, | CODE |
| HIGH⚡ | tests/test_generated_api_docs.py | 155 | querySelector(selector) {return selector === '.skip-link' ? element('skip-link') : null;}, | CODE |
| HIGH⚡ | tests/test_generated_api_docs.py | 156 | getElementById(id) {return {e1: detail, 'api-welcome': welcomeNode, 'api-search': searchNode, 'search-empty': empty}[i | CODE |
| HIGH | tests/test_generated_api_docs.py | 178 | assert.equal(link.getAttribute('aria-current'), undefined); | CODE |
| HIGH | tests/test_generated_api_docs.py | 255 | const check = (condition, label) => {if (!condition) errors.push(label);}; | CODE |
| HIGH | tests/test_generated_api_docs.py | 279 | check(box.left >= 0 && box.right <= innerWidth + 1, selector + ' viewport bounds'); | CODE |
| HIGH⚡ | scripts/gen_api_docs.py | 335 | let expandedBeforeSearch = null; | CODE |
| HIGH⚡ | scripts/gen_api_docs.py | 343 | const target = entries.find(entry => entry.id === id) || null; | CODE |
| HIGH⚡ | scripts/gen_api_docs.py | 347 | if (target && link.dataset.target === target.id) {{ | CODE |
| HIGH | scripts/gen_api_docs.py | 359 | if (focus && target) {{ | CODE |
| HIGH⚡ | scripts/gen_api_docs.py | 376 | expandedBeforeSearch = null; | CODE |
| HIGH⚡ | scripts/gen_api_docs.py | 378 | document.getElementById('search-empty').hidden = !q || entryLinks.some(link => !link.hidden); | CODE |
| HIGH⚡ | scripts/gen_api_docs.py | 385 | if (!event.ctrlKey && !event.metaKey && !event.shiftKey && !event.altKey && event.button === 0) {{ | CODE |
| HIGH⚡ | scripts/gen_api_docs.py | 391 | if (event.ctrlKey || event.metaKey || event.shiftKey || event.altKey || event.button !== 0) return; | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | web-pages/public/index.js | 3 | (Xt={}).read=function(t,e,r,n,i){var o,a,s=8*i-n-1,f=(1<<s)-1,u=f>>1,h=-7,c=r?i-1:0,d=r?-1:1,l=t[e+c];for(c+=d,o=l&(1<<- | CODE |
| CRITICAL | …b-pages/public/static/liveplayer/liveplayer-lib.min.js | 1 | !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("global/window"),require("g | CODE |
| CRITICAL | web-pages/product-site/legacy/index.js | 3 | (Xt={}).read=function(t,e,r,n,i){var o,a,s=8*i-n-1,f=(1<<s)-1,u=f>>1,h=-7,c=r?i-1:0,d=r?-1:1,l=t[e+c];for(c+=d,o=l&(1<<- | CODE |
| CRITICAL | …ct-site/legacy/static/liveplayer/liveplayer-lib.min.js | 1 | !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("global/window"),require("g | CODE |
| CRITICAL | funasr/models/llm_asr/model.py | 228 | inputs_embeds = self.llm.model.model.model.embed_tokens(input_ids) | CODE |
| CRITICAL | funasr/models/llm_asr/model.py | 353 | inputs_embeds = self.llm.model.model.model.embed_tokens(prompt_ids) | CODE |
| CRITICAL | funasr/models/llm_asr_nar/model.py | 223 | inputs_embeds = self.llm.model.model.model.embed_tokens(input_ids) | CODE |
| CRITICAL | funasr/models/llm_asr_nar/model.py | 367 | inputs_embeds = self.llm.model.model.model.embed_tokens(prompt_ids) | CODE |
| CRITICAL | funasr/models/llm_asr_nar/model.py | 642 | inputs_embeds = self.llm.model.model.model.embed_tokens(input_ids) | CODE |
| CRITICAL | funasr/models/llm_asr_nar/model.py | 841 | inputs_embeds = self.llm.model.model.model.embed_tokens(prompt_ids) | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …ntime/python/onnxruntime/funasr_onnx/utils/frontend.py | 128 | load cmvn file to numpy array. Args: cmvn_file (Union[str, Path]): cmvn file path. Raises: Fi | STRING |
| HIGH | funasr/auto/auto_model.py | 827 | Run speech recognition on input audio. This is the primary user-facing method. It automatically routes to: | STRING |
| HIGH | funasr/auto/auto_model.py | 1410 | Export model to ONNX format. Creates a deep copy of the model to isolate ONNX operator monkey-patching, | STRING |
| HIGH | funasr/auto/auto_model_vllm.py | 69 | Check if a model can use vLLM inference. Args: model_name: The model class name from config.yaml. Retu | STRING |
| HIGH | funasr/tokenizer/phoneme_tokenizer.py | 122 | Extract phoneme + prosoody symbol sequence from input full-context labels. The algorithm is based on `Prosodic feat | STRING |
| HIGH | funasr/models/transformer/utils/nets_utils.py | 33 | Perform padding for the list of tensors. Args: xs (List): List of Tensors [(T_1, `*`), (T_2, `*`), ..., (T_ | STRING |
| HIGH | funasr/models/transformer/utils/nets_utils.py | 63 | Perform padding for the list of tensors. Args: xs (List): List of Tensors [(T_1, `*`), (T_2, `*`), ..., (T_ | STRING |
| HIGH | funasr/models/transformer/utils/nets_utils.py | 105 | Make mask tensor containing indices of padded part. Args: lengths (LongTensor or List): Batch of lengths (B | STRING |
| HIGH | funasr/models/transformer/utils/nets_utils.py | 222 | Make mask tensor containing indices of non-padded part. Args: lengths (LongTensor or List): Batch of length | STRING |
| HIGH | funasr/models/transformer/utils/nets_utils.py | 311 | Mask tensor according to length. Args: xs (Tensor): Batch of input tensor (B, `*`). lengths (LongTe | STRING |
| HIGH | funasr/models/transformer/utils/nets_utils.py | 342 | Change to torch.Tensor or ComplexTensor from numpy.ndarray. Args: x: Inputs. It should be one of numpy.ndar | STRING |
| HIGH | funasr/models/qwen3_asr/model.py | 210 | Run Qwen3-ASR speech recognition. Args: data_in: Audio input. Accepts: - list of fi | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | docs/community_growth_20k.md | 267 | | `crewAIInc/crewAI#5983` FunASR for voice-enabled agents | Routes a 55k-star multi-agent framework toward a provider-ne | CODE |
| MEDIUM | docs/community_growth_20k.md | 271 | | `chatchat-space/Langchain-Chatchat#5479` FunASR/SenseVoice voice input | Puts FunASR in a 38k-star Chinese RAG/Agent a | CODE |
| MEDIUM⚡ | docs/community_growth_20k.md | 303 | | `run-llama/llama_index#21958` FunASR endpoint reader | Puts FunASR behind a LlamaIndex reader for OpenAI-compatible tr | CODE |
| MEDIUM⚡ | docs/community_growth_20k.md | 312 | | `getpaseo/paseo#313` FunASR streaming STT provider | Adds a standalone FunASR/SenseVoice server and streaming dictatio | CODE |
| MEDIUM⚡ | docs/community_growth_20k.md | 314 | | `getpaseo/paseo#2044` SenseVoice, Paraformer, and multilingual Kokoro local speech models | Makes Chinese and multilin | CODE |
| MEDIUM⚡ | docs/community_growth_20k.md | 315 | | `infiniflow/ragflow#16473` FunASR / SenseVoice STT provider | Adds FunASR to a high-star RAG workflow product where lo | CODE |
| MEDIUM⚡ | docs/community_growth_20k.md | 316 | | `infiniflow/ragflow#16844` Fun-ASR-Flash Tongyi-Qianwen provider | Places the hosted Fun-ASR-Flash model in an 84k-sta | CODE |
| MEDIUM⚡ | docs/community_growth_20k.md | 323 | | `omnigent-ai/omnigent#2093` server-side streaming dictation | Opens a model-agnostic dictation backend in a multi-agen | CODE |
| MEDIUM | examples/openai_api/WORKFLOWS.md | 191 | ## Production guardrails | COMMENT |
| MEDIUM | funasr/models/sense_voice/whisper_lib/transcribe.py | 396 | # skip silence before possible hallucinations | COMMENT |
| MEDIUM⚡ | funasr/models/sense_voice/whisper_lib/transcribe.py | 408 | # if first segment might be a hallucination, skip leading silence | COMMENT |
| MEDIUM⚡ | funasr/models/sense_voice/whisper_lib/transcribe.py | 416 | # skip silence before any possible hallucination that is surrounded | COMMENT |
| MEDIUM⚡ | funasr/models/sense_voice/whisper_lib/transcribe.py | 417 | # by silence or more hallucinations | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | runtime/onnxruntime/third_party/openfst/ltmain.sh | 623 | # Set func_arith_result to the result of evaluating TERMs. | COMMENT |
| LOW | runtime/onnxruntime/third_party/openfst/ltmain.sh | 647 | # Set func_basename_result to FILE with everything up to and including | COMMENT |
| LOW | runtime/onnxruntime/third_party/openfst/ltmain.sh | 813 | # Set func_len_result to the length of STRING. STRING may not | COMMENT |
| LOW | runtime/onnxruntime/third_party/openfst/ltmain.sh | 1031 | # Set func_relative_path_result to the relative path from SRCDIR to DSTDIR. | COMMENT |
| LOW | runtime/onnxruntime/third_party/openfst/ltmain.sh | 3911 | # Check if any of the arguments is a wrapper script. | COMMENT |
| LOW | runtime/onnxruntime/third_party/openfst/ltmain.sh | 9884 | # Loop over the list of objects to be linked. | COMMENT |
| LOW | …es/industrial_data_pretraining/fsmn_kws_mt/finetune.sh | 6 | # Set bash to 'debug' mode, it will exit on : | COMMENT |
| LOW | …strial_data_pretraining/sanm_kws_streaming/finetune.sh | 6 | # Set bash to 'debug' mode, it will exit on : | COMMENT |
| LOW | …mples/industrial_data_pretraining/sanm_kws/finetune.sh | 3 | # Set bash to 'debug' mode, it will exit on : | COMMENT |
| LOW | …/industrial_data_pretraining/fun_asr_nano/demo_vllm.py | 140 | # Print results | COMMENT |
| LOW | …mples/industrial_data_pretraining/fsmn_kws/finetune.sh | 6 | # Set bash to 'debug' mode, it will exit on : | COMMENT |
| LOW | examples/aishell/e_paraformer/run.sh | 34 | # Set bash to 'debug' mode, it will exit on : | COMMENT |
| LOW | examples/aishell/transformer/run.sh | 34 | # Set bash to 'debug' mode, it will exit on : | COMMENT |
| LOW | examples/aishell/branchformer/run.sh | 34 | # Set bash to 'debug' mode, it will exit on : | COMMENT |
| LOW | examples/aishell/conformer/run.sh | 34 | # Set bash to 'debug' mode, it will exit on : | COMMENT |
| LOW | examples/aishell/e_branchformer/run.sh | 34 | # Set bash to 'debug' mode, it will exit on : | COMMENT |
| LOW | examples/aishell/paraformer/run.sh | 34 | # Set bash to 'debug' mode, it will exit on : | COMMENT |
| LOW | examples/wenetspeech/conformer/run.sh | 34 | # Set bash to 'debug' mode, it will exit on : | COMMENT |
| LOW | funasr/bin/train.py | 79 | # Check if we are using DDP or FSDP | COMMENT |
| LOW | funasr/auto/auto_model_vllm.py | 122 | # Check if already prepared | COMMENT |
| LOW | funasr/utils/misc.py | 148 | # Check if the provided path exists | COMMENT |
| LOW | funasr/models/fun_asr_nano/inference_vllm.py | 82 | # Check if already prepared | COMMENT |
| LOW | funasr/models/lora/layers.py | 138 | fan_in_fan_out: bool = False, # Set this to True if the layer to replace stores weight like (fan_in, fan_out) | CODE |
| LOW | funasr/train_utils/average_nbest_models.py | 90 | # Check if we have any state_dicts to average | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | runtime/onnxruntime/third_party/openfst/ltmain.sh | 1402 | # This file is a library for parsing options in your shell scripts along | COMMENT |
| MEDIUM | runtime/onnxruntime/third_party/openfst/ltmain.sh | 2502 | # This function is only a basic sanity check; it will hardly flush out | COMMENT |
| MEDIUM | runtime/onnxruntime/third_party/openfst/ltmain.sh | 2512 | # This function implements the same check as func_lalib_p without | COMMENT |
| MEDIUM | runtime/onnxruntime/third_party/openfst/ltmain.sh | 2535 | # This function is only a basic sanity check; it will hardly flush out | COMMENT |
| MEDIUM | runtime/onnxruntime/third_party/openfst/ltmain.sh | 2545 | # This function is only a basic sanity check; it will hardly flush out | COMMENT |
| MEDIUM | runtime/onnxruntime/third_party/openfst/ltmain.sh | 2570 | # This function is only a basic sanity check; it will hardly flush out | COMMENT |
| MEDIUM | runtime/onnxruntime/third_party/openfst/ltmain.sh | 2710 | # Create a libtool object file (analogous to a ".la" file), | COMMENT |
| MEDIUM | runtime/onnxruntime/third_party/openfst/ltmain.sh | 7477 | # Create the object directory. | COMMENT |
| MEDIUM | runtime/onnxruntime/third_party/openfst/ltmain.sh | 10168 | # Create the old-style object. | COMMENT |
| MEDIUM | runtime/onnxruntime/third_party/openfst/ltmain.sh | 10188 | # Create an invalid libtool object if no PIC, so that we don't | COMMENT |
| MEDIUM | funasr/frontends/eend_ola_feature.py | 4 | # This module is for computing audio features | COMMENT |
| MEDIUM | funasr/datasets/audio_datasets/samplers.py | 569 | # Create an instance of the DistributedSampler | COMMENT |
| MEDIUM | funasr/models/eend/utils/feature.py | 4 | # This module is for computing audio features | COMMENT |
| MEDIUM | funasr/models/sond/encoder/ecapa_tdnn_encoder.py | 457 | """This class implements an attentive statistic pooling layer for each channel. | STRING |
| MEDIUM | funasr/models/mossformer/mossformer_encoder.py | 303 | """This class implements the transformer encoder. | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …s/public/static/liveplayer/liveplayer-component.min.js | 1 | !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.am | CODE |
| LOW | …e/legacy/static/liveplayer/liveplayer-component.min.js | 1 | !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.am | CODE |
| LOW | tests/test_trainer_ds_unvalidated_ckpt.py | 34 | f.write("placeholder") | CODE |
| LOW⚡ | …ples/industrial_data_pretraining/fun_asr_nano/model.py | 435 | fake_token = [0] * fake_token_len_i | CODE |
| LOW⚡ | …ples/industrial_data_pretraining/fun_asr_nano/model.py | 437 | source_ids += fake_token | CODE |
| LOW⚡ | …ples/industrial_data_pretraining/fun_asr_nano/model.py | 438 | fbank_mask_i += [1] * len(fake_token) | CODE |
| LOW | examples/langchain/README.md | 47 | ("placeholder", "{agent_scratchpad}"), | CODE |
| LOW | examples/mcp_server/server.json | 30 | "placeholder": "/path/to/audio" | CODE |
| LOW⚡ | funasr/datasets/openai_datasets/datasets.py | 454 | fake_token = [0] * fake_token_len_i | CODE |
| LOW⚡ | funasr/datasets/openai_datasets/datasets.py | 456 | source_ids += fake_token | CODE |
| LOW⚡ | funasr/datasets/openai_datasets/datasets.py | 457 | fbank_mask_i += [1] * len(fake_token) | CODE |
| LOW | funasr/datasets/fun_asr_datasets/datasets.py | 257 | fake_token = [0] * fake_token_len_i | CODE |
| LOW | funasr/datasets/fun_asr_datasets/datasets.py | 259 | source_ids += fake_token | CODE |
| LOW⚡ | funasr/models/fun_asr_nano/model.py | 581 | fake_token = [0] * fake_token_len_i | CODE |
| LOW⚡ | funasr/models/fun_asr_nano/model.py | 583 | source_ids += fake_token | CODE |
| LOW⚡ | funasr/models/fun_asr_nano/model.py | 584 | fbank_mask_i += [1] * len(fake_token) | CODE |
| LOW⚡ | funasr/models/llm_asr/model.py | 1379 | fake_token = [0] * fake_token_len_i | CODE |
| LOW⚡ | funasr/models/llm_asr/model.py | 1381 | source_ids += fake_token | CODE |
| LOW⚡ | funasr/models/llm_asr/model.py | 1382 | fbank_mask_i += [1] * len(fake_token) | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | funasr/models/fun_asr_nano/inference_vllm.py | 204 | # Step 1: Prepare LLM weights for vLLM (extract from model.pt if needed) | COMMENT |
| LOW⚡ | funasr/models/fun_asr_nano/inference_vllm.py | 207 | # Step 2: Load audio components (encoder + adaptor + frontend) | COMMENT |
| LOW⚡ | funasr/models/fun_asr_nano/inference_vllm.py | 210 | # Step 3: Initialize vLLM engine | COMMENT |
| LOW | funasr/models/fun_asr_nano/inference_vllm.py | 228 | # Step 4: Get tokenizer and LLM embedding layer | COMMENT |
| LOW | funasr/models/fun_asr_nano/inference_vllm_pipeline.py | 177 | # Step 1: VAD | COMMENT |
| LOW⚡ | funasr/models/fun_asr_nano/inference_vllm_pipeline.py | 190 | # Step 2: Slice audio by VAD segments and encode | COMMENT |
| LOW⚡ | funasr/models/fun_asr_nano/inference_vllm_pipeline.py | 198 | # Step 3: Batch ASR via vLLM | COMMENT |
| LOW | funasr/models/fun_asr_nano/inference_vllm_pipeline.py | 247 | # Step 4: Speaker embeddings (if spk_model configured) | COMMENT |
| LOW | funasr/models/fun_asr_nano/inference_vllm_pipeline.py | 268 | # Step 5: Combine results | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | funasr/models/fun_asr_nano/inference_vllm.py | 204 | # Step 1: Prepare LLM weights for vLLM (extract from model.pt if needed) | COMMENT |
| LOW⚡ | funasr/models/fun_asr_nano/inference_vllm.py | 207 | # Step 2: Load audio components (encoder + adaptor + frontend) | COMMENT |
| LOW⚡ | funasr/models/fun_asr_nano/inference_vllm.py | 210 | # Step 3: Initialize vLLM engine | COMMENT |
| LOW | funasr/models/fun_asr_nano/inference_vllm.py | 228 | # Step 4: Get tokenizer and LLM embedding layer | COMMENT |
| LOW | funasr/models/fun_asr_nano/inference_vllm_pipeline.py | 177 | # Step 1: VAD | COMMENT |
| LOW⚡ | funasr/models/fun_asr_nano/inference_vllm_pipeline.py | 190 | # Step 2: Slice audio by VAD segments and encode | COMMENT |
| LOW⚡ | funasr/models/fun_asr_nano/inference_vllm_pipeline.py | 198 | # Step 3: Batch ASR via vLLM | COMMENT |
| LOW | funasr/models/fun_asr_nano/inference_vllm_pipeline.py | 247 | # Step 4: Speaker embeddings (if spk_model configured) | COMMENT |
| LOW | funasr/models/fun_asr_nano/inference_vllm_pipeline.py | 268 | # Step 5: Combine results | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | examples/openai_api/server.py | 29 | logger = logging.getLogger(__name__) | CODE |
| LOW | …industrial_data_pretraining/fun_asr_nano/serve_vllm.py | 33 | logger = logging.getLogger(__name__) | CODE |
| LOW | scripts/update_release_runtime_downloads.py | 347 | def update_release(repository: str, python_tag: str, runtime_tag: str | None) -> None: | CODE |
| LOW | funasr/__init__.py | 107 | __all__ = ["AutoModel", "AutoFrontend", "__version__", "get_import_errors", "get_import_error_tracebacks"] | CODE |
| LOW | funasr/bin/realtime_ws.py | 38 | logger = logging.getLogger(__name__) | CODE |
| LOW | funasr/auto/auto_model_vllm.py | 51 | logger = logging.getLogger(__name__) | CODE |
| LOW | funasr/utils/amp.py | 211 | __all__ = ["autocast", "GradScaler", "resolve_amp_device_type"] | CODE |
| LOW | funasr/models/emotion2vec/model.py | 24 | logger = logging.getLogger(__name__) | CODE |
| LOW | funasr/models/emotion2vec/base.py | 22 | logger = logging.getLogger(__name__) | CODE |
| LOW | funasr/models/glm_asr/inference_vllm.py | 26 | logger = logging.getLogger(__name__) | CODE |
| LOW | funasr/models/moss_transcribe_diarize/__init__.py | 5 | __all__ = ["MossTranscribeDiarize"] | CODE |
| LOW | funasr/models/fun_asr_nano/inference_vllm.py | 38 | logger = logging.getLogger(__name__) | CODE |
| LOW | funasr/models/fun_asr_nano/inference_vllm_pipeline.py | 35 | logger = logging.getLogger(__name__) | CODE |
| LOW | funasr/models/fun_asr_nano/inference_vllm_streaming.py | 28 | logger = logging.getLogger(__name__) | CODE |
| LOW | funasr/models/transducer/rnnt_decoder.py | 192 | def set_device(self, device: torch.device) -> None: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | runtime/onnxruntime/third_party/openfst/ltmain.sh | 331 | # Sed substitution that helps us do robust quoting. It backslashifies | COMMENT |
| MEDIUM | runtime/onnxruntime/third_party/openfst/ltmain.sh | 5227 | # Sed substitution that helps us do robust quoting. It backslashifies | COMMENT |
| MEDIUM | runtime/onnxruntime/third_party/openfst/ltmain.sh | 9183 | # This code stresses the "libraries are programs" paradigm to its | COMMENT |
| LOW | …runtime/third_party/kaldi/fstext/grammar-context-fst.h | 107 | #nonterm_bos in the phones.txt file. You can just set this | COMMENT |
| LOW | …runtime/third_party/kaldi/fstext/grammar-context-fst.h | 160 | #nonterm_bos in the phones.txt file. You can just set this to | COMMENT |
| MEDIUM | tests_models/test_glm_asr.py | 2 | """Test GLM-ASR: robust multi-language speech recognition""" | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | runtime/python/utils/split_scp.pl | 37 | # Note that you can use this script to split the utt2spk file itself, | COMMENT |
| MEDIUM | examples/aishell/e_paraformer/utils/split_scp.pl | 37 | # Note that you can use this script to split the utt2spk file itself, | COMMENT |
| MEDIUM | examples/aishell/paraformer/utils/split_scp.pl | 37 | # Note that you can use this script to split the utt2spk file itself, | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …_processing/inverse_text_normalization/run_evaluate.py | 41 | # Example usage: | COMMENT |
| LOW | fun_text_processing/text_normalization/run_evaluate.py | 45 | # Example usage: | COMMENT |
| LOW | …me/onnxruntime/third_party/glog/src/glog/raw_logging.h | 60 | // Usage example: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/test_api_signatures.py | 35 | def helper(value=explode(), *, required, optional=None): | CODE |
| LOW | tests/test_generated_api_docs.py | 23 | def helper(value): | CODE |
| LOW | examples/mcp_server/funasr_mcp.py | 110 | def handle_request(request): | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | funasr/models/emotion2vec/modules.py | 76 | # TODO: consider using padding_mask as input | COMMENT |
| LOW | funasr/models/sond/encoder/resnet34_encoder.py | 223 | # TODO: implement kernel_regularizer in torch with munal loss addition or weigth_decay in the optimizer | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | funasr/models/sense_voice/model.py | 1131 | CODE |