Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mooz/python-cmigemo
A pure python binding for C/Migemo
https://github.com/mooz/python-cmigemo
Last synced: about 1 month ago
JSON representation
A pure python binding for C/Migemo
- Host: GitHub
- URL: https://github.com/mooz/python-cmigemo
- Owner: mooz
- Created: 2013-10-05T05:03:46.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2015-07-28T10:05:46.000Z (over 9 years ago)
- Last Synced: 2024-10-07T14:07:32.801Z (3 months ago)
- Language: Python
- Size: 144 KB
- Stars: 3
- Watchers: 5
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# python-cmigemo
python-cmigemo is a pure python binding for C/Migemo (http://www.kaoriya.net/software/cmigemo/).
## Installation
$ pip install cmigemo
And of cource, you need C/Migemo.
$ apt-get install cmigemo
## Usage
python-cmigemo can be used as an alternative to PyMigemo (http://www.atzm.org/etc/pymigemo/).
```python
import cmigemomigemo = cmigemo.Migemo("/usr/share/cmigemo/utf-8/migemo-dict")
print(migemo.query("hoge"))
# (ホゲ|補元|保元|帆桁|捕鯨|ほげ|hoge|hoge)
```