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 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.0.tar.gz (5.6 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.0-py3-none-any.whl (7.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: yomigana_ebook-0.2.0.tar.gz
  • Upload date:
  • Size: 5.6 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.0.tar.gz
Algorithm Hash digest
SHA256 5b75f259b9235c098df79e738c0347783902890d282efe9746f5593c034429af
MD5 f42e0e5aec102477ee480224c9ff064b
BLAKE2b-256 6517434234ddb939e38d01c892e444d63c7bc019eaccbf1b9b310fa797fc83c4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: yomigana_ebook-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 7.1 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3eb0e18dfc88bdceff924962a5545dcda55ee92157be2fd4022984ab7337a9f1
MD5 51ae25630d5263ded96bc827932295bb
BLAKE2b-256 bc8e60a51a993d4328199e2d34c4f280b7e3875c3b1b375c8e02479975823680

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