Skip to content

TTWNO/epub-with-pinyin

Repository files navigation

epub-pinyin

Adds Chinese phonetic scripts to .epub files

  • Pinyin
  • Jyutping (comming soon)

Requirements

Instalation

  • If you are on Linux, and are using python3
sudo easy_dependencies_linux_python3.sh
  • For everyone else, or to do it manually
git clone https://github.com/TTWNO/dragonmapper.git
cd dragonmapper
git checkout develop
setup.py install
rm -rf dragonmapper

pip install -r requirements.txt

Usage:

./add_pinyin.sh foobar.epub

New file will be saved as foobar-with-pinyin.epub Report errors to: taitskywalker@gmail.com || use issues tab.