Skip to main content

Make learning Japanese easier by adding readings for every kanji in the eBook

Project description

yomigana ebook

This project is aimed at making Japanese eBooks more friendly to those who are learning Japanese now by adding readings for every Kanji in the eBooks.

To achieve this, the project utilizes Mecab, a Japanese morphological analyzer, and Unidic, a dictionary developed by NICT, to tokenize words and obtain the corresponding yomigana (reading) of each word. This information is then inserted above or besides the kanji characters in the eBook text, allowing readers to easily read and understand the pronunciation of each word.

Usage

you can install the package via pip:

$ pip install yomigana-ebook

then download the unidic dictionary:

$ python -m unidic download

now you can use it:

$ yomigana_ebook <your-ebooks>

or just clone the repo to use it:

$ git clone https://github.com/rabbit19981023/yomigana-ebook.git
$ pip install .
$ python -m unidic download
$ yomigana_ebook <your-ebooks>

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

yomigana_ebook-0.2.1.tar.gz (5.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

yomigana_ebook-0.2.1-py3-none-any.whl (7.2 kB view details)

Uploaded Python 3

File details

Details for the file yomigana_ebook-0.2.1.tar.gz.

File metadata

  • Download URL: yomigana_ebook-0.2.1.tar.gz
  • Upload date:
  • Size: 5.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.0 CPython/3.11.3 Linux/5.15.90.1-microsoft-standard-WSL2

File hashes

Hashes for yomigana_ebook-0.2.1.tar.gz
Algorithm Hash digest
SHA256 abd1ea1d3b5fc2a2e742b531fb3f07de6014f9df6e5098bf5547d6767a27885e
MD5 3840c0dcd4e0b27c8a90861c85bb8295
BLAKE2b-256 38c2c3f8f336f92d35b5de2b96fd86df0823a873f657fa65f4e297a7dcc1bc4c

See more details on using hashes here.

File details

Details for the file yomigana_ebook-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: yomigana_ebook-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 7.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.0 CPython/3.11.3 Linux/5.15.90.1-microsoft-standard-WSL2

File hashes

Hashes for yomigana_ebook-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7343e78464118f05062a882e6bcd02c05992c393e7a143e9eb3a20831f6a59a4
MD5 3ebad9cca630be12306546b7943b7b3a
BLAKE2b-256 d45f1562e71d2c766b0437b06889194d318b05c1c45fa07f86c624e5edb714a0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page