这方法是用户sunxx1984针对黑莓Keyone手机的五笔提出的,帖子见:https://tieba.baidu.com/p/5270595357?pn=1#
原理是把郑码编码当作用户字典中(通过软件user dictionary plus导入),这样可在黑莓拼音或谷歌拼音中输入郑码。
我按其方法做了个郑码的,步骤是:
(1)网上下载郑码单字码表: https://code.google.com/archive/p/jack-zheng/downloads
(2)用excel打开转存成excel,去掉重码字后存储(这种方法不能有重码,我也不知为什么)。
(3)用python的pandas打开存成utf-8的csv文件。
(4)vim打开csv文件,用正则表达式弄成这种格式:
[{"word":"堃","shortcut":"yyff","frequency":"250","locale":"zh_CN_pinyin"},
{"word":"工","shortcut":"a","frequency":"250","locale":"zh_CN_pinyin"},
{"word":"式","shortcut":"aa","frequency":"250","locale":"zh_CN_pinyin"},
{"word":"工艺","shortcut":"aaan","frequency":"250","locale":"zh_CN_pinyin"},
{"word":"式","shortcut":"aad","frequency":"250","locale":"zh_CN_pinyin"},
{"word":"工厂","shortcut":"aadg","frequency":"250","locale":"zh_CN_pinyin"},
{"word":"匿","shortcut":"aadk","frequency":"250","locale":"zh_CN_pinyin"},
{"word":"苷","shortcut":"aaf","frequency":"250","locale":"zh_CN_pinyin"},
{"word":"甙","shortcut":"aafd","frequency":"250","locale":"zh_CN_pinyin"},
{"word":"苷","shortcut":"aaff","frequency":"250","locale":"zh_CN_pinyin"},
{"word":"芽","shortcut":"aah","frequency":"250","locale":"zh_CN_pinyin"},
{"word":"芽","shortcut":"aaht","frequency":"250","locale":"zh_CN_pinyin"},
{"word":"工具","shortcut":"aahw","frequency":"250","locale":"zh_CN_pinyin"},
{"word":"戒","shortcut":"aak","frequency":"250","locale":"zh_CN_pinyin"}]
把文件传到手机上,通过user dictionary plus导入即可。要是太大,可以把做好的分成几个小文件。
免费版只能用小文件粘贴多次。
我做的词库分享下,为省事直接把重码的词都删了。
链接: https://pan.baidu.com/s/1bpbDhPP 密码: j7vu
原理是把郑码编码当作用户字典中(通过软件user dictionary plus导入),这样可在黑莓拼音或谷歌拼音中输入郑码。
我按其方法做了个郑码的,步骤是:
(1)网上下载郑码单字码表: https://code.google.com/archive/p/jack-zheng/downloads
(2)用excel打开转存成excel,去掉重码字后存储(这种方法不能有重码,我也不知为什么)。
(3)用python的pandas打开存成utf-8的csv文件。
(4)vim打开csv文件,用正则表达式弄成这种格式:
[{"word":"堃","shortcut":"yyff","frequency":"250","locale":"zh_CN_pinyin"},
{"word":"工","shortcut":"a","frequency":"250","locale":"zh_CN_pinyin"},
{"word":"式","shortcut":"aa","frequency":"250","locale":"zh_CN_pinyin"},
{"word":"工艺","shortcut":"aaan","frequency":"250","locale":"zh_CN_pinyin"},
{"word":"式","shortcut":"aad","frequency":"250","locale":"zh_CN_pinyin"},
{"word":"工厂","shortcut":"aadg","frequency":"250","locale":"zh_CN_pinyin"},
{"word":"匿","shortcut":"aadk","frequency":"250","locale":"zh_CN_pinyin"},
{"word":"苷","shortcut":"aaf","frequency":"250","locale":"zh_CN_pinyin"},
{"word":"甙","shortcut":"aafd","frequency":"250","locale":"zh_CN_pinyin"},
{"word":"苷","shortcut":"aaff","frequency":"250","locale":"zh_CN_pinyin"},
{"word":"芽","shortcut":"aah","frequency":"250","locale":"zh_CN_pinyin"},
{"word":"芽","shortcut":"aaht","frequency":"250","locale":"zh_CN_pinyin"},
{"word":"工具","shortcut":"aahw","frequency":"250","locale":"zh_CN_pinyin"},
{"word":"戒","shortcut":"aak","frequency":"250","locale":"zh_CN_pinyin"}]
把文件传到手机上,通过user dictionary plus导入即可。要是太大,可以把做好的分成几个小文件。
免费版只能用小文件粘贴多次。
我做的词库分享下,为省事直接把重码的词都删了。
链接: https://pan.baidu.com/s/1bpbDhPP 密码: j7vu