Giter VIP home page Giter VIP logo

jd6_encoder_cli's Introduction

jd6_encoder_cli

Rime版本星空键道6编码器CLI

用于编码用户新增的词组,同时支持校验码表中重码及错码等问题。

命令

usage: main.py [-h] -d DICT [-u USER] [-g GDQ] [-i IGNORE] [-s] [-f] [-v] [-a] [-r]

optional arguments:
  -h, --help            show this help message and exit
  -d DICT, --dict DICT  输入词库控制文件路径,如 /path/to/xkjd6.extended.dict.yaml
  -u USER, --user USER  可选,输入词库控制文件同目录下用户词库文件名称,默认为 xkjd6.user(.dict.yaml)
  -g GDQ, --gdq GDQ     可选,生成跟打器所用的码表文件路径
  -i IGNORE, --ignore IGNORE
                        可选,忽略错码检测的列表文件路径
  -s, --single          可选,额外启用校验单字编码的冗余情况
  -f, --fly             可选,额外启用校验飞键词组的编码是否缺失
  -v, --verify          可选,额外启用校验简码所对应的声韵词组
  -a, --irrational      可选,额外启用校验单字编码编排是否合理
  -r, --remote          可选,启用远程 API 获取多音字的拼音,需填写 config.ini

外部依赖

安装依赖

python -m pip install pyyaml requests pypinyin

jd6_encoder_cli's People

Contributors

lixiangwuxian avatar

Stargazers

 avatar  avatar

Forkers

lixiangwuxian

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.