fix(tts): 修复 Kokoro 英文音色的数字朗读 - #458
Merged
buxuku merged 1 commit intoSep 5, 2026
Merged
Conversation
buxuku
approved these changes
Sep 5, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
变更内容
原因与兼容说明
ruleFsts配置作用于整个OfflineTts模型,而不是单个 sid;此前 SmartSub 会为全部 Kokoro 音色加载中文规则,导致英文音色可能把1读成 “yi”,并把90%错读为类似 “cent” 的内容验证
npm run test:dubbing:179/1791. The project is 90% complete.A/B 验证:1识别为Lee/E/Yee,并将90%识别为CO sent/cent等错误结果One/1和90% complete尚未覆盖
npx tsc --noEmit仍受主线已有的文档依赖、路径别名和旧类型错误影响;本次改动已由专项测试与格式检查覆盖部分解决 #426