GithubHelp home page GithubHelp logo

rime-wubi's Introduction

五筆字型

配方: ℞ wubi

Rime 五筆字型輸入方案

五筆字型 86 版

安裝

拼音反查、五筆拼音混合輸入依賴於

東風破 安裝口令: bash rime-install wubi pinyin-simp

授權條款:見 LICENSE

rime-wubi's People

Contributors

kunki avatar lotem avatar osfans avatar yousong avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

rime-wubi's Issues

蔻 apfl

蔻 apfl,应该是apfc吧

我的dict应该从此处下载的。

请问如何加入特殊字符配置

配置文件中,将
import_preset: default
改为:
import_preset: symbols
重新部署后,输入“/” 并不能输出特殊符号,比如2的平方。

软件版本:0.11
Mac 版本:10.14
谢谢。

问题:如何配置只输出简体中文同时保证输出结果正确

根据 pull request#3 提出的问题

当前词库输入 utem,会出现两个候选顔 颜,配置 simplification 选项可以只输出简体字 ,但配置后如果输入 tvfh,会出现候选笔 律 的五笔全码是 ttfn,本不应该出现在这里。

请问,当前词库怎样配置才能如何保证以下结果

  • utem 不会出现繁体字
  • tvfh 不会出现错误编码字

163 characters from 「通用规范汉字表」 are not included in `wubi86.dict.yaml`

I wrote a Python script for finding the characters defined in 「通用规范汉字表」, but that are not included in wubi86.dict.yaml. I noticed that there's a total of 163 character that are not included in wubi86.dict.yaml. The Python script is shown below. The file 8105.txt contains the 8105 characters in 「通用规范汉字表」 and it was downloaded from this repository (permalink to version as of the time of this writing)

$ cat main.py
import  re

filename_8105 = '8105.txt'
filename_dict = 'wubi86.dict.yaml'

set_8105 = set()
set_dictionary = set()

with open(filename_8105) as f:
    for line in f:
        results = re.search(r"^[0-9]+ (.)", line)
        set_8105.add(results.group(1))

with open(filename_dict) as f:
    for line in f:
        if line == '---\n':
            break
    for line in f:
        if results := re.search(r"^(.)	", line):
            set_dictionary.add(results.group(1))

diff = set_8105.difference(set_dictionary)
print(len(diff))
print(''.join(diff))
$ python main.py
163
𬒈𫸩𫖯𬬮𫄨𫓶𬺈𬣳𬍤𪩘𫘦𫶇𫟼𬸦𬣞𬭼𬘘𪾢𪨶𬭩𬒗𫟹𬇙𫟅𬙋𪨰𫰛𫘧𫮃𬸘𪟝鿍𬴃𬱟𬭛𫭼𫷷𬶟𬘫𬤇𬬩𫞩𬮿𬶠𪤗𬕂𬨂𬭬𬊤𬒔𫇭𫭟𬯀𫠊𫘪𬟁𬬸𫔎𬘩𬤊𫚖𬶋𬘓𬇹𫌀𫄷𫘬鿏𬃊𬳵𬴂𫍯𪣻𫍣𬺓𫔍𫠆𬬿𫓧𬮱𬇕𫗧𫚭𬀩𬍛𬸪𫫇𫑡𬭤𬘡𬶏𬸣𬉼𬭁𫢸𫔶𬞟𫐐𬬻𫘜𬬭𬶭𬸚𫐄𬭊𬶮𬳿𬹼𬬹𫍽𬜯𫟦𫐓𬪩𬌗𫓹𬙊𫛭𫍲𬷕𫚕𬳶𬩽𬀪𬭶𬭯𬊈𬘬𫘝𫭢𬴊𬍡𬟽𬘭𬤝𬭳𫘨𬳽鿎𬶍𬱖𬭸𬜬𫗴𫓯𫄸𬘯𫵷𬙂𬬱𬶨𫄧𬂩𬶐𫖮𬣡𬨎𫖳𬯎𬭚𬭎𫠜𬣙

Why aren't these characters included in wubi86.dict.yaml? I'm asking because I could open a pull request for including these characters along with their Wubi 86 codes.

userdb.txt 中的 '\x7fenc\x1f' 的含义

你好, 安装 五笔86 输入方案后尝试输入了几个词之后点击 用户资料同步, 然后在同步目录下的 wubi86.userdb.txt 中, 一些词的 key 中含有 '\x7fenc\x1f', 请问是为什么?

示例:

# Rime user dictionary
#@/db_name	wubi86.userdb
#@/db_type	userdb
#@/rime_version	1.5.3
#@/tick	25
#@/user_id	rime-weasel-cgc
aaaa 	恭恭敬敬	c=2 d=1.99501 t=25
aaal 	花花世界	c=3 d=2.98506 t=25
aaan 	工艺	c=2 d=1.99501 t=25
aabb 	式子	c=3 d=2.98506 t=23
aabw 	戒除	c=2 d=1.99501 t=25
ag 	七	c=3 d=2.86838 t=25
ai 	东	c=1 d=0.932394 t=25
mqu 	岁	c=3 d=2.8972 t=25
wty 	八	c=3 d=2.88275 t=25
�enc�aaaa 	工艺工艺	c=0 d=0.1 t=25
�enc�abab 	式子式子	c=0 d=0.1 t=23
�enc�abab 	式子戒除	c=0 d=0.1 t=24
�enc�abab 	戒除戒除	c=0 d=0.1 t=25
�enc�wtmq 	八岁	c=1 d=0.99005 t=25

