06-25-2022, 12:25 PM | #331 |
Grand Sorcerer
Posts: 5,278
Karma: 98804578
Join Date: Apr 2011
Device: pb360
|
I have not tried the latest plugin yet, but it sounds like it is exactly what I need. Thank you!
Can you post an example of running the plugin from a terminal? |
06-25-2022, 09:45 PM | #332 |
Evangelist
Posts: 411
Karma: 2666666
Join Date: Nov 2020
Device: none
|
I just pushed the cli support commit to GitHub. You can run this command to create files.
Code:
calibre-debug -r WordDumb -- book_path Code:
calibre-debug -r WordDumb -- -h |
06-25-2022, 09:49 PM | #333 |
Grand Sorcerer
Posts: 5,278
Karma: 98804578
Join Date: Apr 2011
Device: pb360
|
|
06-25-2022, 09:52 PM | #334 | |
Grand Sorcerer
Posts: 5,278
Karma: 98804578
Join Date: Apr 2011
Device: pb360
|
Quote:
Can the book path be someplace not in calibre's library? (Not added to calibre) |
|
06-25-2022, 09:56 PM | #335 |
Evangelist
Posts: 411
Karma: 2666666
Join Date: Nov 2020
Device: none
|
Yes, the book file can be anywhere. But the language and format of the book must be supported.
Last edited by xxyzz; 06-25-2022 at 09:58 PM. |
06-26-2022, 05:57 PM | #336 | |
Grand Sorcerer
Posts: 5,278
Karma: 98804578
Join Date: Apr 2011
Device: pb360
|
Quote:
Unrelated to CLI, but I can also report that for a couple of books about Roman history, it did a better job for several of the most important (major historical) characters than the X-ray files supplied by amazon for the books. Some people are designated terms and some terms are designated as people. Also, one of the changes you made in past week or so also fixed a crash that I was going to report after the new functionality was in place. |
|
06-26-2022, 07:43 PM | #337 | ||
Evangelist
Posts: 411
Karma: 2666666
Join Date: Nov 2020
Device: none
|
Quote:
Quote:
Ultimately, you could train your own model for specificity kinds of books. |
||
06-26-2022, 08:43 PM | #338 | |
Grand Sorcerer
Posts: 5,278
Karma: 98804578
Join Date: Apr 2011
Device: pb360
|
They supposedly are made at least in part manually, but see my thread "How many X-ray mistaken identities can you find in your books?"
https://www.mobileread.com/forums/sh...d.php?t=309190 and "Easily fix egregious X-ray errors" https://www.mobileread.com/forums/sh...d.php?t=303347 especially post #6, which is one of the books I tested WordDumb on. Quote:
I'm almost out of time for this for a while, but I think I am almost ready to use it for a few books that don't have X-ray instead of testing it against books that do have X-ray. |
|
06-27-2022, 01:15 AM | #339 | |
Evangelist
Posts: 411
Karma: 2666666
Join Date: Nov 2020
Device: none
|
Quote:
|
|
06-27-2022, 03:12 PM | #340 | |
Grand Sorcerer
Posts: 5,278
Karma: 98804578
Join Date: Apr 2011
Device: pb360
|
Quote:
I am only referring to those threads as an example of how many bad errors are in almost every X-ray file supplied by amazon. I think the purpose of most X-ray generating utilities is to let people make their own X-ray files for books that do not have them, but I think WordDumb has the potential to make better X-ray files than amazon. |
|
06-28-2022, 01:17 AM | #341 |
Evangelist
Posts: 411
Karma: 2666666
Join Date: Nov 2020
Device: none
|
I added the source column to the customize X-Ray table. `None` means the description is a quote from the book, `1` for Wikipedia and `2` for Fandom.
|
06-28-2022, 09:57 AM | #342 |
Junior Member
Posts: 1
Karma: 10
Join Date: Jun 2022
Device: Kindle
|
stuck installing
hello im stuck when running worddump on installing en_core_web_lg
|
06-28-2022, 10:11 AM | #343 | |
Evangelist
Posts: 411
Karma: 2666666
Join Date: Nov 2020
Device: none
|
Quote:
|
|
07-03-2022, 11:59 PM | #344 |
Evangelist
Posts: 411
Karma: 2666666
Join Date: Nov 2020
Device: none
|
v3.22.0
New features
Bug fixes
|
07-05-2022, 07:12 PM | #345 |
Grand Sorcerer
Posts: 5,278
Karma: 98804578
Join Date: Apr 2011
Device: pb360
|
Bug: newline in X-ray entity label
When a (first?) occurrance of an X-ray entity with 2 or more words has a newline between 2 of the words in the text of the book the entity label has a newline between those words in the generated X-ray file. This can be seen in the attached example.png
WordDumb might also make two entiies, one with a newline embedded in the label and one without. It is also possible to workaround this by making an entry in the worddumb-custom-x-ray.json file for the book with an alias that has "\n" in place of the space as can be seen in workaround.txt Also attached is NewlineBug.tar.gz which has an azw3 of the public domain book, a worddumb-custom-x-ray.json for both cases, a temporary worddumb.json plugin configuration file, the 2 generated XRAY.*.asc files, and a script to generate the XRAY files and tsv dumps of the entity and entity_description tables for both cases. |
Tags |
worddumb, x-ray |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[GUI Plugin] CalibreSpy | DaltonST | Plugins | 244 | 01-27-2024 06:43 AM |
[GUI Plugin] KindleUnpack - The Plugin | DiapDealer | Plugins | 492 | 10-25-2022 08:13 AM |
[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 |