Skip to content

修正 #1282 相關簡繁轉換問題 - #1288

Merged
frankslin merged 3 commits into
BYVoid:masterfrom
danny0838:fix-st
Jun 7, 2026
Merged

frankslin merged 3 commits into
BYVoid:masterfrom
danny0838:fix-st

Conversation

@danny0838

@danny0838 danny0838 commented Jun 7, 2026 •

Copy link
Copy Markdown
Contributor

修正 #1282 過度引進或相關的簡繁轉換問題

  • 面麵:OpenCC 正體字取「麫」,修正誤輸出異體字「麵」的相關詞項。
  • 饮飮:OpenCC 正體字取「飲」,修正誤輸出異體字「飮」的相關詞項。
  • 着著:OpenCC 正體字二者皆取,修正誤將「着」輸出為「著」的相關詞項。
  • 鮎鯰:OpenCC 正體字取「鮎」,「鯰」須轉為「鮎」輸出(按:TWVariants 定義「鮎<=>鯰」,STCharacters 亦有「麺=>麪」)
  • 蔽庇:「蔽」、「庇」並非繁簡或異體字關係。傳統中文通常用「蔭蔽」(偏向遮蔽義)或「蔭庇」、「廕庇」(偏向庇護義),原則上不用「廕蔽」。中國大陸將「蔭」、「廕」簡化為「荫」,習慣用「荫蔽」、「荫庇」。

@danny0838

danny0838 commented Jun 7, 2026 •

Copy link
Copy Markdown
Contributor Author

其他問題:

鲶 鲇

「鲶」非《通規》字,中國大陸應該幾乎不用,也許可考慮移除相關詞「六须鲶=>六鬚鮎」?或者是其他「鲇」相關詞如「鲇鱼=>鮎魚」都加入相應的「鲶」版本?

@danny0838
danny0838 force-pushed the fix-st branch 2 times, most recently from 58ae05c to d410b26 Compare June 7, 2026 14:33

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: d410b26438

ℹ️ About Codex in GitHub

Codex has been enabled to automatically 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 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread test/testcases/testcases.json
Comment thread data/dictionary/STPhrases.txt Outdated
@frankslin

Copy link
Copy Markdown
Collaborator

其他几条我没有意见,但是这一个我想额外探讨一下:

鲶 鲇

「鲶」非《通規》字,中國大陸應該幾乎不用,也許可考慮移除相關詞「六须鲶=>六鬚鮎」?或者是其他「鲇」相關詞如「鲇鱼=>鮎魚」都加入相應的「鲶」版本?

你说的不错,「鯰」字在《通规》里没有提及;中国出版的字典认为「鯰」属于「鲇」的「表外异体字」,在中国大陆的规范字体系内不承认有「鲶」这个类推简化字。

image

不过,「鲶鱼」的使用早已深入简中用户人心。一些拼音输入法甚至默认把「鲶鱼」排在「鲇鱼」前面,简中网页「鲶鱼」用法非常普遍。

我的理解是,OpenCC 的「简体」侧并不是 zh-CN 的《通规》的规范字体系,而是现代简体中文实际使用体系(zh-Hans)。
所以建议继续保留「鯰 -> 鲶 鮎」,如果觉得有必要可在 STPhrases 这行上面写注释一下:

# 中國《通用規範漢字表》以「鲇」為規範字,但現代簡體中文實際使用中「鲶鱼」遠較常見,因此將「鯰 -> 鲶」作為預設轉換。
鯰<TAB>鲶 鮎

使用案例:

美国两个不同地方政府发布的简体中文页面
https://outdoornebraska.gov/zh-CN/learn/nebraska-wildlife/nebraska-fish/catfish/
https://dwr.zh-cn.virginia.gov/wildlife/information/blue-catfish/

纽约时报
https://cn.nytimes.com/culture/20190730/wod-catfish/

简体中文美食博主
https://www.youtube.com/watch?v=oCFS1_-hOgA
https://www.youtube.com/watch?v=tFEUTVg-dwE

查看中文维基「鯰」这个页面,它的不同语言版本甚至把 4 种组合都用了一遍:

@danny0838
danny0838 force-pushed the fix-st branch 2 times, most recently from c14297a to a08a8b4 Compare June 7, 2026 14:48
@danny0838

danny0838 commented Jun 7, 2026 •

Copy link
Copy Markdown
Contributor Author

瞭解,不過 OpenCC 標準既然取「鮎」為正體並把「鯰」併入「鮎」,就還是只輸出「鮎」,STPhrases「鲇」相關詞加上「鲶」作為相容。

至於 TS 由「鮎=>鲇」改為「鮎=>鲶」,畢竟是違反《通規》,我覺得需要再甄酌,目前暫且不處理。之後可視需要另開 PR。

@danny0838
danny0838 force-pushed the fix-st branch 2 times, most recently from f29c5aa to d5f5d3f Compare June 7, 2026 15:23

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: d5f5d3f644

ℹ️ About Codex in GitHub

Codex has been enabled to automatically 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 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread data/dictionary/TWPhrasesRev.txt Outdated
Comment thread data/dictionary/STCharacters.txt Outdated
@danny0838
danny0838 force-pushed the fix-st branch 2 times, most recently from 486f4e0 to b9aac64 Compare June 7, 2026 18:23

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: b9aac64ab8

ℹ️ About Codex in GitHub

Codex has been enabled to automatically 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 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread data/dictionary/TSPhrases.txt
@danny0838
danny0838 force-pushed the fix-st branch 2 times, most recently from 4517cd9 to f58e0bc Compare June 7, 2026 19:32

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: f58e0bcb33

ℹ️ About Codex in GitHub

Codex has been enabled to automatically 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 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread data/dictionary/STPhrases.txt
danny0838 added 3 commits June 8, 2026 03:41
- 着:OpenCC 正體取「着」「著」,修正不當互轉的相關詞項。
- 麵:OpenCC 正體取「麪」,修正誤輸出異體字「麵」的相關詞項。
- 飮:OpenCC 正體取「飲」,修正誤輸出異體字「飮」的相關詞項。
- 鯰:OpenCC 既有「鯰/鲶」「鮎/鲇」,修正不當互轉的相關詞項。
- 「蔽」、「庇」並非繁簡或異體字關係,不宜互轉
- 傳統中文通常用「蔭蔽」(偏向遮蔽義)或「蔭庇」、「廕庇」(偏向庇護義),原則上不用「廕蔽」
- 中國大陸將「蔭」、「廕」簡化為「荫」,習慣用「荫蔽」、「荫庇」
- 二字非簡化字或異體字關係。化學 Acyl group 台灣稱「醯基」,中國大陸習用「酰基」,屬地區詞轉換,亦已收錄於 TWPhrases 之中。
- 修正 谷氨酰胺(s) => 穀氨酰胺(t) => 麩醯胺酸(tw) 轉換

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 66933fbf56

ℹ️ About Codex in GitHub

Codex has been enabled to automatically 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 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread test/testcases/testcases.json
@frankslin
frankslin merged commit 3d33957 into BYVoid:master Jun 7, 2026
31 checks passed
@danny0838
danny0838 deleted the fix-st branch June 8, 2026 07:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants