support double pinyin with Projection #20
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
解决 #14 的需求1。
无需自定义码表。
已测试:double_pinyin_flypy 小鹤双拼-薄荷定制,luna_quanpin 全拼。
没看到
c.preedit
被if
的正面意义,所以最终PR中去除了。例如,启用首字母简拼,小鹤双拼,b ih(bu chang)在有if、触发云检索后显示为bih
,去掉if则正确显示云端返回的bu chang 补偿,选中其他候选词时仍正常显示b chang。