![]() |
#511 |
Member
![]() Posts: 12
Karma: 10
Join Date: Jan 2022
Device: Kindle oasis
|
Hi,
Just a quick question, how do I use x-ray? Do I have to do some configuration for each book, because I checked it with "A game of thrones" book and I have found that some of the names didn't have any x-ray information. Really am thankful for your efforts. |
![]() |
![]() |
![]() |
#512 | |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 442
Karma: 2666666
Join Date: Nov 2020
Device: none
|
Quote:
1: Wikipedia or Fandom doesn't have a page for that character 2: spaCy couldn't recognize the name as a name You could use the "Customize X-Ray" feature to tell spaCy to find the name and add a description if Wikipedia or Fandom doesn't have data for that character. And this configuration file will be saved at the same folder of the book file. You can copy this file to other book folders. |
|
![]() |
![]() |
Advert | |
|
![]() |
#513 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 442
Karma: 2666666
Join Date: Nov 2020
Device: none
|
v3.28.0
New features:
Bug fixes:
Other changes:
Last edited by xxyzz; 12-05-2022 at 06:49 PM. |
![]() |
![]() |
![]() |
#514 |
curly᷂͓̫̙᷊̥̮̾ͯͤͭͬͦͨ ʎʌɹnɔ
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,018
Karma: 50506927
Join Date: Dec 2010
Location: ♁ ᴺ₄₅°₃₀' ᵂ₇₃°₃₇' ±₆₀"
Device: K3₃.₄.₃ PW3&4₅.₁₃.₃
|
Performance stats
@xxyzz Thanks for all the work.
Just for fun, when X-RAYing a typical 350 pages book with WordDumb On my system: Windows 10 64bits & AMD Ryzen 7 3800X & NVIDIA GeForce GTX 1660 CPU model: elapsed time 12sec GPU@2% CPU@12% GPU model: elapsed time 77sec GPU@90% CPU@3% HaHaHa, I would have thought otherwise. Shows how poor my rig is at gaming! |
![]() |
![]() |
![]() |
#515 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 442
Karma: 2666666
Join Date: Nov 2020
Device: none
|
Maybe spaCy finds some new X-Ray entities with GPU model and queries them on Wikipedia API takes some time at the first time, create X-Ray for the same book later would use a Wikipedia cache file.
Memory usage could also be a factor. I don't know how much RAM(system and GPU RAM) spaCy GPU model would use, but I guess 6G should be enough. And spaCy doc says the GPU model has higher NER accuracy, do you think the X-Ray file get better? Last edited by xxyzz; 12-05-2022 at 07:14 PM. |
![]() |
![]() |
Advert | |
|
![]() |
#516 |
curly᷂͓̫̙᷊̥̮̾ͯͤͭͬͦͨ ʎʌɹnɔ
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,018
Karma: 50506927
Join Date: Dec 2010
Location: ♁ ᴺ₄₅°₃₀' ᵂ₇₃°₃₇' ±₆₀"
Device: K3₃.₄.₃ PW3&4₅.₁₃.₃
|
^ Good points, but I took the measurements on a second round, after any data had been cached (I presume).
> Do you think the X-Ray file get better On a cursory look, it is not much different. For my sample book, The XRAY.entities.BB3J0DJUK4.asc CPU version is 458,752 bytes The XRAY.entities.BB3J0DJUK4.asc GPU version is 430,080 bytes Go figure :-) Last edited by PoP; 12-05-2022 at 08:02 PM. |
![]() |
![]() |
![]() |
#517 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 442
Karma: 2666666
Join Date: Nov 2020
Device: none
|
For "better" I mean is the GPU model "smarter" than the CPU model. For instance, does the GPU model produces less nonsense X-Ray names or can it detect names that CPU model can't find?
I remember running the transformers model on CPU once before(slow as hell) and both X-Ray files don't have much difference. |
![]() |
![]() |
![]() |
#518 | |
curly᷂͓̫̙᷊̥̮̾ͯͤͭͬͦͨ ʎʌɹnɔ
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,018
Karma: 50506927
Join Date: Dec 2010
Location: ♁ ᴺ₄₅°₃₀' ᵂ₇₃°₃₇' ±₆₀"
Device: K3₃.₄.₃ PW3&4₅.₁₃.₃
|
Quote:
Judge yourself by comparing these CPU/GPU screenshots: Peoples: Places: Images: [EDIT 18:42] the The chatGPT Bot seems to think so: Spoiler:
Last edited by PoP; 12-06-2022 at 06:46 PM. |
|
![]() |
![]() |
![]() |
#519 |
Barely a reader
![]() Posts: 20
Karma: 10
Join Date: Apr 2010
Device: Kobo Clara 2e
|
Edit: Nevermind, I forgot to hit save, sorry.
Last edited by Taubin; 12-16-2022 at 07:37 PM. Reason: I'm an idiot |
![]() |
![]() |
![]() |
#520 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 442
Karma: 2666666
Join Date: Nov 2020
Device: none
|
v3.28.1
|
![]() |
![]() |
![]() |
#521 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 442
Karma: 2666666
Join Date: Nov 2020
Device: none
|
v3.28.2
|
![]() |
![]() |
![]() |
#522 |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Sep 2022
Device: Kindle
|
Hey, do i need to install/download the language packs from spacy manually?
I don't know why but my X-RAY doesn't work right. If i click on a name of a character my kindle shows only some quotes and mentions of this character but no wiki or fandom. I tried this with https://lotr.fandom.com/de and https://gameofthrones.fandom.com/ru |
![]() |
![]() |
![]() |
#523 | ||
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 442
Karma: 2666666
Join Date: Nov 2020
Device: none
|
Quote:
Quote:
And Wikipedia won't be used if a Fandom link is provided. |
||
![]() |
![]() |
![]() |
#524 |
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Jan 2023
Device: Kindle Paperwhite
|
Future Questions
Hi @XXYYZZ, first of all thank you for all the work on WordDumb, Its been great to enhance some of my books.
I wanted to ask you if you think there will ever be a way to enable WordWise on English books (or trick kindle to thinking a book in another language is in English) and display wordwise on it? I'm working on another language, and it would be a huge boost to get it enabled. Thanks! |
![]() |
![]() |
![]() |
#525 | |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 442
Karma: 2666666
Join Date: Nov 2020
Device: none
|
Quote:
It's possible. First change the book medate: For MOBI and AZW3 books, the locale MOBI header need to be "9" and the language EXTH header set to "en". Then create the word wise db file, this requires mapping the new language words to English words. I could get the translation data from Wiktionary. There is one minor drawback, the default fonts would be English fonts. I guess you can get around this with custom font. Here is a demo screenshot of a Chinese book: |
|
![]() |
![]() |
![]() |
Tags |
worddumb, x-ray |
|
![]() |
||||
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 |