![]() |
#1 |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Mar 2020
Device: Kindle Paperwhite
|
![]()
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 Last edited by NiLuJe; 03-15-2020 at 03:08 PM. Reason: Inlined the thumbnail to avoid breaking forum layout. |
![]() |
![]() |
![]() |
#2 |
Enthusiast
![]() Posts: 33
Karma: 10
Join Date: Nov 2018
Device: Kobo Touch
|
May I ask the purpose of generating word wise for other ebook format out of .mobi file?
Will the word wise also appear on a non-kindle device or will koreader show word wise epub file ? Thank you Last edited by Uphantom89; 03-16-2020 at 11:31 AM. |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Mar 2020
Device: Kindle Paperwhite
|
Yes, this will show word-wise for epub file and for all non-kindle device
|
![]() |
![]() |
![]() |
#4 |
Member
![]() Posts: 19
Karma: 10
Join Date: Apr 2018
Device: none
|
could you please explain how to use this?
thanks |
![]() |
![]() |
![]() |
#5 |
Addict
![]() Posts: 315
Karma: 26
Join Date: Jul 2012
Device: Kindle Paperwhite 4 (2018)
|
Would this work for foreign languages? Would be *amazing* to have this for me trying to read a book in spanish (would like to see english words underneath the spanish words)
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
curly᷂͓̫̙᷊̥̮̾ͯͤͭͬͦͨ ʎʌɹnɔ
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,016
Karma: 50506927
Join Date: Dec 2010
Location: ♁ ᴺ₄₅°₃₀' ᵂ₇₃°₃₇' ±₆₀"
Device: K3₃.₄.₃ PW3&4₅.₁₃.₃
|
It could, but I think @xnohat dictionary is sourced from the Amazon WordWise sql file, which at this time is english only. You would have to supply a dictionary WordWizing from spanish.
|
![]() |
![]() |
![]() |
#7 |
Enthusiast
![]() Posts: 45
Karma: 10
Join Date: Aug 2016
Device: Kobo
|
Hi, I don't understand how to use this, could someone explain how to? thanks in andvance.
|
![]() |
![]() |
![]() |
#8 |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: May 2009
Device: Kindle 2
|
Hi xnohat,
I've this error: Code:
$ php wordwisecreator.php /Users/xxx/test_book.azw3 5 [+] Load Stop Words [+] Load Wordwise Dict [+] Clean old temps [+] Convert Book to HTML [+] Load Book Contents Warning: file_get_contents(book_dump_html/index.html): failed to open stream: No such file or directory in /Users/xxx/Downloads/wordwisecreator/wordwisecreator.php on line 61 [+] Process (1) Words [+] Create New Book with Wordwised Warning: file_put_contents(book_dump_html/index.html): failed to open stream: No such file or directory in /Users/xxx/Downloads/wordwisecreator/wordwisecreator.php on line 115 [+] 3 book EPUB, AZW3, PDF with wordwise generated Done ! Any help? Thanks! |
![]() |
![]() |
![]() |
#9 |
Junior Member
![]() Posts: 5
Karma: 10
Join Date: May 2016
Device: NOOK simple
|
Thank for the tool.
I edited some style to add the bracket above. However, we need to agree that it's still not perfect, hope you can to make it like real ![]() Ref: https://jsfiddle.net/fgnp07ty/1/ ----- Line 99-100: can use ruby or span data-tooltip Line 117-119: add "--extra-css ./ruby.css" while converting code.zip |
![]() |
![]() |
![]() |
#10 |
Member
![]() Posts: 12
Karma: 10
Join Date: Aug 2018
Device: Kindle Voyage
|
|
![]() |
![]() |
![]() |
#11 | |
Member
![]() Posts: 12
Karma: 10
Join Date: Aug 2018
Device: Kindle Voyage
|
Quote:
Dude, seriously can you make a tutorial how to do this? I am considering buyin a kobo instead of kindle but Wordwise is holding me back If this works with anytype of files and can be run on kobo It would be really awesome!! |
|
![]() |
![]() |
![]() |
#12 |
Member
![]() Posts: 12
Karma: 10
Join Date: Aug 2018
Device: Kindle Voyage
|
Can someone please actually explain how to use this from a user point of view?
|
![]() |
![]() |
![]() |
#13 |
Member
![]() Posts: 12
Karma: 10
Join Date: Aug 2018
Device: Kindle Voyage
|
Ok I found out how to run the script!!! this is great!! I can read the file on any app and see the wordwise!!!
one question, is the wordwise translation actually accurate as amazon kindle? Last edited by sprazer; 02-10-2022 at 05:57 PM. |
![]() |
![]() |
![]() |
#14 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 407
Karma: 314204
Join Date: Jan 2015
Device: bq Avant XL, Kobo Aura H2O, Onyx Boox M96C Plus
|
|
![]() |
![]() |
![]() |
#15 |
Junior Member
![]() Posts: 1
Karma: 10
Join Date: Apr 2022
Device: kindle
|
I made wordwise in Korean version
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to generate a TOC as a page in the eBook? | alegriadelarte | Editor | 11 | 05-23-2018 09:16 AM |
PRS-T2 script to generate collections | stegro | Sony Reader Dev Corner | 8 | 01-05-2018 03:58 AM |
Generate eBook from Bookmarks Archive | vaniaspeedy | General Discussions | 0 | 01-01-2013 10:44 PM |
Script to generate thumbnails | Jellby | Bookeen | 0 | 01-02-2010 11:51 AM |
Script to Generate Stanza Online Catalog for your Iphone/Touch | RoninTech | Calibre | 117 | 09-05-2009 12:45 AM |