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

自动码长功能 #5

Open
tansongchen opened this issue Mar 26, 2024 · 2 comments
Open

自动码长功能 #5

tansongchen opened this issue Mar 26, 2024 · 2 comments

Comments

@tansongchen
Copy link

tansongchen commented Mar 26, 2024

星猫键道作者您好,

我是声笔输入法 10.0 的主要开发者,在声笔 10.0 中我们使用了 lua 脚本来实现了词组的自动码长功能,使得词组的码长可以随用户使用而变化,更加贴合用户的使用需求。声笔双拼(声笔自然、声笔小鹤)的顶功结构和星猫键道是完全一样的,所以稍加修改就可以在星猫键道上应用,例如,

试试	ekek
事实	ekekv

如果用户多次打「事实」,则它将占据 4 码位,而「试试」本身退到 5 码位,其余编码也自动根据情况调整。

这种方式也使得用户自造词能方便地和系统中原有的词共存,例如用户造新词「星猫键道」且经常打,则「衔接」可以自动退到 5 码位把 4 码位让给它。

如您有兴趣,我可以帮助把这个功能加入键道。

@Attiv
Copy link
Contributor

Attiv commented Mar 28, 2024

给大佬递头。
这个功能看着非常酷炫实用

@0x696c757a696f
Copy link
Collaborator

您好,我们星猫键道相关的作者,都在听到您愿意在星猫上做成这个功能感到非常荣幸。如果这个功能可以以开关控制,让用户自行选择是不是使用的话,我们是非常欢迎并感谢的。

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