Repository navigation
v0.1.23 — 转写人员备注、合并与声纹库选择
转写人员编辑
- 重命名说话人支持可选备注,也可从声纹库选择已有人员,自动填入姓名、备注后继续编辑。姓名完整保留,备注最多 20 个规范化字符;无备注人员会清空原备注。
- 自动声纹匹配允许多个识别簇匹配同一人员。自动结果与手动保存合并任务内规范化姓名、备注相同的说话人,同名不同备注保持独立。
- 合并保留结果列表中第一个说话人 ID,更新段落和字词引用,保留段落 ID、顺序、文字、时间戳与播放音频。保存同步更新 JSON/TXT/SRT/VTT 导出;失败可重试并回滚。
- 人员选择具有加载、错误、重试及空状态;手动输入始终可用。保留姓名初始焦点及弹窗关闭后的焦点返回,覆盖桌面和 390 px 移动端。
- 更新中英文 README、架构、API、升级与排障说明,双语
/docs、OpenAPI 和可执行示例保持一致。API 契约
升级与兼容性
- 从 v0.1.21 升级:无自动数据迁移,无需额外升级备份。 更早版本须合并阅读升级说明中间版本的要求。
- 历史任务只在显式保存时合并,修改该任务的结果与
jobs/<job_id>/output/transcript.{json,txt,srt,vtt}已选格式的导出。库内人员、既有样本和其他任务保留快照。 - API 客户端须使用保存响应中的说话人 ID;合并移除的 ID 返回 404。备注省略保留,null 或空白清除。结果新增可选
speakers[].name和note,旧结果继续兼容。 - PDF 解析依赖固定为 pypdf 6.19.0,前端间接依赖 source-map-js 更新至 1.2.2,修复依赖审计报告的公告。模型、推理运行时、默认精度及 SQLite schema v11 不变。
- 运行
./service.sh setup api或 Windowsservice.cmd setup api更新 API 依赖和前端,之后刷新 API、ASR/TTS supervisor 与 executor。 - v0.1.22 的标签与内置版本不一致,Linux、Windows 标签检查失败,未创建 Release;原标签保留作为审计记录。v0.1.23 使用新的功能提交与一致的前后端版本。
验证
- 本机后端:383 passed、16 环境相关 skipped;干净候选的文档/API/说话人/版本契约:45 passed。
- 本机完整浏览器:113 passed、5 环境相关 skipped;包含人员选择、合并、长姓名、清空备注、失败重试、库刷新、键盘焦点及桌面/390 px 检查。
- 类型、i18n、生产构建、跨平台依赖锁、API 与前端依赖审计通过。API 指南两个说话人示例已在隔离 mock 服务执行。
- 已完成真实 GPU ASR 验证:同一人员的两个匹配簇合并为一人;同名不同备注的两个人员保持独立。该验证覆盖已改动的匹配与合并行为,不代表所有录音的识别准确率保证。
English
Completed ASR results support optional speaker notes and editable voiceprint-library selection. Automatic matches and manual saves merge task-local speakers with the same normalized name and note, preserving distinct notes, segment IDs, order, text, timing and playback audio. Names are retained in full; notes allow up to 20 normalized characters. Exports update with the result, and save failures retain the draft for retry.
Upgrading from v0.1.21 requires no automatic data migration or additional upgrade backup. Historical tasks change only through explicit speaker edits. Library selections copy snapshots and do not bind tasks to later library changes. API clients must use surviving IDs returned by the save; omitted notes are preserved, while null or blank clears them. Legacy results remain readable without the new optional name/note fields.
Dependency audits pass with pypdf 6.19.0 and transitive source-map-js 1.2.2. Run setup api to synchronize dependencies and rebuild the UI, then refresh all service processes. Model/runtime pins, precision and schema v11 remain unchanged. The failed v0.1.22 tag remains without a Release; this release includes the new feature commit and consistent version metadata.
CI 与提交 / CI and commit
Commit: c74d1cb8e0341d6bdd6cda38c0c37cc4933c7863