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
Metadata
Release files for ime 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ime-0.0.1.tar.gz | 3.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ime-0.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.6 kB
Release files / ime-0.0.1.tar.gz
| Download URL | ime-0.0.1.tar.gz |
|---|---|
| Size | 3.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
938c4f5d5c3007a33a5f917a2456a0e2de77ed87b4fca81ebf4a09a8079a0014
|
|
BLAKE2b-256 checksum How to use checksums |
930c2dbb8d920696e9f9cc1185282b7dc66fa7d3945b2e89dd4f3e662f2055e3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / ime-0.0.1-py3-none-any.whl
| Download URL | ime-0.0.1-py3-none-any.whl |
|---|---|
| Size | 4.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7cd5eb8fcf4ba00977b8771a7ab5fb9ab4f960cf610cde2dd961d489779747a6
|
|
BLAKE2b-256 checksum How to use checksums |
d88fec38fb0fefaf56352c6e3f579ca4cbbbeaf47d08bcea3686e713d7427932
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|