-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
简体输入时emoji提示仍显示繁体 #199
Comments
試過你個 patch 但唔 work(直程打唔到字),有冇話要新版先 work 定係點? |
我自己用緊weasel 0.15.0.0,librime 1.11.2;頭先將patch發佈喺 https://github.com/russell-liu/rime-cantonese/tree/emoji-simplified-tips ,跟住再改埋個方案名發佈喺 https://github.com/russell-liu/rime-cantonese/tree/emoji-simplified-tips-renamed ,用 https://my-rime.vercel.app 測試咗(選擇Micro Plum,然後Schema URL填 |
你好,请问你觉得呢个issue仲使唔使开住?我见jyut6ping3最近改咗用emoji_cantonese,不过显唔显示提示嘅问题应该同用emoji定emoji_cantonese无关。但其实我觉得上面我𠮶个按繁简体显示提示嘅patch唔系一个适宜嘅解决方法,所以都唔系好需要考虑啦。 顺带一提,呢个repo嘅wiki入面嘅安装教程系咪都应该改为用emoji_cantonese而非emoji? |
@bingzheung 唔知你嗰個emoji有冇解決呢個問題 |
用呢度提到嘅方法一,熄咗提示。 |
@graphemecluster 最近嘅commit 0ce3764 修复咗繁简有差别时简体输入无法显示emoji嘅问题;呢个问题我最近都研究过,所以有以下提议:
目前修复后仲有一个小问题,就系简体输入时emoji提示仍显示繁体,如下图:
我觉得噉样有少少奇怪,谂到两个解决方法:
一,直程唔显示emoji旁嘅提示码。呢个系rime-emoji采用嘅解决方法(见: rime/rime-emoji@618b9a5#diff-12665968d8ab35203380b57e071c87fe524e5cb970388dc04ad87372662b94e2R13 ;呢个commit删去咗emoji列表入面嘅简体字),只需加
tips: none
同inherit_comment: false
。我觉得呢个方法嘅道理在于每个emoji候选项嘅前一个非emoji候选项其实等同佢嘅提示(如上图中1. 妈妈
提示2. 👩🏻️
),所以emoji隔嚟嘅提示码其实系多余嘅。二,用比较另类嘅方法强行使emoji旁嘅提示码简体输入时显示为简体。将simplifier@emoji_suggestion摆系filters最前意味住用
tips: all
会显示繁体提示码,而提示码又唔可以再进行简化;所以我利用simplifier嘅show_in_comment
功能,用多个simplifier「手动」产生简体提示码。噉样无可避免会产生重复嘅候选项,但好在用咗uniquifier就表面上冇分别。改动为:呢个改动嘅弊处在于:复杂、冗长、效率低(uniquify前产生重复嘅候选项,尤其喺一词配多emoji时情况严重)。但佢确实可以实现简体输入时简体提示。
我个人觉得采纳方法一合理啲,但既然思考时将方法二谂咗出嚟,都写埋出嚟畀大家考虑同参考。
The text was updated successfully, but these errors were encountered: