Eiwaji

eiwaji is a Japanese-to-English lexer and dictionary. It uses mecab (with help from ve) to analyze Japanese sentences and allows for easy offline lookup of the parsed terms using JMDict.

Features

  • Lookup Japanese terms in English or other JMDict languages
  • Separate Japanese text by part-of-speech and click a parsed term to lookup
  • Capture clipboard to automatically analyze copied text

Requirements

  • Linux / OSX
  • libxml-ruby requirements (libm, zlib, libiconv, libxml2)
  • qtbindings requirements (Qt 4.8.x, cmake 2.8.x, gcc 4.x)
  • mecab & mecab-ipadic

Tested on Ruby 2.2.3 & 2.2.4.

Does not build on Ruby 2.3.0 because of this Ruby bug preventing the compilation of certain C++ extensions. If you install a separate Ruby version, it MUST be compiled with --enable-shared, or the application won't run. (If you're using ruby-build, this flag is not set by default.)

Installation

Make sure all requirements are installed before installing the gem.

gem install eiwaji

eiwaji

License

BSD

TODO

  • Windows support / install instructions
  • Study list creation / saving
  • Reduce false negatives in lexer