用 sublime 以 utf-8 打开时, 可以看见 enc 部分的乱码内容为 '\x7fenc\x1f'.

github 目前似乎难以下载 rime-wubi了

安装完rime小狼毫之后,需要增加输入法,五笔、简化拼音,如:
rime-wubirime-pinyin-simp
这样可以做到五笔拼音混输,对五笔输入不能十分熟练的用户来说很方便。

但最近在新机器上安装若干次小狼毫时发现,安装完成后进入配置,增加输入法时,在命令行窗口输入以上两个模块时,连接许久竟无法下载成功。

一尝试,原来似乎是github在正常情形下无法访问了。

以前未遇到过这样的事,何况如今github也算是微软的旗下,属于**人民可以接受的产品了吧,但还是想知道rime官方是否有应对,这样当原来的方式无法联通时,它会切换到备用的地址下载。

家中自用的电脑可以绕路访问,可自由配置,但是公用电脑,在家外如公司等场合,就没有办法了。

是否考虑添加网友提供的词库到默认词库?

默认的词真的太少了,我根据自己平时使用,没有就加,几年下来,我已经自己添加了1075个词(少数为单字),当然有部分是我自己用,可能别人用不到的,我从中摘出249个我认为也许比较多人用的到的词,并且除了“靠谱~微博”这9个词有重码外,其它所有词都不重码,换句话说,添加了我这些词,并不会导致大家打其它词时需要选择。

所以,是否考虑添加网友提供的词库到默认词库呢?又或者经过大家投票认为哪些词应该添加(最好不要加那些有重码的)。


如果大家想自己添加,可以使用以下方法。

新建以下三个文件

~/Library/Rime/wubi86.custom.yaml
~/Library/Rime/wubi_pinyin.custom.yaml
~/Library/Rime/wubi_trad.custom.yaml

在每个新建的文件中,添加以下内容

# ~/Library/Rime/wubi86.custom.yaml
patch:
    translator/dictionary: custom

新建以下文件

~/Library/Rime/custom.dict.yaml

在该文件中添加以下内容

# ~/Library/Rime/custom.dict.yaml

---
name: custom
version: "2023.03.13"
sort: by_weight
use_preset_vocabulary: true
import_tables:
    - wubi86
