Skip to main content

Chinese IME ciku(aka cell wordlist file) parsing tool

This project has been archived.

The maintainers of this project have marked this project as archived. No new releases are expected.

Project description

IME-Utils

Chinese IME ciku (aka cell wordlist file) parsing tool.

支持:

  • 搜狗拼音(.scel
  • 百度拼音(.bdict)、百度输入法手机版(.bcd
  • QQ 拼音(.qcel)、QQ 拼音旧版(6.0 以下词库,.qpyd
  • 华宇拼音(紫光输入法)(.uwl

调用

# 安装:uv pip install .
# 用例:
from ime_utils.parser import SogouParser, BaiduParser

parser = BaiduParser()
files = [
    "医学词汇.bdict",
    "电影明星.bdict",
    "体操基本术语.bdict",
]

for file in files[:]:
    if parser.parse(file):
        parser.save_data(f"out-{file}.txt", keep_error=False)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ime_utils-0.1.0.tar.gz (15.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ime_utils-0.1.0-py3-none-any.whl (21.3 kB view details)

Uploaded Python 3

File details

Details for the file ime_utils-0.1.0.tar.gz.

File metadata

  • Download URL: ime_utils-0.1.0.tar.gz
  • Upload date:
  • Size: 15.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.4

File hashes

Hashes for ime_utils-0.1.0.tar.gz
Algorithm Hash digest
SHA256 e95f8e3ffc3f8ce0d521333255b6a349bda766122d68154e1a1b567fb0cd063d
MD5 996642c10710ffd844e834cd4875e2bd
BLAKE2b-256 99faf0326af104e766395e0716bf8bfd2e5675729115cfcdce4e79737720e721

See more details on using hashes here.

File details

Details for the file ime_utils-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: ime_utils-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 21.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.4

File hashes

Hashes for ime_utils-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1f90e6e19546c95bd887c0b475b4c7f138c705cf4b197721be17105e663cf9bf
MD5 6018d1b8983769ee9eacbcc5a88983b2
BLAKE2b-256 3aedf2103f9ff2eb0a5116ce75e86c38ae83b1133528880b51e6f5601decaaf8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page