Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

如何停用個別單字繁簡轉換? #133

Closed
lotc opened this issue Sep 6, 2021 · 3 comments
Closed

如何停用個別單字繁簡轉換? #133

lotc opened this issue Sep 6, 2021 · 3 comments

Comments

@lotc
Copy link

lotc commented Sep 6, 2021

你好,我想問下有冇方法可以唔轉換某啲單字嘅簡體?
比如「係」字
例如書面語「我是陳小明,我在中大讀中文系。」
正體會寫成「我係陳小明,我喺中大讀中文系。」
但係簡體情況下,第一個「係」會變成「系」。
請問有冇方法可以停用某啲字嘅繁簡轉換呢?

查咗一下simplifier 下嘅有 excluded_types 呢個參數,但係寫得唔夠清楚,可否給出一個範例?
謝謝!

@laubonghaudoi
Copy link
Member

laubonghaudoi commented Sep 6, 2021

簡化字方案入面本身就冇「係喺繫」字,所以要打「係喺繫」只能夠切換返繁體字打(所以我哋唔推薦用簡化字打粵文)。用excluded_types限定轉化我未試過,要問下 @ayaka14732 更加熟悉啲。而且呢個問題嚴格嚟講唔屬於 rime-cantonese 嘅內容,最好去 rime 度問

@ayaka14732
Copy link
Collaborator

簡化字嘅規範係《通用規範漢字表》,可以睇到簡化字冇「係」字,「係」簡化作「系」,所以「系」係啱嘅

excluded_types 我都唔熟

@lotc
Copy link
Author

lotc commented Sep 7, 2021

@laubonghaudoi 暫時用修改 TPCharacters.txt 嘅方法。
@ayaka14732 原來係咁嘅。多謝指正!

@lotc lotc closed this as completed Sep 7, 2021
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

No branches or pull requests

3 participants