您尚未登录。

#1 2020-08-17 09:50:42

Zangwill
会员
注册时间: 2018-03-16
帖子: 54

怎么从纯文本制成fcitx5词库?

抱歉没Google多少资料,只找到 https://github.com/fcitx/libime/issues/5 上的方法,瞎琢磨的步骤是:
以制作路名词库为例,我将纯文本

灯彩东街
灯彩街
登云路
董家路
都市水乡
渡驾新村
短浜路

https://github.com/studyzy/imewlconverter转成

灯彩东街 deng'cai'dong'jie 0
灯彩街 deng'cai'jie 0
登云路 deng'yun'lu 0
董家路 dong'jia'lu 0
都市水乡 dou'shi'shui'xiang 0
渡驾新村 du'jia'xin'cun 0
短浜路 duan'bang'lu 0

然后用 libime_pinyindict 生成 dict

libime_pinyindict 路名.txt 路名.dict

最后移到 ~/.local/share/fcitx5/pinyin/dictionaries/ ,但并不能使用,求教

离线

#2 2020-08-28 10:11:21

hoxily
会员
所在地: 浙江省杭州市西湖区三墩镇望月公寓
注册时间: 2020-08-28
帖子: 2
个人网站

Re: 怎么从纯文本制成fcitx5词库?

灯彩街、登云路,这不是杭州拱墅区的地名吗?


hoxily bless you.

离线

#3 2020-08-28 10:24:55

hoxily
会员
所在地: 浙江省杭州市西湖区三墩镇望月公寓
注册时间: 2020-08-28
帖子: 2
个人网站

Re: 怎么从纯文本制成fcitx5词库?

你试试在  https://github.com/fcitx/libime/issues/5 页面上再提问咨询下。


hoxily bless you.

离线

#4 2020-09-07 11:41:31

Zangwill
会员
注册时间: 2018-03-16
帖子: 54

Re: 怎么从纯文本制成fcitx5词库?

改用了 rime

离线

#5 2020-09-11 11:37:07

alanfly
会员
注册时间: 2011-12-16
帖子: 50

Re: 怎么从纯文本制成fcitx5词库?

我试了下可以啊,就把你上面的路名复制下来按步骤生成dict复制到~/.local/share/fcitx5/pinyin/dictionaries/ 里。
不过要打开fcitx5-configtool拼音词典管理器加载识别一下才能用,重启fcitx5应该也可以。
dru4hvEAofTSaNQ.png

离线

页脚