Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Plugins

Notices

Reply
 
Thread Tools Search this Thread
Old 06-17-2021, 02:45 AM   #151
xxyzz
Evangelist
xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.
 
Posts: 442
Karma: 2666666
Join Date: Nov 2020
Device: none
Quote:
Originally Posted by jhowell View Post
Perhaps the book uses soft hyphens and those are being treated as word terminators instead of being ignored.
Indeed, soft hyphens are all over the place. Thanks!

Quote:
Originally Posted by AlaVander View Post
This problem occurs in both AZW3 and KFX
Update to v3.7.5, this version ignores soft hyphens in the book.
xxyzz is offline   Reply With Quote
Old 06-17-2021, 06:25 AM   #152
AlaVander
Enthusiast
AlaVander can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterAlaVander can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterAlaVander can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterAlaVander can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterAlaVander can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterAlaVander can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterAlaVander can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterAlaVander can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterAlaVander can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterAlaVander can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterAlaVander can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameter
 
Posts: 25
Karma: 12676
Join Date: Jan 2020
Device: none
Quote:
Originally Posted by BeckyEbook View Post
I confirm, that in your files exists soft-hyphens – & #173;
These are not visible marks, but are easy to remove.
Just move the cursor over a known word (eg protected) and copy the invisible character that is between "pro" and "tected".
Replace this character to "empty/nothing" and you will solve your problem.
Thank you. I did ignore soft hyphens because they don't appear as HTML entity symbols in Sigil. Why do you see them correctly? It should be noted that I have reserved soft hyphen as HTML entity symbol, but only when I input a new soft hyphen, it will be displayed as HTML entity symbol.
AlaVander is offline   Reply With Quote
Old 06-17-2021, 06:28 AM   #153
AlaVander
Enthusiast
AlaVander can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterAlaVander can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterAlaVander can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterAlaVander can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterAlaVander can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterAlaVander can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterAlaVander can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterAlaVander can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterAlaVander can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterAlaVander can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterAlaVander can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameter
 
Posts: 25
Karma: 12676
Join Date: Jan 2020
Device: none
Quote:
Originally Posted by xxyzz View Post
Update to v3.7.5, this version ignores soft hyphens in the book.
Great update. I think soft hyphens are necessary for Mobi and azw3.
AlaVander is offline   Reply With Quote
Old 06-17-2021, 07:06 AM   #154
BeckyEbook
Guru
BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.
 
BeckyEbook's Avatar
 
Posts: 849
Karma: 3341026
Join Date: Jan 2017
Location: Poland
Device: Various
Quote:
Originally Posted by AlaVander View Post
Thank you. I did ignore soft hyphens because they don't appear as HTML entity symbols in Sigil. Why do you see them correctly? It should be noted that I have reserved soft hyphen as HTML entity symbol, but only when I input a new soft hyphen, it will be displayed as HTML entity symbol.
I used the ShadyCharacters plugin to display the softhyphens.
BeckyEbook is offline   Reply With Quote
Old 06-17-2021, 08:35 AM   #155
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 28,645
Karma: 204624552
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
You can also add the soft hyphen entity to your Preserve Entities list in Sigil's preferences. That way they'll always appear as entities vs invisible characters.

Nice to see my old Shady Characters plugin is still getting a little love, though.
DiapDealer is offline   Reply With Quote
Old 06-18-2021, 12:06 AM   #156
xxyzz
Evangelist
xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.
 
Posts: 442
Karma: 2666666
Join Date: Nov 2020
Device: none
v3.7.6: fix decode error and detect joint MOBI

Joint MOBI: I can't find a way to update ASIN to both versions, use https://github.com/kevinhendricks/KindleUnpack to split the book(-s option).

ASIN and Wi-Fi: for anyone still has interest in this and also has a rooted Kindle, check out my post at https://www.mobileread.com/forums/sh...d.php?t=339833. I tried to add the fat file system read-only attribute to the file but Kindle ignores it.
xxyzz is offline   Reply With Quote
Old 06-18-2021, 01:15 AM   #157
Doitsu
Grand Sorcerer
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 5,736
Karma: 24031401
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by xxyzz View Post
Joint MOBI: I can't find a way to update ASIN to both versions, use https://github.com/kevinhendricks/KindleUnpack to split the book(-s option).
KevinH wrote a custom script for this: dualmetafix_mmap.py
Doitsu is offline   Reply With Quote
Old 06-18-2021, 08:26 AM   #158
xxyzz
Evangelist
xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.
 
