Skip to content

weakish/migemo-dict-zh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This repository contains:

  • a dictionary to use cmigemo with Chinese
  • a Rakefile.rb to build the dictionary

Usage

The develop branch of cmigemo has this directory built-in. You can use it, e.g. via

cmigemo /usr/local/share/migemo/utf-8/migemo-dict-zh

For older versions of cmigemo, put migemo-dict-zh to the place you want, then use it with cmigemo -d:

cmigemo -d /path/to/migemo-dict-zh --other-cmigemo-options

You can also write a script zhmigemo and put it in your $PATH:

#!/bin/sh
cmigemo -d /path/to/migemo-dict-zh "$@"

If you use fish, you can just add a function:

function zhmigemo
    cmigemo -d /path/to/migemo-dict-zh $argv
end
funcsave zhmigemo

If you want to build the dictionary, you can just clone this repository, then run the following commands inside:

bundle install
rake

Credit

Dictionary is converted from hanzi_to_pinyin_node.

Todo

Support searching against phrases.

About

A dictionary to use cmigemo with Chinese.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published