https://github.com/garthtb/autofillcode
以词频为优先级自动装填简码。
https://github.com/garthtb/autofillcode
Last synced: 2 months ago
JSON representation
以词频为优先级自动装填简码。
- Host: GitHub
- URL: https://github.com/garthtb/autofillcode
- Owner: GarthTB
- License: agpl-3.0
- Created: 2024-06-20T22:12:01.000Z (11 months ago)
- Default Branch: master
- Last Pushed: 2024-06-20T22:38:03.000Z (11 months ago)
- Last Synced: 2025-01-22T08:17:24.587Z (4 months ago)
- Language: C#
- Size: 37.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# 简码自动装填工具
有了某些**字词**的**全码**,[统计](https://github.com/GarthTB/WordFreqCounter)或者[爬取](https://github.com/GarthTB/BCCFreqSpider)到了**词频**,简码就可以轻易生成了。
输入文件须为UTF-8编码。每一行的格式为`字词\t编码\t优先级(词频)`。
输出文件总共有三个:
- `_SimplifiedOnly.txt`:简化得到的所有新码
- `_RemainsOnly.txt`:没法简化的剩余码
- `_Full.txt`:包含简码、保留全码的总文件## 控制台参数:
1. 字词-编码-优先级文件路径
2. 最短码长(0-255)