wranai / mecab-translate

Japanese text reading assistant featuring jpn-eng translations, text-to-speech, and detailed kanji information.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

mecab-translate

Make sense of Japanese text with minimal effort and learn kanji in the process. Uses MeCab to break the input to words, allowing their dictionary form to be looked up from JMDict. Kanji information is provided by KANJIDIC2 and KanjiVG. Text-to-speech is also available.

Requirements

Back-end

  • Tested on Windows XP, Windows 7, Linux, should work on Mac as well
  • Python 2 or 3
  • MeCab (binary included for Windows)
  • (recommended if Windows) some SAPI5 text-to-speech engine that can speak Japanese. ResponsiveVoice can be used as well, though.

Front-end

  • A modern web browser
  • Mouse highly recommended, but touch devices should work to some extent

Deployment

git clone https://github.com/siikamiika/mecab-translate
cd mecab-translate
pip install --upgrade tornado pypiwin32 pyperclip # omit pypiwin32 if you aren't on Windows or you plan not to use SAPI5 based text-to-speech
./download_dependencies.py
# read below first
./server.py

On Linux, MeCab must be installed separately.

Use

Nothing yet!

About

Japanese text reading assistant featuring jpn-eng translations, text-to-speech, and detailed kanji information.


Languages

Language:JavaScript 46.2%Language:Python 29.7%Language:HTML 21.4%Language:CSS 2.7%Language:Batchfile 0.0%