Skip to content

dict: Remove incorrect 念佛 → 唸佛 conversion in s2t#1123

Merged
frankslin merged 2 commits intomasterfrom
copilot/remove-nian-fo-to-nian-fo-replace
Apr 17, 2026
Merged

dict: Remove incorrect 念佛 → 唸佛 conversion in s2t#1123
frankslin merged 2 commits intomasterfrom
copilot/remove-nian-fo-to-nian-fo-replace

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 17, 2026

STPhrases.txt was converting 念佛 → 唸佛 during simplified-to-traditional conversion. This is semantically wrong: 念佛 (to contemplate/meditate on Buddha) is the historically correct traditional form, attested in classical Buddhist texts such as 菩薩念佛三昧經. 唸佛 specifically implies oral recitation and is a narrower, distinct term.

Changes

  • data/dictionary/STPhrases.txt: Remove 念佛 → 唸佛 phrase entry. Without this override, character-level lookup falls back to 念 → 念 (the default/first traditional form in STCharacters.txt), preserving 念佛 as-is.
  • test/testcases/testcases.json: Add regression test BYVoid_OpenCC_Issue_1001_nian_fo asserting 念佛 remains 念佛 across s2t, s2tw, s2twp, and s2hk.

Copilot AI changed the title [WIP] Fix replacement of 念佛 with 唸佛 in dictionary dict: Remove incorrect 念佛 → 唸佛 conversion in s2t Apr 17, 2026
Copilot AI requested a review from frankslin April 17, 2026 05:56
@BYVoid BYVoid marked this pull request as ready for review April 17, 2026 19:43
@frankslin frankslin merged commit 56d3517 into master Apr 17, 2026
33 checks passed
@frankslin frankslin deleted the copilot/remove-nian-fo-to-nian-fo-replace branch April 17, 2026 20:28
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.

簡體轉繁體,念佛 不能簡單轉為 唸佛

3 participants