{"id":13814761,"url":"https://github.com/wuhgit/CustomPinyinDictionary","last_synced_at":"2025-05-15T06:32:36.702Z","repository":{"id":44679092,"uuid":"309019526","full_name":"wuhgit/CustomPinyinDictionary","owner":"wuhgit","description":"自建拼音输入法词库，百万常用词汇量，适配 Fcitx5 (Linux / Android) 及 Gboard (Android + Magisk or KernelSU) 。","archived":false,"fork":false,"pushed_at":"2024-08-24T10:28:30.000Z","size":991,"stargazers_count":1600,"open_issues_count":0,"forks_count":35,"subscribers_count":13,"default_branch":"main","last_synced_at":"2024-08-24T11:38:05.037Z","etag":null,"topics":["aur","fcitx","fcitx-dict","fcitx5","fcitx5-dict","gboard","gboard-dictionary","kernelsu-module","magisk-module"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wuhgit.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2020-11-01T03:58:32.000Z","updated_at":"2024-08-24T10:28:33.000Z","dependencies_parsed_at":"2024-02-03T02:39:10.275Z","dependency_job_id":"e3e13ba3-a673-472f-ad17-1ed67e977540","html_url":"https://github.com/wuhgit/CustomPinyinDictionary","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wuhgit%2FCustomPinyinDictionary","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wuhgit%2FCustomPinyinDictionary/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wuhgit%2FCustomPinyinDictionary/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wuhgit%2FCustomPinyinDictionary/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wuhgit","download_url":"https://codeload.github.com/wuhgit/CustomPinyinDictionary/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225335140,"owners_count":17458216,"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":["aur","fcitx","fcitx-dict","fcitx5","fcitx5-dict","gboard","gboard-dictionary","kernelsu-module","magisk-module"],"created_at":"2024-08-04T04:02:33.482Z","updated_at":"2024-11-19T10:30:24.138Z","avatar_url":"https://github.com/wuhgit.png","language":null,"funding_links":[],"categories":["Others"],"sub_categories":[],"readme":"![](https://raw.githubusercontent.com/wuhgit/CustomPinyinDictionary/main/documents/title.png)\n\n\u003cbr/\u003e\n\n\u003cdiv\u003e\u003cimg src=\"https://img.shields.io/badge/dynamic/json?style=social\u0026label=%E6%9B%B4%E6%96%B0%E6%97%A5%E6%9C%9F\u0026query=updateDate\u0026url=https%3A%2F%2Fgithub.com%2Fwuhgit%2FCustomPinyinDictionary%2Fraw%2Fmain%2Fstatus.json\" align=\"right\"\u003e\u0026emsp;\u0026emsp;\u0026emsp;\u0026emsp;\u003cimg src=\"https://img.shields.io/badge/dynamic/json?style=social\u0026label=%E6%95%B0%E6%8D%AE%E6%9B%B4%E6%96%B0%E8%AE%A1%E6%95%B0\u0026query=versionNumber\u0026url=https%3A%2F%2Fgithub.com%2Fwuhgit%2FCustomPinyinDictionary%2Fraw%2Fmain%2Fstatus.json\" align=\"right\"\u003e\u0026emsp;\u0026emsp;\u0026emsp;\u0026emsp;\u003cimg src=\"https://img.shields.io/badge/dynamic/json?style=social\u0026label=%E8%AF%8D%E6%9D%A1%E6%80%BB%E8%AE%A1\u0026query=totalWords\u0026url=https%3A%2F%2Fgithub.com%2Fwuhgit%2FCustomPinyinDictionary%2Fraw%2Fmain%2Fstatus.json\" align=\"right\"\u003e\u003c/div\u003e\n\n\u003cbr/\u003e\n\n---\n\n针对日常输入习惯，当前词库包含了以下内容：\n\n* 人文类\n\t* 成语\n\t* 俗语\n\t* 诗歌\n\t* 汉语相关词典（感谢[FREEMDICT](https://forum.freemdict.com)）\n\t* ……\n* 地理类\n\t* 中华人民共和国行政区划，收录`省份、城市、区县、乡镇`四级数据（感谢[Administrative-divisions-of-China](https://github.com/modood/Administrative-divisions-of-China)）\n\t* 世界主要国家或地区，收录`国名全称、简称、首都`（感谢[wgii](https://github.com/occultskyrong/wgii)）\n\t* 世界各国和地区名称及一级行政区划（数据来源：[中华人民共和国海关总署](http://online.customs.gov.cn/)）\n\t* ……\n* 生活类\n\t* 统计用产品分类目录（数据来源：[国家统计局](http://www.stats.gov.cn/)）\n\t* 商品目录（数据来源：京东、淘宝 等购物网站）\n\t* 常见人名\n\t* ……\n* 其它\n    * 第三方输入法词库\n\t* ……\n\n\n\u003e 已对以上所有数据进行去重、精简处理。\n\n\n---\n\n\n\u003cdiv\u003e\u003cimg src=\"https://fcitx-im.org/fcitx.png\" alt=\"Fcitx5 logo\" width=\"100\" align=\"right\"\u003e\u003c/div\u003e\n\n\n# Fcitx 5 Linux\n\n\n- 手动安装\n\t1. 下载 `CustomPinyinDictionary_Fcitx_\u003c版本号\u003e.tar.gz` 并解压，得到词库文件 `CustomPinyinDictionary_Fcitx.dict` 。\n\t2. 将词库文件复制到目录 `/usr/share/fcitx5/pinyin/dictionaries/` 中（如果没有这个目录，您可以自行创建）。\n\t3. 重启 \u003cu\u003eFcitx\u003c/u\u003e 后即可生效。\n\n- 通过用户软件仓库安装\n\t- [![AUR](https://img.shields.io/aur/version/fcitx5-pinyin-custom-pinyin-dictionary?style=for-the-badge\u0026logo=archlinux)](https://aur.archlinux.org/packages/fcitx5-pinyin-custom-pinyin-dictionary)\n\n\n# Fcitx 5 Android\n\n\n- 手动安装\n\t1. 下载 `CustomPinyinDictionary_Fcitx_\u003c版本号\u003e.tar.gz` 并解压，得到词库文件 `CustomPinyinDictionary_Fcitx.dict` 。\n\t2. 拼音输入模式下，在输入法键盘上选择 `输入法设置` \u003e `管理词库` ，添加词库文件即可。\n\n- 通过模块安装\n    \u003e 首次安装如果报错 `词库文件夹不存在` ，请在拼音输入模式下前往 `输入法设置` \u003e `管理词库`，以让应用生成相关目录。\n\t1. 下载模块文件 `CustomPinyinDictionary_Fcitx_Magisk_\u003c版本号\u003e.zip` 。\n\t2. 使用 Magisk 或 KernelSU 应用进行安装更新。详见 [模块的使用](#模块的使用)\n\n\n---\n\n\n\u003cdiv\u003e\u003cimg src=\"https://play-lh.googleusercontent.com/X64En0aW6jkvDnd5kr16u-YuUsoJ1W2cBzJab3CQ5lObLeQ3T61DpB7AwIoZ7uqgCn4=s180\" alt=\"Gboard logo\" width=\"100\" align=\"right\"\u003e\u003c/div\u003e\n\n\n# Gboard\n\n![提示](https://img.shields.io/badge/-%E6%8F%90%E7%A4%BA-orange?style=for-the-badge)\n\n\u003e - 本词库仅对 ___中文（简体） 拼音___ 的键盘语言和布局生效。This thesaurus is only valid for ___Chinese (Simplified) Pinyin___ keyboard language and layout.\n\u003e - 词库数据通过模块进行安装，支持 Magisk 及 KernelSU\n\u003e - 当前词库在使用上会有一些限制和问题，详情请查看 [相关issue](https://github.com/wuhgit/CustomPinyinDictionary/issues/21)。\n\u003e - 如果是旧版数据用户 (即 2022-04-22 前通过直接替换文件方式进行安装的用户) ，先恢复词库至您之前备份的数据，若没有相应备份，当迁移至 Magisk 模式时，请先在模块安装时选择卸载，此时模块会将原有词库替换为空白数据，随后再进行安装。\n\u003e - 词库导入后，可能需要一段时间后才能在输入时感知到新词。您可以在 `Gboard 设置` \u003e `字典` \u003e `个人字典` \u003e `中文（简体）` 查看到本词库导入后的数据。\n\n下载模块文件 `CustomPinyinDictionary_Gboard_Magisk_\u003c版本号\u003e.zip` ，使用 Magisk 或 KernelSU 应用进行安装更新。详见 [模块的使用](#模块的使用)\n\n---\n\n\u003cdiv\u003e\u003cimg src=\"https://upload.wikimedia.org/wikipedia/commons/b/b8/Magisk_Logo.png\" alt=\"Magisk logo\" width=\"100\" align=\"right\"\u003e\u003c/div\u003e\n\u003cdiv\u003e\u003cimg src=\"https://kernelsu.org/logo.png\" alt=\"kernelsu logo\" width=\"100\" align=\"right\"\u003e\u003c/div\u003e\n\n# 模块的使用\n\n\u003e 安装、升级、卸载此模块均 **不需要重启** ，即时生效。\n\n打开 Magisk 或 KernelSU 的应用，进入 `模块` 页面\n\n- 首次安装\n   1.  `从本地安装` ，选择下载的模块文件。\n   2. 使用音量键选择`安装`。\n\n- 升级\n   - 直接检查更新并安装。\n\n- 卸载\n   1.  `从本地安装` ，选择下载的模块文件。\n   2. 使用音量键选择`卸载`。\n   3. 对本模块进行 `移除`。\n    \u003e ![注意](https://img.shields.io/badge/-%E6%B3%A8%E6%84%8F-red?style=for-the-badge)\n    \u003e - 若未按流程进行卸载而直接对模块执行移除，会导致词库数据仍然存在，此时可以再按照上面的`卸载`流程重新执行一遍，随后移除模块即可。\n    \u003e - “多用户”[^multi-user] 需要在确保其它已安装此模块的用户均已卸载的情况下才能进行移除。\n\n\n---\n\n\n[^multi-user]:  这里的“多用户”指 [Android 系统自带的“多用户”功能](https://source.android.com/docs/devices/admin/multi-user)。\u003cbr/\u003e\n  模块信息存放在系统目录，所有用户共用，而本模块写入的词库数据位于各用户独立的数据文件目录中，无法互相访问。\u003cbr/\u003e\n  如果某一用户需要使用本模块提供的词库数据，请使用该用户安装模块。\u003cbr/\u003e\n  在某一用户下进行的安装或升级操作，其它已安装本模块的用户数据会同步更新。\u003cbr/\u003e\n  如果某一用户不想再使用，单独以该用户执行卸载（只需执行 `卸载` 中的 1～2 即可），若其它用户也安装有此模块，请确保其它用户均完成卸载后再执行`移除`。\u003cbr/\u003e\n  使用 `Island`、`Shelter` 等应用创建的“多用户”需要进行一些[手动操作](https://github.com/wuhgit/CustomPinyinDictionary/issues/20)。\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwuhgit%2FCustomPinyinDictionary","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwuhgit%2FCustomPinyinDictionary","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwuhgit%2FCustomPinyinDictionary/lists"}