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

Added permutations to correct xingma typo 提供五笔的纠错功能 #424

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

tongjie-chen
Copy link

纠错仅限于输入的全排列。未来可能加上根据频率,以及打错的键位的纠错。

@tumashu
Copy link
Owner

tumashu commented Dec 24, 2021

这个功能还是挺有意思的,不过有一些问题需要提前解决:

  1. pyim 是 gnu-elpa 包,同学你有没有签署 gpl 纸质协议?
  2. 直接从 emacswiki 上复制代码是不可行的,不符合 gnu-elpa 的政策。
  3. 特别通用的函数,应该是放到 pyim-common.el
  4. 这个功能类似拼音输入法的模糊音功能,所以我们要考虑,到底将这个寻找可能纠错的过程放到流程的哪个环节。
  5. 通用的功能都需要写 test

@tongjie-chen
Copy link
Author

  1. 我在准备去签纸质的协议
  2. Emacswiki上的函数是需要重新自己写吗
  3. 同意
  4. 如果是跟模糊音类似的话,也许可以放到imobjs,但是感觉还是需要在找candidates的时候进行一些处理
  5. 我对于写test还不是很熟悉,如果你能给一些指导当然更好

@tumashu
Copy link
Owner

tumashu commented Dec 24, 2021 via email

@tumashu
Copy link
Owner

tumashu commented Dec 24, 2021 via email

@tumashu
Copy link
Owner

tumashu commented Dec 24, 2021 via email

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

Successfully merging this pull request may close these issues.

3 participants