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 07-28-2022, 03:54 AM   #406
Shark69
Zealot
Shark69 ought to be getting tired of karma fortunes by now.Shark69 ought to be getting tired of karma fortunes by now.Shark69 ought to be getting tired of karma fortunes by now.Shark69 ought to be getting tired of karma fortunes by now.Shark69 ought to be getting tired of karma fortunes by now.Shark69 ought to be getting tired of karma fortunes by now.Shark69 ought to be getting tired of karma fortunes by now.Shark69 ought to be getting tired of karma fortunes by now.Shark69 ought to be getting tired of karma fortunes by now.Shark69 ought to be getting tired of karma fortunes by now.Shark69 ought to be getting tired of karma fortunes by now.
 
Shark69's Avatar
 
Posts: 136
Karma: 493152
Join Date: Mar 2012
Location: Spain
Device: Kindle Oasis 2
I have opened an issue related to Word Wise for EPUB books in English. Thanks.
But I have a new question. How do you load the JSON dictionary from kaikki?
The one with size 1.4Gb...
If I try to load it from Englihs Wiktionaty maintenance, only the apkg or cvs options are available.

Last edited by Shark69; 07-28-2022 at 04:05 AM.
Shark69 is offline   Reply With Quote
Old 07-28-2022, 04:41 AM   #407
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 Shark69 View Post
But I have a new question. How do you load the JSON dictionary from kaikki?
The one with size 1.4Gb...
Read it line by line: https://github.com/xxyzz/WordDumb/bl...ary.py#L49-L51

Quote:
Originally Posted by Shark69 View Post
If I try to load it from Englihs Wiktionaty maintenance, only the apkg or cvs options are available.
Not sure what you mean...
xxyzz is offline   Reply With Quote
Old 07-28-2022, 04:49 AM   #408
Shark69
Zealot
Shark69 ought to be getting tired of karma fortunes by now.Shark69 ought to be getting tired of karma fortunes by now.Shark69 ought to be getting tired of karma fortunes by now.Shark69 ought to be getting tired of karma fortunes by now.Shark69 ought to be getting tired of karma fortunes by now.Shark69 ought to be getting tired of karma fortunes by now.Shark69 ought to be getting tired of karma fortunes by now.Shark69 ought to be getting tired of karma fortunes by now.Shark69 ought to be getting tired of karma fortunes by now.Shark69 ought to be getting tired of karma fortunes by now.Shark69 ought to be getting tired of karma fortunes by now.
 
Shark69's Avatar
 
Posts: 136
Karma: 493152
Join Date: Mar 2012
Location: Spain
Device: Kindle Oasis 2
Quote:
Originally Posted by xxyzz View Post
Read it line by line: https://github.com/xxyzz/WordDumb/bl...ary.py#L49-L51


Not sure what you mean...
I mean.... you said:

I use the Wiktionary data from https://kaikki.org, the English JSON file is 1.4GB, other language files should be smaller then that.

I've download it, but I do not how to use it.
In the folder worddumb-lemas I have the file "kaikki.org-dictionary-Spanish.json", but I do not know how to use the file "kaikki.org-dictionary-English.json".
Is it enought to copy it to worddumb-lemas folder?
Because of the code.... it seems it is enought to copy it

Last edited by Shark69; 07-28-2022 at 04:51 AM.
Shark69 is offline   Reply With Quote
Old 07-28-2022, 05:01 AM   #409
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
Why download the json file? The plugin will download and extract it automatically. You just need to click the "custom EPUB" button then select a language, the plugin will handle the rest.
xxyzz is offline   Reply With Quote
Old 07-28-2022, 05:12 AM   #410
Shark69
Zealot
Shark69 ought to be getting tired of karma fortunes by now.Shark69 ought to be getting tired of karma fortunes by now.Shark69 ought to be getting tired of karma fortunes by now.Shark69 ought to be getting tired of karma fortunes by now.Shark69 ought to be getting tired of karma fortunes by now.Shark69 ought to be getting tired of karma fortunes by now.Shark69 ought to be getting tired of karma fortunes by now.Shark69 ought to be getting tired of karma fortunes by now.Shark69 ought to be getting tired of karma fortunes by now.Shark69 ought to be getting tired of karma fortunes by now.Shark69 ought to be getting tired of karma fortunes by now.
 
