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

双拼输入候选框提示不够合理 #331

Closed
wsxy162 opened this issue Oct 2, 2018 · 6 comments
Closed

双拼输入候选框提示不够合理 #331

wsxy162 opened this issue Oct 2, 2018 · 6 comments

Comments

@wsxy162
Copy link

wsxy162 commented Oct 2, 2018

使用双拼模式时,各种双拼方案还是避免不了输入的重码。比如在具体使用“小鹤双拼”时,键入“L+O”时,可以代表输入的是拼音 luo(罗)或 lo(咯)。而这种情况下,libpinyin 在候选框上显示是 luo。这明显忽略了 lo 这个拼音,虽然实际的候选词是正确地包含了两个拼音的。
如果要改进这个缺陷,可以像其它双拼输入法一样,候选框中的输入词不要做转换,直接显示原来的按键输入。或者可以补全候选框中的拼音,同时显示所有的可选拼音。比如上面的例子中,显示为“luo/lo”。

@epico
Copy link
Member

epico commented Oct 8, 2018

其实,咯 有多个读音,包括 "luo" 和 "lo".

候选框中的输入不做转换的话,用户很难理解输入的内容的。

@wsxy162
Copy link
Author

wsxy162 commented Oct 8, 2018

我反对不做转换就难理解的说法。其他输入法还专门独立了一个选项来确定要不要转换成全拼显示。如果在候选框使用转换,但是在使用回车键直接上屏的时候(在中文输入法模式下输入英文),输入的仍是原来的未转换键入,而不是转换过的显示拼音。
lo 这个音,查了下好像普通话拼音不存在。主流的双拼方案都能做到音节唯一性,即不存在同个输入存在多个音节输出。

@epico
Copy link
Member

epico commented Oct 9, 2018

是的,主流的双拼方案不会出现多个音节输出。

我也是双拼的用户,其实从输入反向猜出想输入的拼音并不容易。

@wsxy162
Copy link
Author

wsxy162 commented Oct 9, 2018

这个候选框中的转换显示并不是完美的,不难也得提供个选项让用户选择。在中文输入法下直接输入英文单词是很常见的情况。

@epico epico transferred this issue from libpinyin/libpinyin Sep 16, 2021
@epico
Copy link
Member

epico commented Apr 14, 2022

在设置对话框中,"显示双拼原始输入" 选项已添加。

@epico
Copy link
Member

epico commented Apr 14, 2022

ibus-libpinyin 1.12.91 is released, close issue.

@epico epico closed this as completed Apr 14, 2022
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