migemo

migemo Japanese search for Node


Keywords
migemo, japanese
License
WTFPL
Install
npm install migemo@0.1.7

Documentation

node-migemo

This is a re-implementation of migemo in NodeJS. Migemo is a tool for generating regular expressions for Japanese based on romaji input. Wapuro style input (and therefore most of Kunreishiki and Hepburn) is supported.

migemo demo using searchy

Unlike other migemos, the dictionary is based on Edict2, not SKK, which solves some problems but creates others.

To start using it right away, install together with searchy.

npm install -g migemo searchy

License

The code I have written is released under the WTFPL, do as you like. However, please note the dictionary file is based on edict2 and subject to its terms. I understand this as basically CC-BY-SA-3.0, but please see here.

Other Versions

There are many other implementations of migemo. Besides the original Ruby version you may also be interested in this browser-friendly JS version.

For reference here are the other implementations I'm aware of: