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

希望增加「上下文调频」功能 #897

Open
jingfengshuo opened this issue Jun 18, 2024 · 2 comments
Open

希望增加「上下文调频」功能 #897

jingfengshuo opened this issue Jun 18, 2024 · 2 comments

Comments

@jingfengshuo
Copy link

目前的算法好像没有「上下文调频」的功能,即根据已输入内容进行调频,句尾的「吗、呀、吧……」经常出现「爸、吗、吧、妈、压……」,我经常需要删掉最后一个字,上屏后再重新输入。

「上下文调频」的功能举例如下:单独输入bao会输出「包」。如果先输出「支付」的话,再输入bao会输出「宝」。单独输入ma会输出「妈」,如果先输入「好」,在再输入ma会输出「吗」。

@ksqsf
Copy link
Member

ksqsf commented Jul 13, 2024

开启语言模型后会考虑「上下文」。参考 https://github.com/lotem/rime-octagram-data

不过我不了解目前有能实现输出「支付」后打 bao 出「宝」的语言模型,因为「支付宝」本身是一个完整的词。语言模型一般处理的是词之间的依赖关系。

@sbxlmdsl
Copy link

sbxlmdsl commented Oct 5, 2024

开启语言模型后会考虑「上下文」。参考 https://github.com/lotem/rime-octagram-data

不过我不了解目前有能实现输出「支付」后打 bao 出「宝」的语言模型,因为「支付宝」本身是一个完整的词。语言模型一般处理的是词之间的依赖关系。

octagram还有个以字为单位的。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants