Yet another Chinese input method engine
Project description
Chinese Pinyin Input Method Engine
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ime-0.0.1.tar.gz
(3.3 kB
view details)
Built Distribution
ime-0.0.1-py3-none-any.whl
(4.3 kB
view details)
File details
Details for the file ime-0.0.1.tar.gz
.
File metadata
- Download URL: ime-0.0.1.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 938c4f5d5c3007a33a5f917a2456a0e2de77ed87b4fca81ebf4a09a8079a0014 |
|
MD5 | f3738e85d1297789c729041bf7c39000 |
|
BLAKE2b-256 | 930c2dbb8d920696e9f9cc1185282b7dc66fa7d3945b2e89dd4f3e662f2055e3 |
File details
Details for the file ime-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: ime-0.0.1-py3-none-any.whl
- Upload date:
- Size: 4.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7cd5eb8fcf4ba00977b8771a7ab5fb9ab4f960cf610cde2dd961d489779747a6 |
|
MD5 | 044ab7995202659a20959c5e4fd9e585 |
|
BLAKE2b-256 | d88fec38fb0fefaf56352c6e3f579ca4cbbbeaf47d08bcea3686e713d7427932 |