Conversation
Agent-Logs-Url: https://github.com/BYVoid/OpenCC/sessions/4a50dbe3-4915-4003-ad6f-4921af69b370 Co-authored-by: frankslin <748873+frankslin@users.noreply.github.com>
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: b60846935d
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Agent-Logs-Url: https://github.com/BYVoid/OpenCC/sessions/7e978db1-abe0-43cc-9201-2b95a35d2e7f Co-authored-by: frankslin <748873+frankslin@users.noreply.github.com>
|
在繁体语境中,「公元」是「理解但不常用」的词。台湾政府、学术和商业文本大部分是写「西元」。同时 MediaWiki 在转换台灣正體时,也将「公元」替换为「西元」。因此本次 PR 只适配了 s2twp 和 tw2sp 的模式。 不过注意到 MediaWiki 的 ZhConversion.php 中转换是这样匹配的:
或许直接转「公元」一词会覆盖比预期更广泛的文本内容。 我的想法是不妨先试试下面这样转,发现特定问题再做调整:
|
85e1057 to
c07006e
Compare
公元 西元toTWPhrases.txtand sort it西元 公元toTWPhrasesRev.txtfor reverse mapping (tw2sp)data/scripts/sort.py⌨️ Start Copilot coding agent tasks without leaving your editor — available in VS Code, Visual Studio, JetBrains IDEs and Eclipse.