{"id":13467034,"url":"https://github.com/iDvel/rime-ice","last_synced_at":"2025-03-26T00:31:54.403Z","repository":{"id":37711131,"uuid":"334110599","full_name":"iDvel/rime-ice","owner":"iDvel","description":"Rime 配置：雾凇拼音 | 长期维护的简体词库","archived":false,"fork":false,"pushed_at":"2025-03-22T15:44:54.000Z","size":180520,"stargazers_count":11038,"open_issues_count":10,"forks_count":720,"subscribers_count":58,"default_branch":"main","last_synced_at":"2025-03-25T19:03:48.334Z","etag":null,"topics":["rime","rime-config","rime-custom","rime-schema","rime-squirrel","rime-weasel"],"latest_commit_sha":null,"homepage":"https://dvel.me/posts/rime-ice/","language":"Lua","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/iDvel.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-01-29T10:25:46.000Z","updated_at":"2025-03-25T15:09:38.000Z","dependencies_parsed_at":"2024-05-01T02:49:47.101Z","dependency_job_id":"5d40fcf7-fd32-4798-916c-19790de737ec","html_url":"https://github.com/iDvel/rime-ice","commit_stats":{"total_commits":645,"total_committers":55,"mean_commits":"11.727272727272727","dds":0.5674418604651164,"last_synced_commit":"a022f0943fedf71eae154e1f06cad64079a3f536"},"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iDvel%2Frime-ice","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iDvel%2Frime-ice/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iDvel%2Frime-ice/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iDvel%2Frime-ice/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/iDvel","download_url":"https://codeload.github.com/iDvel/rime-ice/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245566099,"owners_count":20636391,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["rime","rime-config","rime-custom","rime-schema","rime-squirrel","rime-weasel"],"created_at":"2024-07-31T15:00:52.453Z","updated_at":"2025-03-26T00:31:49.392Z","avatar_url":"https://github.com/iDvel.png","language":"Lua","funding_links":[],"categories":["HarmonyOS","Lua","配置"],"sub_categories":["Windows Manager"],"readme":"# 雾凇拼音\n\n![demo](./others/demo.webp)\n\n功能齐全，词库体验良好，长期更新修订。\n\n\u003cbr\u003e\n\n[Rime Input Method Engine / 中州韵输入法引擎](https://rime.im/) 是一个跨平台的输入法算法框架。\n\n这里是 Rime 的一份配置仓库，用户需要下载各平台对应的前端，并将此配置应用到配置目录。\n\n雾凇拼音提供了一套开箱即用的完整配置，包含输入方案（全拼、常见双拼）、长期维护的开源词库及各项扩展功能。\n\n详细介绍：[Rime 配置：雾凇拼音](https://dvel.me/posts/rime-ice/)\n\n[常见问题](https://github.com/iDvel/rime-ice/issues/133)\n\n[更新日志](./others/CHANGELOG.md)\n\n\u003cbr\u003e\n\n## 基本套路\n\n- 简体 | 全拼 | 双拼\n- 主要功能\n    -   轻量的英文输入，支持中英混输\n    -   [优化英文输入体验](https://dvel.me/posts/make-rime-en-better/)\n    -   拆字反查（\u003ckbd\u003euU\u003c/kbd\u003e+拼音），拆字辅码（拼音+\u003ckbd\u003e`\u003c/kbd\u003e+拆字辅码）\n    -   自整理的 Emoji\n    -   以词定字（左右中括号：\u003ckbd\u003e[\u003c/kbd\u003e、\u003ckbd\u003e]\u003c/kbd\u003e）\n    -   长词优先\n    -   Unicode（\u003ckbd\u003eU\u003c/kbd\u003e+Unicode 码位）\n    -   数字、人民币大写（\u003ckbd\u003eR\u003c/kbd\u003e+数字）\n    -   日期、时间、星期（详见方案 `/date_translator` 节点）\n    -   农历（转写：\u003ckbd\u003eN\u003c/kbd\u003e+八位数字；获取当前农历：全拼\u003ckbd\u003enl\u003c/kbd\u003e，双拼\u003ckbd\u003elunar\u003c/kbd\u003e）\n    -   常见错音错字提示\n    -   置顶候选项（详见方案 `/pin_cand_filter` 节点）\n    -   所有标点符号直接上屏\n    -   特殊符号、字符输入（全拼\u003ckbd\u003ev\u003c/kbd\u003e+首字母缩写；双拼\u003ckbd\u003eV\u003c/kbd\u003e+首字母缩写）\n    -   拼音纠错（模糊音）\n    -   更多默认未启用的功能请参考 `rime.lua` 文件以及方案注释\n- 简体字表、词库\n    -   [通用规范汉字表](https://github.com/iDvel/The-Table-of-General-Standard-Chinese-Characters)（by 中华人民共和国教育部）8K 常用汉字\n    -   [Unihan 字库](https://www.unicode.org/Public/)（by Unicode lnc | [UNICODE LICENSE V3](https://www.unicode.org/license.txt)）40K 大字库， **默认未启用**\n    -   [现代汉语常用词表](https://zh.wikipedia.org/wiki/%E7%8E%B0%E4%BB%A3%E6%B1%89%E8%AF%AD%E5%B8%B8%E7%94%A8%E8%AF%8D%E8%A1%A8)（by 中国国家语言文字工作委员会）\n    -   [华宇野风词库](http://bbs.pinyin.thunisoft.com/forum.php?mod=viewthread\u0026tid=30049)（by 野风）\n    -   [简化字八股文](https://github.com/rime/rime-essay-simp)（by rime | [LGPL](https://github.com/rime/rime-essay-simp/blob/master/LICENSE)）\n    -   [清华大学开源词库](https://github.com/thunlp/THUOCL)（by THUNLP | [MIT](https://github.com/thunlp/THUOCL/blob/master/LICENSE)）\n    -   [腾讯词向量](https://ai.tencent.com/ailab/nlp/en/download.html)（@Huandeep [整理](https://github.com/iDvel/rime-ice/issues/24) | by Tencent AI Lab | [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)）\n- 词库修订\n    - 校对大量异形词、错别字、错误注音\n    - 全词库完成注音\n    - 同义多音字注音\n    - 参考\n      -   《现代汉语词典》\n      -   《同义词词林》\n      -   《新华成语大词典》\n      -   [校对标准论坛](http://www.jiaodui.com/bbs/)\n- Rime、Squirrel、Weasel 常用配置项的详尽注释\n\n\u003cbr\u003e\n\n## 长期维护词库\n\n因为没有找到一份比较好的词库，干脆自己维护一个。综合了几个不错的词库，精心调教了很多。\n\n主要维护的词库：\n\n- `8105` 字表。\n- `base` 基础词库。\n- `ext` 扩展词库，小词库。\n- `tencent` 扩展词库，大词库。\n- Emoji\n\n维护内容主要是异形词、错别字的校对，错误注音的修正，缺失的常用词汇的增添，词频的调整。\n\n欢迎在词库方面提 issue [#666](https://github.com/iDvel/rime-ice/issues/666) ，我会及时更新修正。\n\n\u003cbr\u003e\n\n## 使用说明\n\n⚠️ 单独使用词库注意事项：`rime_ice.dict.yaml` 下面包含了大写字母，这和配置有些许绑定，可以直接删除，详细说明：[#356](https://github.com/iDvel/rime-ice/issues/356)\n\n雾凇拼音中多个文件可能与其他方案同名冲突，如果是新手想一键安装，建议备份原先配置，清空配置目录再导入。\n\n配置目录为小狼毫的 `%APPDATA%\\Rime`，鼠须管的 `~/Library/Rime`，可通过右键菜单栏图标打开。\n\n### 手动安装\n\n您可以将仓库打包下载，或者整体 clone 后，将所有文件复制粘贴到配置目录，重新部署。\n\n更新词库，手动覆盖 `cn_dicts` `en_dcits` `opencc` 三个文件夹。\n\n您也可以前往 [Release](https://github.com/iDvel/rime-ice/releases) 界面，下载特定版本的词典文件（具体描述见 Release 说明），覆盖配置目录的对应文件。\n\n### 东风破 [plum](https://github.com/rime/plum)\n\n选择配方（`others/recipes/*.recipe.yaml`）来进行安装或更新。\n\n词库配方只是更新具体词库文件，并不更新 `rime_ice.dict.yaml` 和 `melt_eng.dict.yaml`，因为用户可能会挂载其他词库。如果更新后部署时报错，可能是增、删、改了文件名，需要检查上面两个文件和词库的对应关系。\n\n℞ 安装或更新全部文件\n\n```\nbash rime-install iDvel/rime-ice:others/recipes/full\n```\n\n℞ 安装或更新所有词库文件（包含下面三个）\n\n```\nbash rime-install iDvel/rime-ice:others/recipes/all_dicts\n```\n\n℞ 安装或更新拼音词库文件（ `cn_dicts/` 目录内所有文件）\n\n```\nbash rime-install iDvel/rime-ice:others/recipes/cn_dicts\n```\n\n℞ 安装或更新英文词库文件（ `en_dicts/` 目录内所有文件）\n\n```\nbash rime-install iDvel/rime-ice:others/recipes/en_dicts\n```\n\n℞ 安装或更新 opencc （ `opencc/` 目录内所有文件）\n\n```\nbash rime-install iDvel/rime-ice:others/recipes/opencc\n```\n\n下面这个配方会在 `radical_pinyin.custom.yaml` 和 `melt_eng.custom.yaml` 里将 `speller/algebra` 修改为对应的双拼拼写，选择一个自己使用的双拼作为参数。\n\n℞ 双拼补丁\n\n```\nbash rime-install iDvel/rime-ice:others/recipes/config:schema=flypy\nbash rime-install iDvel/rime-ice:others/recipes/config:schema=double_pinyin\nbash rime-install iDvel/rime-ice:others/recipes/config:schema=mspy\nbash rime-install iDvel/rime-ice:others/recipes/config:schema=sogou\nbash rime-install iDvel/rime-ice:others/recipes/config:schema=abc\nbash rime-install iDvel/rime-ice:others/recipes/config:schema=ziguang\n```\n\n℞ 下载特定版本的配置\n\n在仓库后加 `@tag` 即可，例如：\n\n```sh\nbash rime-install iDvel/rime-ice@2024.05.21:others/recipes/full\n```\n\n### 仓输入法 [Hamster](https://github.com/imfuxiao/Hamster)\n\n参考 [如何导入\"雾淞拼音输入方案\"](https://github.com/imfuxiao/Hamster/wiki/%E5%A6%82%E4%BD%95%E5%AF%BC%E5%85%A5%22%E9%9B%BE%E6%B7%9E%E6%8B%BC%E9%9F%B3%E8%BE%93%E5%85%A5%E6%96%B9%E6%A1%88%22)\n\n仓输入法目前已内置雾凇拼音，也可以通过【输入方案设置 - 右上角加号 - 方案下载 - 覆盖并部署】来更新雾凇拼音。\n\n使用九宫格，需要同时启用九宫格方案（输入方案设置）和九宫格布局（键盘设置 - 键盘布局 - 中文 9 键）。\n\n### 自动部署脚本\n\n[Mark24Code/rime-auto-deploy](https://github.com/Mark24Code/rime-auto-deploy) 一个自动部署脚本，集成了雾凇拼音，帮助无痛快速安装、部署 Rime 输入法（中州韵、小狼毫，鼠须管）以及部署配置。\n\n### Arch Linux\n\n使用 AUR helper 安装 [rime-ice-git](https://aur.archlinux.org/packages/rime-ice-git) 包即可。\n\n```bash\n# paru 默认会每次重新评估 pkgver，所以有新的提交时 paru 会自动更新，\n# yay 默认未开启此功能，可以通过此命令开启\n# yay -Y --devel --save\n\nparu -S rime-ice-git\n# yay -S rime-ice-git\n```\n\n推荐使用[补丁](https://github.com/rime/home/wiki/Configuration#補靪)的方式启用。\n\n参考下面的配置示例，修改对应输入法框架用户目录（见下）中的 `default.custom.yaml` 文件\n\n- iBus 为 `$HOME/.config/ibus/rime/`\n- Fcitx5 为 `$HOME/.local/share/fcitx5/rime/`\n\n\u003cdetails\u003e\n\u003csummary\u003edefault.custom.yaml\u003c/summary\u003e\n\n```yaml\npatch:\n  # 仅使用「雾凇拼音」的默认配置，配置此行即可\n  __include: rime_ice_suggestion:/\n  # 以下根据自己所需自行定义，仅做参考。\n  # 针对对应处方的定制条目，请使用 \u003crecipe\u003e.custom.yaml 中配置，例如 rime_ice.custom.yaml\n  __patch:\n    key_binder/bindings/+:\n      # 开启逗号句号翻页\n      - { when: paging, accept: comma, send: Page_Up }\n      - { when: has_menu, accept: period, send: Page_Down }\n```\n\n\u003c/details\u003e\n\n\u003cbr\u003e\n\n## 感谢 ❤️\n\n特别感谢上文已经提及的词库、词典的作者、贡献者及整理者；特别感谢以及下列词库、方案、脚本的作者及贡献者（提及的均为 GitHub id）：\n\n- @mozillazg 开发的汉字转拼音工具和数据库（MIT）\n- [melt_eng](https://github.com/tumuyan/rime-melt)（@tumuyan | [Apache 2.0](https://github.com/tumuyan/rime-melt/blob/master/LICENSE)） ：提供了部分（约 1000 条）英文词汇以及原始英文方案参考；\n- [部件拆字方案 v1](https://github.com/mirtlecn/rime-radical-pinyin)（@mirtlecn | [CC BY-SA 4.0](https://github.com/mirtlecn/rime-radical-pinyin/blob/master/LICENSE)）：提供的拆字反查，辅码插件；\n- [长词优先插件](https://github.com/tumuyan/rime-melt/blob/master/lua/melt.lua)（@tumuyan | [Apache 2.0](https://github.com/tumuyan/rime-melt/blob/master/LICENSE)）\n- [Unicode 插件](https://github.com/shewer/librime-lua-script/blob/main/lua/component/unicode.lua)（@shewer | [MIT](https://github.com/shewer/librime-lua-script/blob/main/lua/component/unicode.lua)）\n- [数字、人民币大写插件](https://github.com/yanhuacuo/98wubi/blob/master/lua/number.lua)（@98wubi）\n- [农历插件](https://github.com/boomker/rime-fast-xhup)（@boomker | [LGPL 3.0](https://github.com/boomker/rime-fast-xhup/blob/master/LICENSE)）\n- 未能在此处详述的、在本库源码注释中提及的项目及作者给予的帮助和参考\n\n感谢 [@Huandeep](https://github.com/Huandeep) 整理的多个词库。\n\n感谢 [@Mirtle](https://github.com/mirtlecn) 完善的多个功能。\n\n感谢所有贡献者。\n\n\u003c!-- 搜狗转 Rime：[lewangdev/scel2txt](https://github.com/lewangdev/scel2txt) --\u003e\n\nThanks to JetBrains for the OSS development license.\n\n[![JetBrains](https://resources.jetbrains.com/storage/products/company/brand/logos/jb_beam.svg)](https://jb.gg/OpenSourceSupport)\n\n\u003cbr\u003e\n\n## 赞助 ☕\n\n如果觉得项目不错，可以请 Dvel 吃个煎饼馃子。\n\n\u003cimg src=\"./others/sponsor.webp\" alt=\"请 Dvel 吃个煎饼馃子\" width=600 /\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FiDvel%2Frime-ice","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FiDvel%2Frime-ice","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FiDvel%2Frime-ice/lists"}