{"id":20632411,"url":"https://github.com/dragonish/huma-rime-adder","last_synced_at":"2026-06-08T19:01:33.319Z","repository":{"id":258190953,"uuid":"871879844","full_name":"dragonish/huma-rime-adder","owner":"dragonish","description":"基于虎码秃版方案的 Rime 加词器","archived":false,"fork":false,"pushed_at":"2025-12-31T13:45:11.000Z","size":638,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-04T21:30:27.917Z","etag":null,"topics":["add","adder","encoder","huma","input-method","pinyin","rime","tiger"],"latest_commit_sha":null,"homepage":"","language":"Python","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/dragonish.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-10-13T07:43:33.000Z","updated_at":"2025-12-31T13:45:01.000Z","dependencies_parsed_at":"2025-02-19T06:26:27.592Z","dependency_job_id":"e8a6948a-4ea9-4a42-b515-c2f0ba9efe59","html_url":"https://github.com/dragonish/huma-rime-adder","commit_stats":null,"previous_names":["dragonish/huma-rime-adder"],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/dragonish/huma-rime-adder","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dragonish%2Fhuma-rime-adder","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dragonish%2Fhuma-rime-adder/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dragonish%2Fhuma-rime-adder/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dragonish%2Fhuma-rime-adder/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dragonish","download_url":"https://codeload.github.com/dragonish/huma-rime-adder/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dragonish%2Fhuma-rime-adder/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34075978,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-08T02:00:07.615Z","response_time":111,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["add","adder","encoder","huma","input-method","pinyin","rime","tiger"],"created_at":"2024-11-16T14:16:06.788Z","updated_at":"2026-06-08T19:01:33.284Z","avatar_url":"https://github.com/dragonish.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 猛击虎码加词器\n\n基于[虎码秃版](http://huma.ysepan.com/)方案的 Rime 加词器，允许根据码表结构调整配置。\n\n## 功能\n\n- 添加新的词条。\n- 为词条调频或者删除词条。\n- 自动编码输入词条及其拼音。\n- 查询编码所对应的重码项目。\n- 可选地编码英文单词。\n- 可选地编码简词。\n- 可选地添加或调整表情(Emoji)滤镜。\n- 可选地添加或调整符号(symbols)字典。\n- 校验及整理码表文件。\n\n## 预览\n\n### Windows\n\n\u003c!-- markdownlint-disable MD033 --\u003e\n\u003cimg src=\"./images/windows.jpg\" alt=\"Windows\" width=\"520\" /\u003e\n\n### macOS\n\n![macOS](./images/macos.jpg)\n\n### Linux Mint\n\n![Linux Mint](./images/linux.png)\n\n## 运行\n\n### 运行打包的二进制文件\n\n前往 [Releases](https://github.com/dragonish/huma-rime-adder/releases) 下载对应平台的压缩包，解压并运行二进制文件即可。\n\n### 运行脚本源码\n\n1. 安装 [Python 3](https://www.python.org/downloads/)。\n\n2. 下载或者克隆(*需要安装 [git](https://git-scm.com/downloads)*)项目至本地：\n\n    ```bash\n    # 克隆项目\n    git clone https://github.com/dragonish/huma-rime-adder.git\n\n    # 进入项目目录\n    cd huma-rime-adder\n    ```\n\n3. 运行以下命令安装程序依赖：\n\n    ```bash\n    python -m pip install -r requirements.txt\n    ```\n\n4. 运行以下命令启动程序：\n\n    ```bash\n    python main.py\n    ```\n\n## 用法\n\n### 启动命令\n\n- `-c, --config \u003cconfig_file\u003e`: 可选，设置配置文件路径。未指定时，默认尝试读取程序根目录下的 `config.ini` 文件。\n- `-l, --log \u003clog_level\u003e`: 可选，设置日志级别。默认为 `INFO`。可选值有 `TRACE`、`DEBUG`、`INFO`、`WARNING` 和 `ERROR`。\n- `-w, --work \u003cwork_dir\u003e`: 可选，设置工作目录(码表文件所在目录)。默认为当前工作目录。\n- `-i, --input \u003cword\u003e`: 可选，启动时直接编码的词条。\n- `-e, --encode \u003cwords_file\u003e`: 可选，直接批量编码词库文件(每行一个词条)，将结果导入至扩展码表文件中。\n- `-t, --tiny-pinyin-table`: 可选，直接整理拼音码表文件。\n- `-p, --tiny-pinyin-tip`: 可选，直接整理拼音滤镜文件。\n\n### 配置文件\n\n可参照 `config.ini.template` 在程序目录下创建 `config.ini` 配置文件。\n\n优先级：命令行参数 \u003e 配置文件 \u003e 默认值。\n\n### 界面说明\n\n#### 词条\n\n在\"新词\"输入框中输入要添加的新词条，点击\"编码\"按钮或者按下回车键则自动编码并查询重码情况。\n\n若需要添加简词，可以编辑\"编码\"输入框中的编码，然后点击\"查询\"按钮以查看此编码的重码情况。\n\n可以根据重码情况或者调频需求调整待插入词条的权重值，亦可以在重码列表中使用右键删除词条。\n\n点击\"添加\"按钮将缓存新词条，可以连续添加多个词条。\n\n关闭程序窗口后则会开始写入缓存的新词条至码表文件。若需要放弃此次修改，可切换至\"其他\"分页点击\"强制退出\"按钮。\n\n最后重新部署输入法即可。\n\n#### 表情\n\n在\"文本\"输入框中输入要添加新表情的文本，点击\"查询\"按钮或者按下回车键则查询当前文本的表情列表情况。\n\n在\"表情\"输入框中输入要添加的新表情，点击\"插入\"按钮将此新表情插入至表情列表。\n\n可以在表情列表框内拖动排序、右键删除指定表情。\n\n点击\"完成\"按钮将缓存表情列表。\n\n关闭程序窗口后则会开始写入缓存的表情列表至滤镜配置文件。若需要放弃此次修改，可切换至\"其他\"分页点击\"强制退出\"按钮。\n\n最后重新部署输入法即可。\n\n#### 符号\n\n在\"编码\"输入框中输入要添加新符号的编码(*不带前缀 `/`*)，点击\"查询\"按钮或者按下回车键则查询当前编码的符号列表情况。\n\n在\"符号\"输入框中输入要添加的新符号，点击\"插入\"按钮将此新符号插入至符号列表。\n\n可以在符号列表框内拖动排序、右键删除指定符号。\n\n此外，可以在\"注释\"输入框内输入注释信息，这些注释信息最终会被写入在相应符号编码定义的上一行中。\n\n点击\"完成\"按钮将缓存符号列表。\n\n关闭程序窗口后则会开始写入缓存的符号列表至字典文件。若需要放弃此次修改，可切换至\"其他\"分页点击\"强制退出\"按钮。\n\n最后重新部署输入法即可。\n\n#### 其他\n\n展示一些程序的相关信息。\n\n- \"导入词库文件\"按钮用于批量从词库文件(每行一个词条)里导入词条并自动进行编码。\n- \"校验三简词\"按钮用于校验是否存在与常用单字重复编码的三简词或者多个相同编码的三简词，此外允许继续执行自动处理三简词操作。\n- \"整理拼音码表\"按钮用于移除拼音码表中重复的编码词条，并重写拼音码表文件。\n- \"整理拼音滤镜\"按钮用于根据码表中的词组重新生成对应拼音提示，并覆盖及重写拼音词组滤镜配置文件。\n- \"强制退出\"按钮用于强制退出当前程序，不进行任何写入与保存文件等操作。\n\n### 程序退出代码\n\n- `0` 表示程序正常退出。\n- `1` 表示程序异常退出。\n- `3` 表示程序正常退出但无实际写入文件操作。\n- `4` 表示程序强制退出。\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdragonish%2Fhuma-rime-adder","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdragonish%2Fhuma-rime-adder","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdragonish%2Fhuma-rime-adder/lists"}