GithubHelp home page GithubHelp logo

dadiigang / custompinyindictionary Goto Github PK

View Code? Open in Web Editor NEW

This project forked from wuhgit/custompinyindictionary

0.0 0.0 0.0 974 KB

自建拼音输入法词库,百万常用词汇量,适配 Fcitx5 (Linux / Android) 及 Gboard (Android + Magisk) 。

custompinyindictionary's Introduction


针对日常输入习惯,当前词库包含了以下内容:

  • 人文类
    • 成语
    • 俗语
    • 诗歌
    • 汉语相关词典(感谢FREEMDICT
    • ……
  • 地理类
  • 生活类
    • 统计用产品分类目录(数据来源:国家统计局
    • 商品目录(数据来源:京东、淘宝 等购物网站)
    • 常见人名
    • ……
  • 其它
    • 第三方输入法词库
    • ……

已对以上所有数据进行去重、精简处理。


Fcitx5 logo

Fcitx 5 Linux

  • 手动安装

    1. 下载 CustomPinyinDictionary_Fcitx_<版本号>.tar.gz 并解压,得到词库文件 CustomPinyinDictionary_Fcitx.dict
    2. 将词库文件复制到目录 /usr/share/fcitx5/pinyin/dictionaries/ 中(如果没有这个目录,您可以自行创建)。
    3. 重启 Fcitx 后即可生效。
  • 通过用户软件仓库安装

    • AUR

Fcitx 5 Android

  • 手动安装

    1. 下载 CustomPinyinDictionary_Fcitx_<版本号>.tar.gz 并解压,得到词库文件 CustomPinyinDictionary_Fcitx.dict
    2. 拼音输入模式下,在输入法键盘上选择 输入法设置 > 词典,添加词库文件即可。
  • 通过 Magisk 模块安装

    1. 下载模块文件 CustomPinyinDictionary_Fcitx_Magisk_<版本号>.zip
    2. 使用 Magisk 应用进行安装更新。详见 Magisk 模块的使用

Gboard logo

Gboard (Magisk 模块)

提示

  • 本词库仅对 中文(简体) 拼音 的键盘语言和布局生效。
  • 如果是旧版数据用户 (即 2022-04-22 前通过直接替换文件方式进行安装的用户) ,先恢复词库至您之前备份的数据,若没有相应备份,当迁移至 Magisk 模式时,请先在模块安装时选择卸载,此时模块会将原有词库替换为空白数据,随后再进行安装。
  • 词库导入后,可能需要一段时间后才能在输入时感知到新词。您可以在 Gboard 设置 > 字典 > 个人字典 > 中文(简体) 查看到本词库导入后的数据。

下载模块文件 CustomPinyinDictionary_Gboard_Magisk_<版本号>.zip ,使用 Magisk 应用进行安装更新。详见 Magisk 模块的使用


Magisk logo

Magisk 模块的使用

安装、升级、卸载此模块均 不需要重启 ,即时生效。

打开 Magisk 应用,进入 模块 页面

  • 首次安装

    1. 从本地安装 ,选择下载的模块文件。
    2. 使用音量键选择安装
  • 升级

    • 直接检查更新并安装。
  • 卸载

    1. 从本地安装 ,选择下载的模块文件。
    2. 使用音量键选择卸载
    3. 对本模块进行 移除

    注意

    • 若未按流程进行卸载而直接对模块执行移除,会导致词库数据仍然存在,此时可以再按照上面的卸载流程重新执行一遍,随后移除模块即可。
    • “多用户”1 需要在确保其它已安装此模块的用户均已卸载的情况下才能进行移除。

Footnotes

  1. 这里的“多用户”指 Android 系统自带的“多用户”功能
    Magisk 模块信息存放在系统目录,所有用户共用,而本模块写入的词库数据位于各用户独立的数据文件目录中,无法互相访问。
    如果某一用户需要使用本模块提供的词库数据,请使用该用户安装模块。
    在某一用户下进行的安装或升级操作,其它已安装本模块的用户数据会同步更新。
    如果某一用户不想再使用,单独以该用户执行卸载(只需执行 卸载 中的 1~2 即可),若其它用户也安装有此模块,请确保其它用户均完成卸载后再执行移除
    使用 IslandShelter 等应用创建的“多用户”需要进行一些手动操作

custompinyindictionary's People

Contributors

wuhgit avatar

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.