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

有计划支持联想功能吗 #50

Closed
fanple opened this issue Dec 11, 2015 · 5 comments
Closed

有计划支持联想功能吗 #50

fanple opened this issue Dec 11, 2015 · 5 comments

Comments

@fanple
Copy link

fanple commented Dec 11, 2015

比如输入“中”后,能联想到“中国”,“中间”,“中间商”...

要实现这个功能很复杂吗,后续有考虑添加吗

@ghost
Copy link

ghost commented Dec 12, 2015

很明显目前的方案是以码表中指定的权重定词序,不接着输入是没进一步提示的。可能的实现方法之一:按下指定快捷键切换查询相关词汇,重复快捷键还原到原有模式;或者直接提供另一种可配置的提示模式,固定生效,且仅提示有限数量的词汇以免影响查询单字。

既然你都跑到 rime/librime#65 去问了……

@fanple
Copy link
Author

fanple commented Dec 12, 2015

谢谢回复,我的意思是在输完一个字并返回后,如比“中”字己经输出了,此时再以“中”字为首个字,在词典中查找以“中”字开头的词,显示在候选区域。在手机端的百度,搜狗等输入法设置中都有一个联想开关,打开后,在输入文字后就能一直循环产生联想词。

@ghost
Copy link

ghost commented Dec 12, 2015

感觉还是很简单的,可能就是要稍微纠结一下各平台上的界面吧(摊手)。

@fanple
Copy link
Author

fanple commented Dec 21, 2015

要实现联想功能,还得修改rime_api,添加接口,并且也得实现搜索联想词的算法,添加联想词库,原有的搜索算法词库是否可以复用?

@lotem
Copy link
Member

lotem commented Apr 18, 2019

rime/librime#65

@lotem lotem closed this as completed Apr 18, 2019
eagleoflqj pushed a commit to eagleoflqj/rime that referenced this issue Dec 31, 2023
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

2 participants