...
靠谱    tfyu    1
抖音    ruuj    0.9
扫码    rvdc    1
支付宝    fwpg    0.9
华为    wxyl    0.9
天猫    gdqt    1
手贱    rtmg    1
口罩    kklh    1
微博    tmfg    1
麻瓜    ysrc    1
程序坞    tyfq    1
天路    gdkh    1
混搭    ijra    1
任务栏    wtsu    1
说错    yuqa    1
多想    qqsh    1
笑死    ttgq    1
斜杠    wtuf    1
齐秦    yjdw    1
官网    pnmq    1
验证码    cydc    1
干嘛    fgky    1
高铁    ymqr    1
闪退    uwve    1
微信    tmwy    1
谷歌    wwsk    1
美剧    ugnd    1
韩剧    fjnd    1
毫无疑问    yfxu    1
入坑    tyfy    1
点赞    tfhk    1
安卓    pvhj    1
大屏    ddnu    1
访达    yydp    1
特么    trtc    1
私信    tcwy    1
卧槽    ahsg    1
感兴趣    difh    1
卡布奇诺    hddy    1
破茧    dhaj    1
购物车    mtlg    1
艳照    dhjv    1
弹幕    xuaj    1
马云    cnfc    1
最难    jbcw    1
哪款    kvff    1
暖气片    jrth    1
电磁炉    jdoy    1
风管机    mtsm    1
**空调    kmpy    1
电吹风    jkmq    1
烘干机    ofsm    1
电烤箱    jots    1
浴霸    iwfa    1
电商    jnum    1
大数据    dorn    1
神马    pycn    1
女侠    vvwg    1
纳尼    xmnx    1
打脸    rsew    1
断网    onmq    1
吐槽    kfsg    1
哪年    kvrh    1
怡宝    ncpg    1
极兔    seqk    1
顺丰    kddh    1
韵达    ujdp    1
圆通    lkce    1
联通    buce    1
锁屏    qinu    1
酷狗    sgqt    1
优酷    wdsg    1
爱奇艺    edan    1
倒计时    wyjf    1
坑爹    fywq    1
学霸    ipfa    1
卡顿    hhgb    1
潘多拉    iqru    1
暖心    jeny    1
太低    dywq    1
好疼    vbut    1
好乱    vbtd    1
皮卡丘    hhrg    1
朋友圈    edlu    1
蛋疼    nhut    1
木有    ssde    1
水蛋    iinh    1
饿了么    qbtc    1
脑残    eygq    1
易容    jqpw    1
妈呀    vcka    1
开盖    gaug    1
煲汤    wkin    1
变强    yoxk    1
花呗    awkm    1
触控    qerp    1
双指    ccrx    1
特斯拉    taru    1
长按    tarp    1
杯具    sghw    1
培训    fuyk    1
周杰伦    msww    1
电钢    jnqm    1
电钢琴    jqgg    1
烫嘴    inkh    1
四年    lhrh    1
王老吉    gffk    1
寻人启事    vwyg    1
大长腿    dtev    1
热熔胶    roeu    1
袁隆平    fbgu    1
干脆面    fedm    1
白砂糖    rdoy    1
橄榄菜    ssae    1
数据线    orxg    1
双面胶    cdeu    1
曲库    mayl    1
补光    puiq    1
补光灯    pios    1
月卡    eehh    1
许仙    ytwm    1
才对    ftcf    1
三年    dgrh    1
九年    vtrh    1
六年    uyrh    1
七年    agrh    1
八年    wtrh    1
红点    xahk    1
红眼    xahv    1
钉钉    qsqs    1
才对    ftcf    1
乘号    tukg    1
公母    wcng    1
三脚    dgef    1
美工刀    uavn    1
两层    gmnf    1
佛跳墙    wkff    1
方括号    yrkg    1
圆括号    lrkg    1
花括号    arkg    1
触碰    qedu    1
四号    lhkg    1
六号    uykg    1
七号    agkg    1
八号    wtkg    1
九号    vtkg    1
空间站    puuh    1
后传    rgwf    1
冰爽    uidq    1
网罩    mqlh    1
太长    dyta    1
私发    tcnt    1
榴莲    sqal    1
摩羯    ysud    1
电音    jnuj    1
灰机    dosm    1
美瞳    ughu    1
假唱    wnkj    1
手速    rtgk    1
塑料瓶    uoua    1
咋滴    ktiu    1
平菇    guav    1
降速    btgk    1
嘎嘣脆    kkeq    1
比心    xxny    1
吃屎    ktno    1
剪映    uejm    1
掐指    rqrx    1
吃灰    ktdo    1
魔性    ysnt    1
勿扰    qrrd    1
稀碎    tqdy    1
弃坑    ycfy    1
直播间    fruj    1
解封    qeff    1
红糖水    xoii    1
金钟罩    qqlh    1
铁布衫    qdpu    1
唠嗑    kakf    1
吊带裤    kgpu    1
打码    rsdc    1
鳌拜    gqrd    1
占比    hkxx    1
帮你    dtwq    1
父亲节    wuab    1
母亲节    xuab    1
开挂    garf    1
螺丝粉    jxow    1
代驾    walk    1
房贷    ynwa    1
瘦脸    uvew    1
嘚瑟    ktgg    1
肉脯    mweg    1
顺时针    kjqf    1
折现    rrgm    1
铁粉    qrow    1
大牛    ddrh    1
斗鸡眼    uchv    1
麻辣烫    yuin    1
手滑    rtim    1
微辣    tmug    1
好冷    vbuw    1
哪台    kvck    1
沃尔马    iqcn    1
也对    bncf    1
哈喽    kwko    1
腊八粥    ewxo    1
腊八节    ewab    1
粉丝群    oxvt    1
脑洞大开    eidg    1
脑洞    eyim    1
模拟器    srkk    1
闺蜜    ufpn    1
春晚    dwjq    1
洁柔    ifcb    1
吃鸡    ktcq    1
难用    cwet    1
福袋    pywa    1
不明觉厉    gjid    1
绿箭    xvtu    1
躺平    tmgu    1
壁咚    nkkt    1
绿光    xviq    1
鹤顶红    psxa    1
辣椒酱    usuq    1
点餐    hkhq    1
当你    ivwq    1
劳逸结合    aqxw    1
塘鲺    fyqg    1
水煮鱼    ifqg    1
光伏    iqwd    1
说啥    yukw    1
天龙八部    gdwu    1
洗锅    itqk    1
半斤    ufrt    1
半斤八两    urwg    1
老铁    ftqr    1
好滴    vbiu    1
火龙果    odjs    1
退网    vemq    1
白嫖    rrvs    1
变慢    yonj    1
数据包    orqn    1
触屏    qenu    1
正脸    ghew    1
到尾    gcnt    1
磁吸    duke    1
雷雳    flfd    1
扩展坞    rnfq    1

最后,用编辑器或其它方法,每个编码中的四个空格替换为“制表符”(即tab),否则会不起作用。

这里提供一种使用vi/vim替换的方法,vi/vim打开custom.dict.yaml后,shift+g把光标跳转到最后一行,然后shift+:进入底行模式,并把以下替换命令添加进去,按回车即可把所有“四个空格”的位置都替换为“制表符(tab)”

12,s/    /\t/g

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.