Open-source speech recognition toolkit for training, inference, streaming ASR, VAD, punctuation, speaker diarization pipelines, and OpenAI-compatible/MCP serving.
Python asraudiochineseemotion-recognitionfunasrmcp-servermultilingual-asropenai-compatible-apiparaformerpunctuationpytorchreal-time-asrspeaker-diarizationspeech-recognitionspeech-to-textstreaming-asrtranscriptionvllmvoice-activity-detectionwhisper-alternative
docs: correct 1.4.18 cross-script hotword scope
zhifu gao191e577d577b
diff --git a/README.md b/README.mdindex 76d688643..c1a20b293 100644--- a/README.md+++ b/README.md@@ -364,7 +364,7 @@ recordings with the same evaluation scope.## What's new- **MOSS-Transcribe-Diarize** brings long-form ASR, timestamps, and anonymous speaker labels to FunASR services, Docker, Kubernetes, vLLM/SGLang workflows, and FunClip. [Deploy MOSS ->](./docs/moss_transcribe_diarize.md)-- **FunASR 1.4.18** fixes local hotword-file loading, filtered-token timestamp alignment, and Chinese VAD sentence/speaker drift. Install with `python -m pip install -U "funasr==1.4.18"`. [Release and verification scope ->](https://github.com/modelscope/FunASR/releases/tag/v1.4.18)+- **FunASR 1.4.18** fixes cross-script hotword misreplacement, filtered-token timestamp alignment, and Chinese VAD sentence/speaker drift. Install with `python -m pip install -U "funasr==1.4.18"`. [Release and verification scope ->](https://github.com/modelscope/FunASR/releases/tag/v1.4.18)**Previous release: FunASR 1.4.17** adds explicit PCM16 input and improves timestamp, hotword, speaker-sample-rate, and long-segment streaming handling. [Release and verification scope ->](https://github.com/modelscope/FunASR/releases/tag/v1.4.17)**Earlier release: FunASR 1.4.16** preserves explicit VAD, punctuation, and speaker-model device placement across inference calls, and adds tested native Transformers adoption guides. [Release and verification scope ->](https://github.com/modelscope/FunASR/releases/tag/v1.4.16)- **Native Transformers:** Released **5.17.0** supports Fun-ASR-Nano with the official `-hf` checkpoint, CPU examples and a notebook. [Get started ->](./docs/transformers_native.md)diff --git a/README_ja.md b/README_ja.mdindex efd9bd3a2..6defef34f 100644--- a/README_ja.md+++ b/README_ja.md@@ -112,7 +112,7 @@ CER/WER をそろえて比較してください。オフラインのスループ## 最新情報- **MOSS-Transcribe-Diarize** を FunASR service、Docker、Kubernetes、vLLM/SGLang workflow、FunClip に統合し、長時間 ASR、timestamp、匿名 speaker label を一度に処理できます。[MOSS をデプロイ ->](./docs/moss_transcribe_diarize.md)-- **FunASR 1.4.18** はローカル hotword ファイルの読み込み、特殊 token 除去後の timestamp 対応、中国語 VAD 分割での文と話者のずれを修正します。`python -m pip install -U "funasr==1.4.18"` でインストールできます。[リリースと検証範囲 ->](https://github.com/modelscope/FunASR/releases/tag/v1.4.18)+- **FunASR 1.4.18** は中国語とラテン文字が混在する hotword の誤置換、特殊 token 除去後の timestamp 対応、中国語 VAD 分割での文と話者のずれを修正します。`python -m pip install -U "funasr==1.4.18"` でインストールできます。[リリースと検証範囲 ->](https://github.com/modelscope/FunASR/releases/tag/v1.4.18)前のリリース **FunASR 1.4.17** は明示的な PCM16 入力を追加し、timestamp、hotword、speaker sample rate、長い segment の streaming 処理を改善しました。[リリースと検証範囲 ->](https://github.com/modelscope/FunASR/releases/tag/v1.4.17)以前のリリース **FunASR 1.4.16** は複数回の推論でも VAD、句読点、話者モデルの明示的な device 配置を保持し、テスト済みのネイティブ Transformers 導入ガイドを追加しました。[リリースと検証範囲 ->](https://github.com/modelscope/FunASR/releases/tag/v1.4.16)- **ネイティブ Transformers:** 正式版 **5.17.0** が Fun-ASR-Nano に対応。公式 `-hf` checkpoint、CPU サンプル、Notebook:[導入ガイド(英語) ->](./docs/transformers_native.md)diff --git a/README_ko.md b/README_ko.mdindex 009fd2d0a..b3ebff301 100644--- a/README_ko.md+++ b/README_ko.md@@ -111,7 +111,7 @@ checkpoint/revision, 오디오 집합, 하드웨어, 배치, 워밍업, 측정## 최신 소식- **MOSS-Transcribe-Diarize**를 FunASR service, Docker, Kubernetes, vLLM/SGLang workflow, FunClip에 통합해 긴 오디오 ASR, timestamp, 익명 speaker label을 한 번에 처리합니다. [MOSS 배포 ->](./docs/moss_transcribe_diarize.md)-- **FunASR 1.4.18**은 로컬 hotword 파일 읽기, 특수 token 제거 후 timestamp 정렬, 중국어 VAD 분할의 문장 및 화자 불일치를 수정합니다. `python -m pip install -U "funasr==1.4.18"`로 설치할 수 있습니다. [릴리스 및 검증 범위 ->](https://github.com/modelscope/FunASR/releases/tag/v1.4.18)+- **FunASR 1.4.18**은 중국어와 라틴 문자가 섞인 hotword의 잘못된 치환, 특수 token 제거 후 timestamp 정렬, 중국어 VAD 분할의 문장 및 화자 불일치를 수정합니다. `python -m pip install -U "funasr==1.4.18"`로 설치할 수 있습니다. [릴리스 및 검증 범위 ->](https://github.com/modelscope/FunASR/releases/tag/v1.4.18)이전 릴리스 **FunASR 1.4.17**은 명시적 PCM16 입력을 추가하고 timestamp, hotword, speaker sample rate, 긴 segment의 streaming 처리를 개선했습니다. [릴리스 및 검증 범위 ->](https://github.com/modelscope/FunASR/releases/tag/v1.4.17)그 이전 릴리스 **FunASR 1.4.16**은 여러 번의 추론에서도 VAD, 문장 부호, 화자 모델의 명시적 device 배치를 유지하고 검증된 네이티브 Transformers 도입 가이드를 추가했습니다. [릴리스 및 검증 범위 ->](https://github.com/modelscope/FunASR/releases/tag/v1.4.16)- **네이티브 Transformers:** 정식 버전 **5.17.0**이 Fun-ASR-Nano를 지원합니다. 공식 `-hf` checkpoint, CPU 예제, Notebook: [설치 가이드(영문) ->](./docs/transformers_native.md)diff --git a/README_zh.md b/README_zh.mdindex 7ddf32b93..53af3bed2 100644--- a/README_zh.md+++ b/README_zh.md@@ -157,7 +157,7 @@ checkpoint/revision、音频集、硬件、批量大小、预热、计时范围## 最新动态- **MOSS-Transcribe-Diarize** 已接入 FunASR 服务、Docker、Kubernetes、vLLM/SGLang 工作流和 FunClip,一次完成长音频转写、时间戳与匿名说话人标注。[部署 MOSS ->](./docs/moss_transcribe_diarize_zh.md)-- **FunASR 1.4.18** 修复本地热词文件读取、过滤特殊符号后的时间戳对齐,以及中文 VAD 分段的句子与说话人错位。安装:`python -m pip install -U "funasr==1.4.18"`。[发布说明与验证范围 ->](https://github.com/modelscope/FunASR/releases/tag/v1.4.18)+- **FunASR 1.4.18** 修复跨中英文热词误替换、过滤特殊符号后的时间戳对齐,以及中文 VAD 分段的句子与说话人错位。安装:`python -m pip install -U "funasr==1.4.18"`。[发布说明与验证范围 ->](https://github.com/modelscope/FunASR/releases/tag/v1.4.18)**上一版本:FunASR 1.4.17** 新增显式 PCM16 输入,改进时间戳、热词、说话人采样率与长片段流式处理。[发布说明与验证范围 ->](https://github.com/modelscope/FunASR/releases/tag/v1.4.17)**更早版本:FunASR 1.4.16** 修复 VAD、标点和说话人子模型在多次推理时的显式设备放置,并新增经过测试的原生 Transformers 使用指南。[发布说明与验证范围 ->](https://github.com/modelscope/FunASR/releases/tag/v1.4.16)- **原生 Transformers:** 正式版 **5.17.0** 已支持 Fun-ASR-Nano。官方 `-hf` 权重、CPU 示例与 Notebook:[安装与推理 ->](./docs/transformers_native_zh.md)diff --git a/tests/test_release_version_contract.py b/tests/test_release_version_contract.pyindex 985ace50a..91c5f2739 100644--- a/tests/test_release_version_contract.py+++ b/tests/test_release_version_contract.py@@ -1,5 +1,7 @@from pathlib import Path+import pytest+ROOT = Path(__file__).resolve().parents[1]RELEASE_VERSION = "1.4.18"@@ -7,6 +9,20 @@ README_FILES = ("README.md", "README_zh.md", "README_ja.md", "README_ko.md")REPOSITORY_ROLE_FILES = ("docs/repository_roles.md", "docs/repository_roles_zh.md")[email protected]("name,expected,incorrect", [+ ("README.md", "cross-script hotword misreplacement", "hotword-file loading"),+ ("README_zh.md", "\u8de8\u4e2d\u82f1\u6587\u70ed\u8bcd\u8bef\u66ff\u6362", "\u70ed\u8bcd\u6587\u4ef6\u8bfb\u53d6"),+ ("README_ja.md", "\u4e2d\u56fd\u8a9e\u3068\u30e9\u30c6\u30f3\u6587\u5b57\u304c\u6df7\u5728\u3059\u308b hotword \u306e\u8aa4\u7f6e\u63db", "hotword \u30d5\u30a1\u30a4\u30eb\u306e\u8aad\u307f\u8fbc\u307f"),+ ("README_ko.md", "\uc911\uad6d\uc5b4\uc640 \ub77c\ud2f4 \ubb38\uc790\uac00 \uc11e\uc778 hotword\uc758 \uc798\ubabb\ub41c \uce58\ud658", "hotword \ud30c\uc77c \uc77d\uae30"),+])+def test_release_hotword_summary_matches_cross_script_fix(name, expected, incorrect):+ lines = (ROOT / name).read_text(encoding="utf-8").splitlines()+ summaries = [line for line in lines if f"**FunASR {RELEASE_VERSION}**" in line]+ assert len(summaries) == 1+ assert expected in summaries[0]+ assert incorrect not in summaries[0]++def test_release_version_uses_required_carry_rule():version = (ROOT / "funasr" / "version.txt").read_text(encoding="utf-8").strip()parts = version.split(".")