View Single Post
Old 03-15-2020, 01:22 PM   #1
xnohat
Junior Member
xnohat began at the beginning.
 
xnohat's Avatar
 
Posts: 3
Karma: 10
Join Date: Mar 2020
Device: Kindle Paperwhite
Post Script generate WordWise for all type of ebook

Hello everyone,

I've create a simple script to generate WordWise for all type of ebook. My work based on research of @m1lovanovt. Instead of generate Wordwise information for .mobi file (Amazone Kindle Format), I try to using <ruby> html tag to generate WordWise format on any type of ebook. There are some bugs still need to fix, welcome to your contributions !

Hope this script will help others love this Wordwise feature like me.



Here is source code https://github.com/xnohat/wordwisecreator

You need to have calibre on your device.

usage: php wordwisecreator.php input_file hint_level
input_file : path to file need to generate wordwise
hint_level : from 1 to 5 default is 5, 1 is less wordwise hint show - only hard word will have definition, 5 is all wordwise hints show
Attached Thumbnails
Click image for larger version

Name:	WordWise-GeneratedTest.png
Views:	2317
Size:	225.9 KB
ID:	177736  

Last edited by NiLuJe; 03-15-2020 at 03:08 PM. Reason: Inlined the thumbnail to avoid breaking forum layout.
xnohat is offline   Reply With Quote