Comments (15)
搜狗有一个词库:https://pinyin.sogou.com/dict/detail/index/4 网络流行用语。
我自己维护了一份 dict,会定义更新。
https://github.com/alswl/Rime/blob/master/luna_pinyin.wangluoliuxingxinci.dict.yaml
from home.
@LoriCheung Rime 的特性不允许它加上这个功能:它应当是没有第三方资源依赖的。从设计理念来说,Rime 期望用户的词汇库是慢慢自发形成的,所以应当避免导入大量词汇,这会增加重码率。
from home.
没有云同步就没有个人隐私安全的问题。鱼和熊掌。
所以还是动动手自己云第三方云端来实现这个功能,虽不是很完美,不过也还不错,毕竟个人使用的输入法也不会常常增加太词汇。
from home.
暫無計畫。
from home.
@lorichueng 方便分享一下用於導入的擴充詞庫嗎?
from home.
第三方实现办法: 转自百度贴吧 半月湾C
http://tieba.baidu.com/p/3288634121
RIME本身不可以实现云同步,但我们可以借助第三方云端实现此功能。我本人使用的坚果云网盘,类似的像是百度,115均可。
第一步打开用户文件夹中的installation.yaml文件,修改sync_dir指向位置(这个位置将是RIME的词典与配置存储的地方)
另外也可修改installation_id为自己喜欢的名称(为字母下划线数字,也可以不修改,我的是修改为了lin)
第二部做好上述修改后,点击用户同步。同步完毕后,lin文件夹设置为同步文件夹。右击即可实现设置。
以后若在其他电脑上使用RIME可做如下步骤:
① 安装好RIMR与你的坚果云客户端。
② 通过坚果云客户端下载好你的个人词库配置文件等(注意位置要与你在installation.yaml中修改的一致)
③ 修改用户文件夹中installation.yaml文件中的sync_dir指向,使其与坚果云下载好的个人配置等文件位置一致。
④ 点击“用户资料同步”同步个人词库等。
关于同步在说明几点:
⑴ 上述中的第四步同步是将从云端同步至本地的词库同步进你的RIME中,而个人配置没有同步进RIME中。个人配置需要手动将你设置好的几个文件手动拖入进“用户文件夹”,重新部署以实现配置的同步。
⑵ 词库的同步于RIME讲是一个双向的同步。
如你在甲电脑使用RIME积累了词汇ABCDE,而后将ABCDE词汇同步进云端。在乙电脑云端先同步进本地的同步文件夹(也就是sync_dir指向的文件夹)。乙电脑在之前积累了词汇为EFGH,当乙点击“用户资料同步”后,RIME实现的是一个双向的同步:即乙电脑积累的词汇EFGH同步进sync_dir指向的同步文件夹,sync_dir指向的同步文件夹中的ABCDE同步进“用户文件夹”
⑶ 配置的同步是单向的同步,即由“用户文件夹”指向“同步文件夹”
⑷ 原因也简单,如果不是这样,当“用户文件夹”与“同步文件夹”中的配置不一致时不知道采用哪个,那就乱了。
from home.
能支持云词库吗?
from home.
@loicaplay 他想要的云词库是自动更新的词库,而非将用户自己的词库同步在云盘上。
@LoriCheung 我建议自己从第三方词库导出 txt,然后放到自己 Rime 配置中。
你可以参考一下我的第三方词库:https://github.com/alswl/Rime 。
from home.
@alswl 嗯,我现在就是在这么用,不过还是不能实现自动化。作者似乎不考虑实现这个功能了
from home.
不過有開源的api,倒是可以單獨加一個translator。
from home.
我插句話。這個功能容易和「雲輸入」混淆,後者是指實時向服務器查詢當前輸入串的轉換結果——這個目前是不準備做的。
自動更新詞庫的事情,現在條件也不具備,因爲不支持在使用過程中無縫地卸載詞庫、並在後臺更新。
也許可以做成半自動的,一鍵更新。思路如下:
更新源,現在只能靠人工,定期向一個 GitHub 代碼庫提交更新。今後也許有協作的可能,比如用戶端共享一些片段,這需要一些腳本功夫。
在本地建立一個小型(拼音)詞典,對應新詞。從主要詞典獨立出來以求快速部署更新。
通過一個(打斷輸入的)命令執行更新腳本,從更新源拉取代碼,本地部署。
from home.
云输入、云词库这种事情还是不做的好,本来选鼠须管就是不想用云输入的搜狗、百度输入法。
from home.
#44 (comment) 構想中的具體計劃,
在這裏另起討論: rime/plum#5
from home.
@osfans “不過有開源的api,倒是可以單獨加一個translator。”
可参考这永码输入法的“云”yong/cloud/cloud.c输入https://github.com/dgod/yong/tree/c78641c6ec8b9e49e702b9bd6da20d7c5ab0d153/cloud
它支持"sogou""qq""baidu""google""engkoo"等。
from home.
如果需要云输入法插件,可以使用:https://github.com/hchunhui/librime-cloud
from home.
Related Issues (20)
- 0.16 Release版,使用者非管理員權限用系統管理員權限輸入帳密開啟程式,程式無法用小狼毫輸入中文
- 自动造词不符合编码规则 HOT 3
- 鼠鬚管 如何关闭联想长候选词的拼音展示 HOT 2
- 小狼毫同步、部署时报错:xxx log 被占用无法删除
- mac上是否有办法实现按shift进行中日文切换的操作? HOT 4
- 候選字界面跑到視窗左上方 HOT 4
- 哪里可以找到完整的配色方案配置项? HOT 1
- 如何让Caps Lock像微软注音一样只切大小写不切中英文
- 如何只在反查中使用繁简转换,方案中不使用繁简转换?(五代仓颉,反查使用拼音) HOT 3
- 最新版本1.11.2,无法修改输入法外观 HOT 3
- 鼠须管从0.15.0升级到1.0.1之后,和color_scheme相关的配置失效 HOT 6
- squirrel 在vs code中, jupter notebook 中英切换有BUG HOT 1
- 更新后右键菜单变成英文了 HOT 1
- 在部分软件输入中文时,输入法不显示已输入的拼音 HOT 4
- 鼠须管如何更改用户文件夹的位置? HOT 2
- 更新到1.0.2后,竖屏幕显示 HOT 4
- 我开源了一个五笔词库 帮我点赞一下 https://github.com/limaofu/cof86 HOT 1
- 我开源了一个五笔词库 帮我点赞一下 https://github.com/limaofu/cof86 HOT 1
- Ubuntu Rime 无法在 AppFlowy 中输入中文
- 不能组成词组【复效】 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from home.