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
Built Distribution
Hashes for yomigana_ebook-0.2.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7343e78464118f05062a882e6bcd02c05992c393e7a143e9eb3a20831f6a59a4 |
|
MD5 | 3ebad9cca630be12306546b7943b7b3a |
|
BLAKE2b-256 | d45f1562e71d2c766b0437b06889194d318b05c1c45fa07f86c624e5edb714a0 |