rime / librime

Rime Input Method Engine, the core library
https://rime.im
BSD 3-Clause "New" or "Revised" License
3.37k stars 551 forks source link

候选词中出现大量(notocjk无字体的)生僻字,常用字位于十几页外 #682

Closed bcegkmqs23 closed 1 year ago

bcegkmqs23 commented 1 year ago

Describe the bug 候选词中出现大量生僻字,许多是位于CJK扩展区的,我电脑上的noto-cjk都没有字体,只能显示一个方框。

To Reproduce (以下内容是清除userdb后重新生成后测试的)

以zhushou为例,前5候选词分别为:

以hexie为例,前5候选词分别为:

Expected behavior 希望输入「助手」「驻守」、「和谐」

Log INFO: stabledb 'custom_phrase' does not exist. custom_phrase made a futile translation.(仅在 sort: by_weight 下出现) 其余log似乎无关,如有需要我可完整提供。

Screenshots 难以想像这是第一页候选词: Screenshot_20230803_181640

Flavor(please complete the following information): Select your flavor:

Package:

Additional context 这难道是正常行为吗?同一台电脑上的 Windows 装的Weasel 没有这个问题,一些其他输入方案如 japanese xsampa 没有问题。如果为dict设置 sort: original 就没有那么多生僻字,但是用起来不方便。

eagleoflqj commented 1 year ago

部署前没装essay.txt吧,没装就是一堆生僻字在前面 https://github.com/rime/rime-essay

bcegkmqs23 commented 1 year ago

你说的对。 本次安装时我的rime-data的gentoo use里漏掉了这一项,加上我过去未意识到essay的作用(应该是因为gentoo上旧版本的fcitx-rime包默认带有了这个),导致了此次乌龙。

bcegkmqs23 commented 1 year ago

这确实不是BUG,可移除bug标签了。