Shark69's Avatar
 
Posts: 136
Karma: 493152
Join Date: Mar 2012
Location: Spain
Device: Kindle Oasis 2
Quote:
Originally Posted by xxyzz View Post
Why download the json file? The plugin will download and extract it automatically. You just need to click the "custom EPUB" button then select a language, the plugin will handle the rest.
I thought I was supposed to do it because a I've not any "kaikki.org-dictionary-English.json" file in worddumb-lemmas folder.... after clicking the "custom EPUB" button and selecting English language,
Shark69 is offline   Reply With Quote
Old 07-28-2022, 05:17 AM   #411
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
The file is deleted after it had been parsed. The extracted file the plugin uses is way more smaller, so the original file is deleted to save space.
xxyzz is offline   Reply With Quote
Old 07-28-2022, 05:20 AM   #412
Shark69
Zealot
Shark69 ought to be getting tired of karma fortunes by now.Shark69 ought to be getting tired of karma fortunes by now.Shark69 ought to be getting tired of karma fortunes by now.Shark69 ought to be getting tired of karma fortunes by now.Shark69 ought to be getting tired of karma fortunes by now.Shark69 ought to be getting tired of karma fortunes by now.Shark69 ought to be getting tired of karma fortunes by now.Shark69 ought to be getting tired of karma fortunes by now.Shark69 ought to be getting tired of karma fortunes by now.Shark69 ought to be getting tired of karma fortunes by now.Shark69 ought to be getting tired of karma fortunes by now.
 
Shark69's Avatar
 
Posts: 136
Karma: 493152
Join Date: Mar 2012
Location: Spain
Device: Kindle Oasis 2
Quote:
Originally Posted by xxyzz View Post
The file is deleted after it had been parsed. The extracted file the plugin uses is way more smaller, so the original file is deleted to save space.
Thanks....
This is the content of the folder:
Is it correct?

Code:
22/07/2022  19:28       413.386.961 kaikki.org-dictionary-Spanish.json
24/07/2022  10:32        19.873.792 kll.en.en.klld
27/07/2022  16:55         1.802.693 lemmas_dump
25/07/2022  11:07       148.931.299 wiktionary_en.json
25/07/2022  11:07       102.244.172 wiktionary_en_dump
22/07/2022  18:56       113.301.832 wiktionary_es.json
24/07/2022  10:35        38.251.415 wiktionary_es_dump
Shark69 is offline   Reply With Quote
Old 07-28-2022, 05:24 AM   #413
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
Looks fine. As long as everything works, you don't have to worry about these files.
xxyzz is offline   Reply With Quote
Old 07-28-2022, 11:09 AM   #414
Shark69
Zealot
Shark69 ought to be getting tired of karma fortunes by now.Shark69 ought to be getting tired of karma fortunes by now.Shark69 ought to be getting tired of karma fortunes by now.Shark69 ought to be getting tired of karma fortunes by now.Shark69 ought to be getting tired of karma fortunes by now.Shark69 ought to be getting tired of karma fortunes by now.Shark69 ought to be getting tired of karma fortunes by now.Shark69 ought to be getting tired of karma fortunes by now.Shark69 ought to be getting tired of karma fortunes by now.Shark69 ought to be getting tired of karma fortunes by now.Shark69 ought to be getting tired of karma fortunes by now.
 
Shark69's Avatar
 
Posts: 136
Karma: 493152
Join Date: Mar 2012
Location: Spain
Device: Kindle Oasis 2
Everything works like a charm. By the way, I'm daring to make a suggestion I don't know if it is very hard to implement. Have you ever think in generate Word Wise in other languages. I mean, for example... a English book with <ruby> tag in Spanish. Thanks.
Shark69 is offline   Reply With Quote
Old 07-28-2022, 11:56 PM   #415
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.24.0

