Conversation
1. 新增了共享文本处理层 TextProcessing.swift (line 1),统一了简体中文脚本相关规则:CJK 分词、中文括注识别、全角转半角规范化,以及常见语气词的前导跳过策略。 2. 在 SpeechRecognizer.swift (line 102) 里接入了这套规则。现在中文跟读会更偏向中文 token 匹配,并对 嗯 / 呃 / 额 / 那个 / 就是 / 然后 / 这个 / 啊 / 吧 / 嘛 这类口头填充词做保守容错,同时收紧了 CJK 的模糊匹配,避免单字误判推进。 3. 在 MarqueeTextView.swift (line 12) 里把 cue/token 语义切到共享规则上,中文括注如 【停顿】、〔看镜头〕、(微笑) 会被当成单个提示 token,而不是拆散成普通正文。 4. 在 HighlightingTextEditor.swift (line 96) 里补了中文括注高亮规则,编辑态和 teleprompter 展示态的 cue 语义现在一致。 5. 在 BrowserServer.swift (line 421) 里同步了中文括注与中文标点分类逻辑,远程浏览器镜像不会再把这类中文 cue 当成普通正文字符。
1.增加应用界面语言切换,支持 System Default、English、简体中文 三个选项。 2.原生 SwiftUI 界面在切换后立即刷新;AppKit 菜单/系统弹窗在下一次显示时使用新语言; 3.Remote Browser 与 Director Web UI 在页面刷新/重新打开后使用当前 App 语言。 4.不改变语音识别语言设置,Speech Language 继续独立控制。
|
希望支持简体中文 |
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.
简体中文支持