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 01-08-2022, 12:13 AM   #241
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.16.1

- send MOBI rawml or KFX json str to the new process's stdin
- fix NoneType error when creating KFX X-Ray file on macOS
- don't use outdated pip from Apple Command Line Tools
xxyzz is offline   Reply With Quote
Old 01-08-2022, 05:03 AM   #242
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
Edit: I guess the plugin works fine on rosette 2.

Last edited by xxyzz; 01-15-2022 at 02:15 AM.
xxyzz is offline   Reply With Quote
Old 01-15-2022, 02:12 AM   #243
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.17.0

- Add platform option to prevent command line tool's pip from compiling package
- Change X-Ray search people checkbox text and add tooltip
- Make plugin job unkillable
- Display X-Ray job progress on Linux and Windows
- Return iterator from parse_book()
- Add support of AZW format
- Install thinc-apple-ops on M1 native calibre
xxyzz is offline   Reply With Quote
Old 01-25-2022, 02:44 AM   #244
samuelj
Member
samuelj began at the beginning.
 
Posts: 12
Karma: 10
Join Date: Jan 2022
Device: Kindle oasis
many thanks for the great plugin. If possible can you point me in the direction to add words to wordwise, also how to mark words as difficult or easy?
samuelj is offline   Reply With Quote
Old 01-25-2022, 06:27 AM   #245
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 samuelj View Post
If possible can you point me in the direction to add words to wordwise, also how to mark words as difficult or easy?
Word Wise data file is `data/lemmas.json`.

Document of Word Wise: https://github.com/xxyzz/WordDumb/bl..._db.md#glosses

Document of add more data and build plugin: https://github.com/xxyzz/WordDumb/bl...UTING.md#debug
xxyzz is offline   Reply With Quote
Old 01-25-2022, 08:52 AM   #246
samuelj
Member
samuelj began at the beginning.
 
Posts: 12
Karma: 10
Join Date: Jan 2022
Device: Kindle oasis
Thanks. Please correct me if I am wrong. Sorry, I am a noob at this.

lemmas = difficult level of the word.
sense = meaning/definition


I want to use wordlist from here: https://github.com/jnoodle/English-Vocabulary-Word-List

there is a similar plugin: https://github.com/tmilovanov/wisecreator. I think this uses it.


Quote:
Originally Posted by xxyzz View Post
Word Wise data file is `data/lemmas.json`.

Document of Word Wise: https://github.com/xxyzz/WordDumb/bl..._db.md#glosses

Document of add more data and build plugin: https://github.com/xxyzz/WordDumb/bl...UTING.md#debug
samuelj is offline   Reply With Quote
Old 01-25-2022, 06:39 PM   #247
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
data/lemmas.json:
Code:
{
  "'neath": [  // lemma
    1,         // difficulty
    69182      // sense_id
  ],
  ...
}
You have to write some code to create your own data file(data/lemmas.json).

If you have some books have Word Wise enabled, you can use this script: https://github.com/xxyzz/WordDumb/bl.../add_lemmas.py.
xxyzz is offline   Reply With Quote
Old 01-27-2022, 06:14 AM   #248
samuelj
Member
samuelj began at the beginning.
 
Posts: 12
Karma: 10
Join Date: Jan 2022
Device: Kindle oasis
Wordwise is embedded into the azw3 or mobi, or is it downloaded after?

Quote:
Originally Posted by xxyzz View Post
data/lemmas.json:
Code:
{
  "'neath": [  // lemma
    1,         // difficulty
    69182      // sense_id
  ],
  ...
}
You have to write some code to create your own data file(data/lemmas.json).

If you have some books have Word Wise enabled, you can use this script: https://github.com/xxyzz/WordDumb/bl.../add_lemmas.py.
samuelj is offline   Reply With Quote
Old 01-27-2022, 10:55 PM   #249
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 samuelj View Post
Wordwise is embedded into the azw3 or mobi, or is it downloaded after?
It's a sqlite file named "LanguageLayer.en.ASIN.kll".
xxyzz is offline   Reply With Quote
Old 01-28-2022, 07:08 PM   #250
samuelj
Member
samuelj began at the beginning.
 
Posts: 12
Karma: 10
Join Date: Jan 2022
Device: Kindle oasis
I have added a few words from the books I have.

kll.en.en.klld has 75819 lemmas
added 48 lemmas
updated 1 lemmas
lemmas.json has 29954 lemmas.