Posts: 442
Karma: 2666666
Join Date: Nov 2020
Device: none
Quote:
Originally Posted by Doitsu View Post
KevinH wrote a custom script for this: dualmetafix_mmap.py
Thanks for the information. I agree with Kovid, it's not worth the effort. And the most import thing is I don't understand the script(and calibre and KindleUnpack's code), not no mention these corner cases...
xxyzz is offline   Reply With Quote
Old 06-23-2021, 08:58 PM   #159
smby
Junior Member
smby began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Jun 2021
Device: Kindle Oasis
I recieved the error message below. I am using 64 bit Calibre and 64 bit Python. Can you take a look please?

calibre, version 5.21.0 (win32, embedded-python: True)
Dumb error: Failed: Generating Word Wise for An American Sickness

Starting job: Generating Word Wise for An American Sickness
Job: "Generating Word Wise for An American Sickness" failed with error:
Traceback (most recent call last):
File "calibre\gui2\threaded_jobs.py", line 83, in start_work
File "calibre_plugins.worddumb.parse_job", line 32, in do_job
File "calibre_plugins.worddumb.parse_job", line 117, in find_named_entity
File "calibre_plugins.worddumb.x_ray", line 134, in search
File "calibre_plugins.worddumb.x_ray", line 104, in insert_entity
File "calibre_plugins.worddumb.x_ray", line 67, in search_wikipedia
KeyError: 'extract'

Called with args: ((4, 'MOBI', 'BBCFD059EV', 'C:\\Users\\Alan ML\\Calibre Library\\Elisabeth Rosenthal\\An American Sickness (4)\\An American Sickness - Elisabeth Rosenthal.mobi', <calibre.ebooks.metadata.book.base.Metadata object at 0x0000019BB75E1670>), True) {'notifications': <queue.Queue object at 0x0000019BB75E1DF0>, 'abort': <threading.Event object at 0x0000019BB75E1D90>, 'log': <calibre.utils.logging.GUILog object at 0x0000019BB75E1B80>}
smby is offline   Reply With Quote
Old 06-24-2021, 01:37 AM   #160
xxyzz
Evangelist
xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.
 
Posts: 442
Karma: 2666666
Join Date: Nov 2020
Device: none
Quote:
Originally Posted by smby View Post
KeyError: 'extract'
v3.7.7 fixes this error.
xxyzz is offline   Reply With Quote
Old 06-24-2021, 03:26 PM   #161
smby
Junior Member
smby began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Jun 2021
Device: Kindle Oasis
Quote:
Originally Posted by xxyzz View Post
v3.7.7 fixes this error.
Thank you!
smby is offline   Reply With Quote
Old 06-25-2021, 02:45 AM   #162
steakhutzeee
Connoisseur
steakhutzeee began at the beginning.
 
Posts: 63
Karma: 10
Join Date: Mar 2020
Device: Kindle Paperwhite 4 (2018)
Hi! Found this plugin just now.

I have some books already converted to KFX that i'm reading.

What is the correct procedure? Using WordDumb will add Word Wise and X Ray to all formats?

So i just have to connect the Kindle and press WorDumb, correct? I actually have EPUB and KFX versions of all books.

So I just tried with a couple of books. Word wise seems to be working fine. X Ray only partially. When selecting a character name I do not get a description of it but instead I have only the times it is mentioned in the book.

Also I have a lot of terms mixed with the characters and vice versa.

Last edited by steakhutzeee; 06-25-2021 at 11:14 AM.
steakhutzeee is offline   Reply With Quote
Old 06-25-2021, 09:26 PM   #163
xxyzz
Evangelist
xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.
 
Posts: 442
Karma: 2666666
Join Date: Nov 2020
Device: none
Quote:
Originally Posted by steakhutzeee View Post
When selecting a character name I do not get a description of it but instead I have only the times it is mentioned in the book.
That sounds like a bug. Can you upload a screenshot and the book if it's in the public domain?

Quote:
Originally Posted by steakhutzeee View Post
Also I have a lot of terms mixed with the characters and vice versa.
X-ray tokens are generated by NLTK which uses machine learning to classify named entities, it can't match the quality of sold books.
xxyzz is offline   Reply With Quote
Old 06-26-2021, 10:31 AM   #164
steakhutzeee
Connoisseur
steakhutzeee began at the beginning.
 
Posts: 63
Karma: 10
Join Date: Mar 2020
Device: Kindle Paperwhite 4 (2018)
Quote:
Originally Posted by xxyzz View Post
That sounds like a bug. Can you upload a screenshot and the book if it's in the public domain?



X-ray tokens are generated by NLTK which uses machine learning to classify named entities, it can't match the quality of sold books.
Hi, the book is not in the public domain, what can I do?
steakhutzeee is offline   Reply With Quote
Old 06-26-2021, 09:18 PM   #165
xxyzz
Evangelist
xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.
 
Posts: 442
Karma: 2666666
Join Date: Nov 2020
Device: none
Quote:
Originally Posted by steakhutzeee View Post
Hi, the book is not in the public domain, what can I do?
- send a private message of the book download link to me in this forum

- or create a new issue at GitHub and upload the book there

- or post a screenshot, the book title and the x-ray file, I'll try to find the book
xxyzz is offline   Reply With Quote
Reply

Tags
worddumb, x-ray


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[GUI Plugin] KindleUnpack - The Plugin DiapDealer Plugins 523 07-15-2025 06:45 PM
[GUI Plugin] CalibreSpy DaltonST Plugins 245 08-18-2024 09:33 PM
[GUI Plugin] Manga plugin mastertea Plugins 6 01-06-2022 02:43 AM
[GUI Plugin] Save Virtual Libraries To Column (GUI) chaley Plugins 14 04-04-2021 05:25 AM
[GUI Plugin] Plugin Updater **Deprecated** kiwidude Plugins 159 06-19-2011 12:27 PM


All times are GMT -4. The time now is 12:15 AM.


MobileRead.com is a privately owned, operated and funded community.