Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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 cmigemo

migemo = cmigemo.Migemo("/usr/share/cmigemo/utf-8/migemo-dict")

print(migemo.query("hoge"))
# (ホゲ|補元|保元|帆桁|捕鯨|ほげ|hoge|hoge)
```