how do I use this file and do you want me to share it?
samuelj is offline   Reply With Quote
Old 01-28-2022, 11:01 PM   #251
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 samuelj View Post
how do I use this file and do you want me to share it?
Run the command listed here(https://github.com/xxyzz/WordDumb/bl...UTING.md#debug) to use the updated file.

You can send a pull request at GitHub or upload the file and I will create a commit for you.
xxyzz is offline   Reply With Quote
Old 01-30-2022, 08:59 AM   #252
yiming
Zealot
yiming is kind to children and small, furry animalsyiming is kind to children and small, furry animalsyiming is kind to children and small, furry animalsyiming is kind to children and small, furry animalsyiming is kind to children and small, furry animalsyiming is kind to children and small, furry animalsyiming is kind to children and small, furry animalsyiming is kind to children and small, furry animalsyiming is kind to children and small, furry animalsyiming is kind to children and small, furry animalsyiming is kind to children and small, furry animals
 
Posts: 127
Karma: 6744
Join Date: Dec 2011
Device: Kindle Touch, PW2, PW5
Hi xxyzz

I've failed in creating WordWise and X-Ray for the book The Murder of Roger Ackroyd. The book was downloaded as AZW3 and converted to KFX in Calibre. Here's the error log:

Quote:
calibre, version 5.35.0 (win32, embedded-python: True)
Tonnerre de Brest!: Failed: Generating Word Wise and X-Ray for The Murder of Roger Ackroyd

Starting job: Generating Word Wise and X-Ray for The Murder of Roger Ackroyd
Job: "Generating Word Wise and X-Ray for The Murder of Roger Ackroyd" failed with error:
Traceback (most recent call last):
File "calibre\gui2\threaded_jobs.py", line 82, in start_work
File "calibre_plugins.worddumb.parse_job", line 33, in do_job
File "calibre_plugins.worddumb.metadata", line 56, in get_asin_etc
ModuleNotFoundError: No module named 'calibre_plugins.kfx_input'

Called with args: ((59, 'KFX', 'G:\\Calibre library\\Agatha Christie\\The Murder of Roger Ackroyd (59)\\The Murder of Roger Ackroyd - Agatha Christie.kfx', <calibre.ebooks.metadata.book.base.Metadata object at 0x0000016E8CC92190>, {'spacy': 'en_core_web_', 'wiki': 'en'}), True, True) {'notifications': <queue.Queue object at 0x0000016E8CC921C0>, 'abort': <threading.Event object at 0x0000016E892300D0>, 'log': <calibre.utils.logging.GUILog object at 0x0000016E89230280>}
Was using Calibre v5.35, KFX Output v1.58.0, WordDumb v3.17.0

Could you tell me what went wrong and how the problem can be resolved. Thanks.

Last edited by yiming; 01-30-2022 at 09:42 AM.
yiming is offline   Reply With Quote
Old 01-30-2022, 09:53 AM   #253
yiming
Zealot
yiming is kind to children and small, furry animalsyiming is kind to children and small, furry animalsyiming is kind to children and small, furry animalsyiming is kind to children and small, furry animalsyiming is kind to children and small, furry animalsyiming is kind to children and small, furry animalsyiming is kind to children and small, furry animalsyiming is kind to children and small, furry animalsyiming is kind to children and small, furry animalsyiming is kind to children and small, furry animalsyiming is kind to children and small, furry animals
 
Posts: 127
Karma: 6744
Join Date: Dec 2011
Device: Kindle Touch, PW2, PW5
Quote:
Originally Posted by yiming View Post
Hi xxyzz

I've failed in creating WordWise and X-Ray for the book The Murder of Roger Ackroyd. The book was downloaded as AZW3 and converted to KFX in Calibre. Here's the error log:



Was using Calibre v5.35, KFX Output v1.58.0, WordDumb v3.17.0

Could you tell me what went wrong and how the problem can be resolved. Thanks.
Problems partially solved. Realized that KFX Input plugin need to be installed. Managed to create Word Wise and X-Ray after installing it. But, Word Wise and X-Ray don't show up in Kindle. What could be the problem? Thanks.
yiming is offline   Reply With Quote
Old 01-30-2022, 07:04 PM   #254
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 yiming View Post
But, Word Wise and X-Ray don't show up in Kindle.
Delete the book from your Kindle and use WordDumb to send the book and created files.

Maybe the ASIN of the book on Kindle doesn't match the book in your library.
xxyzz is offline   Reply With Quote
Old 02-02-2022, 02:12 AM   #255
yiming
Zealot
yiming is kind to children and small, furry animalsyiming is kind to children and small, furry animalsyiming is kind to children and small, furry animalsyiming is kind to children and small, furry animalsyiming is kind to children and small, furry animalsyiming is kind to children and small, furry animalsyiming is kind to children and small, furry animalsyiming is kind to children and small, furry animalsyiming is kind to children and small, furry animalsyiming is kind to children and small, furry animalsyiming is kind to children and small, furry animals
 
Posts: 127
Karma: 6744
Join Date: Dec 2011
Device: Kindle Touch, PW2, PW5
Quote:
Originally Posted by xxyzz View Post
Delete the book from your Kindle and use WordDumb to send the book and created files.

Maybe the ASIN of the book on Kindle doesn't match the book in your library.
Thanks, problem solved. I forgotten that you have to use WordDumb to send the book to Kindle and can't send it directly using the Send to Device function.
yiming 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 10:36 AM.


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