New features:
Bug fixes:
  • Add pip's hidden option --no-user to disable pip user mode
  • Save customize Wiktionary JSON file
  • Only show non-English warning when creating Word Wise
  • Add missing NER labels for Korean, Swedish and Croatitan spaCy model
xxyzz is offline   Reply With Quote
Old 07-29-2022, 12:01 AM   #416
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 Shark69 View Post
Have you ever think in generate Word Wise in other languages. I mean, for example... a English book with <ruby> tag in Spanish. Thanks.
kaikki.org only parses the English Wktionary file, so all glosses are in English.

You could keep an eye on https://github.com/tatuylonen/wiktextract/issues/92, and try to use the code to parse the Spanish Wiktionary dump file.
xxyzz is offline   Reply With Quote
Old 07-29-2022, 04:08 AM   #417
Shark69
Zealot
Shark69 ought to be getting tired of karma fortunes by now.Shark69 ought to be getting tired of karma fortunes by now.Shark69 ought to be getting tired of karma fortunes by now.Shark69 ought to be getting tired of karma fortunes by now.Shark69 ought to be getting tired of karma fortunes by now.Shark69 ought to be getting tired of karma fortunes by now.Shark69 ought to be getting tired of karma fortunes by now.Shark69 ought to be getting tired of karma fortunes by now.Shark69 ought to be getting tired of karma fortunes by now.Shark69 ought to be getting tired of karma fortunes by now.Shark69 ought to be getting tired of karma fortunes by now.
 
Shark69's Avatar
 
Posts: 136
Karma: 493152
Join Date: Mar 2012
Location: Spain
Device: Kindle Oasis 2
Quote:
Originally Posted by xxyzz View Post
kaikki.org only parses the English Wktionary file, so all glosses are in English.

You could keep an eye on https://github.com/tatuylonen/wiktextract/issues/92, and try to use the code to parse the Spanish Wiktionary dump file.
I haven't read it throungly but it seem promising. Thanks
Shark69 is offline   Reply With Quote
Old 07-31-2022, 09:42 AM   #418
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
Just want you to know I tried the wiktwords command(`wiktwords --language English --out data.json eswiktionary-20220720-pages-articles.xml.bz2`) on the Spanish Wktionary dump file, it runs fine so far but the estimate remain time is more than seven hours and it's still increasing...

I installed the latest commit of wiktextract and wikitextprocessor.

Damn, it's now around ten hours!
xxyzz is offline   Reply With Quote
Old 07-31-2022, 10:09 AM   #419
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
The command wastes long time paring some useless pages like this one: https://es.wiktionary.org/wiki/Wikci.../000001-010000
xxyzz is offline   Reply With Quote
Old 07-31-2022, 02:26 PM   #420
Shark69
Zealot
Shark69 ought to be getting tired of karma fortunes by now.Shark69 ought to be getting tired of karma fortunes by now.Shark69 ought to be getting tired of karma fortunes by now.Shark69 ought to be getting tired of karma fortunes by now.Shark69 ought to be getting tired of karma fortunes by now.Shark69 ought to be getting tired of karma fortunes by now.Shark69 ought to be getting tired of karma fortunes by now.Shark69 ought to be getting tired of karma fortunes by now.Shark69 ought to be getting tired of karma fortunes by now.Shark69 ought to be getting tired of karma fortunes by now.Shark69 ought to be getting tired of karma fortunes by now.
 
Shark69's Avatar
 
Posts: 136
Karma: 493152
Join Date: Mar 2012
Location: Spain
Device: Kindle Oasis 2
It's incredible. Of course, I appreciate a lot you have been try it. Independent of the end of the story.... Thanks
Shark69 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 527 08-15-2025 01:36 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 02:28 PM.


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