Skip to content
This repository has been archived by the owner on Dec 23, 2021. It is now read-only.

Latest commit

 

History

History
32 lines (21 loc) · 1.3 KB

README.md

File metadata and controls

32 lines (21 loc) · 1.3 KB

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!