Skip to main content

Yet another Chinese input method engine

Project description

Chinese Pinyin Input Method Engine

Build Status

Yet another input method engine.

You can download data from Google code(hslinuxextra).

Tutorial

>> from ime.engine import Engine
>> e = Engine()

>> e.search('daima')
[(5, Word(han='代码', freq=6955)),
 (3, Word(han='带', freq=7438)),
 (3, Word(han='待', freq=6568)),
 ......]

>> e.search('bitebi')
[(4, Word(han='比特', freq=4210)),
 (4, Word(han='彼特', freq=912)),
 (2, Word(han='比', freq=7543)),
 ......]

TODO

  • word(full match)
  • candidate(sort by 1. length 2. frequence)
  • sentence(try to find correct words)
  • correct misspelling(fuzzy spell)
  • search with initials
  • adjust frequence of word dynamically

Project details


Download files

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

Files for ime, version 0.0.1
Filename, size File type Python version Upload date Hashes
Filename, size ime-0.0.1.tar.gz (3.3 kB) File type Source Python version None Upload date Hashes View
Filename, size ime-0.0.1-py3-none-any.whl (4.3 kB) File type Wheel Python version py3 Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page