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-27-2022, 05:10 AM   #391
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
I added 9854 lemmas to the lemmas.json file. The difficulty data are from this paper: http://btjohns.com/pubs/JDJ_QJEP_2020.pdf

Excel(33M): http://btjohns.com/JDJ_Prev_supp.xlsx

Commit: https://github.com/xxyzz/WordDumb/co...fb25946211edde
xxyzz is offline   Reply With Quote
Old 07-27-2022, 05:20 AM   #392
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
I added 9854 lemmas to the lemmas.json file. The difficulty data are from this paper: http://btjohns.com/pubs/JDJ_QJEP_2020.pdf

Excel(33M): http://btjohns.com/JDJ_Prev_supp.xlsx

Commit: https://github.com/xxyzz/WordDumb/co...fb25946211edde
Thanks. The excel file you enclose has 78034 records. Are the previous words retained with difficulty assigned based in the excel file?
Shark69 is offline   Reply With Quote
Advert
Old 07-27-2022, 05:24 AM   #393
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
Thanks. The excel file you enclose has 78034 records. Are the previous words retained with difficulty assigned based in the excel file?
I only deleted one lemma "LED" and increased the difficulty value of some lemmas.
xxyzz is offline   Reply With Quote
Old 07-27-2022, 05:30 AM   #394
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
I only deleted one lemma "LED" and increased the difficulty value of some lemmas.
Thx. I'll give you my feedback.
Shark69 is offline   Reply With Quote
Old 07-27-2022, 06:05 AM   #395
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
After installing the plugin, I do not see differences in lemmas dump file. Neither there are differences in the Customize Word Wise window. What must I do to use the new functionality?
LED remains in the file.

Last edited by Shark69; 07-27-2022 at 06:12 AM.
Shark69 is offline   Reply With Quote
Advert
Old 07-27-2022, 06:14 AM   #396
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
After installing the plugin, I do not see differences in lemmas dump file. Neither there are differences in the Customize Word Wise window. What must I do to use the new functionality?
LED remains in the file.
You need to delete the "lemmas_dump" custom file inside the "worddumb-lemmas" folder to use the default lemmas.
xxyzz is offline   Reply With Quote
Old 07-27-2022, 06:30 AM   #397
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
You need to delete the "lemmas_dump" custom file inside the "worddumb-lemmas" folder to use the default lemmas.
Then (I've tested it with the Kindle connected too):

calibre, version 6.1.0
ERROR: Excepción no considerada: <b>KeyError</b>:"There is no item named 'lemmas_dump' in the archive"

Traceback (most recent call last):
File "calibre_plugins.worddumb.config", line 187, in open_custom_lemmas_dialog
File "calibre_plugins.worddumb.custom_lemmas", line 44, in __init__
File "calibre_plugins.worddumb.custom_lemmas", line 200, in __init__
File "calibre_plugins.worddumb.utils", line 90, in load_lemmas_dump
File "calibre_plugins.worddumb.utils", line 33, in load_json_or_pickle
File "zipfile.py", line 1503, in open
File "zipfile.py", line 1430, in getinfo
KeyError: "There is no item named 'lemmas_dump' in the archive"
Shark69 is offline   Reply With Quote
Old 07-27-2022, 06:46 AM   #398
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
You should delete "~/AppData/Roaming/calibre/plugins/worddumb-lemmas/lemmas_dump", this custom dump file "overwrites" the default dump file inside the plugin zip file.
xxyzz is offline   Reply With Quote
Old 07-27-2022, 07:00 AM   #399
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
You should delete "~/AppData/Roaming/calibre/plugins/worddumb-lemmas/lemmas_dump", this custom dump file "overwrites" the default dump file inside the plugin zip file.
I'd already done it. I'll have to repeat it more carefully because the mistake remains.
Shark69 is offline   Reply With Quote
Old 07-27-2022, 07:08 AM   #400
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
I guess you deleted the "lemmas_dump" in the code folder then run the calibre-customize command. Install the zip file from GitHub Actions or run the "data/dump_lemmas.sh" will restore that file.
xxyzz is offline   Reply With Quote
Old 07-27-2022, 07:36 AM   #401
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
No way. I completely uninstalled the plugin and inslalled again. The error remains. Bfff... I'll repeat it later.

Last edited by Shark69; 07-27-2022 at 07:41 AM.
Shark69 is offline   Reply With Quote
Old 07-27-2022, 08:14 AM   #402
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
But the error says the plugin zip file doesn't have the "lemmas_dump" file and I have checked the GitHub Actions zip file has it... Otherwise the test jobs can't pass.
xxyzz is offline   Reply With Quote
Old 07-27-2022, 11:01 AM   #403
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 don't know what I was doing this morning, but once I carefully did it again, it worked perfectly. Thanks.
I have three questions, if you don't mind:
Why are there words in the excel that are not in the Word Wise file? For example, "flash", "outstate", "pluralize"...
Why did you finally decide to use this file and not the one I suggested yesterday? I really don't care which one you use, it's to know your technical opinion. In any case, whatever it is, I think we have won because we have a criterion to level words.
Third:
Are all the words in the excel marked as "true" in Word Wise?

Last edited by Shark69; 07-27-2022 at 11:04 AM.
Shark69 is offline   Reply With Quote
Old 07-27-2022, 07:23 PM   #404
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
Why are there words in the excel that are not in the Word Wise file? For example, "flash", "outstate", "pluralize"...
Kindle can only display Word Wise for lemmas that included in the klld file. Add new lemmas requires more data for the "senses" table: pos_type, full_def, short_def, example_sentence.

Quote:
Originally Posted by Shark69 View Post
Why did you finally decide to use this file and not the one I suggested yesterday?
This paper gathered their data from 26000 books, the paper you posted gathered theirs from testing people. This newer paper not only has more vocabularies but also shows the SD-AP measure has higher accuracy. IMO, their paper is more "reproducible".

Quote:
Originally Posted by Shark69 View Post
Are all the words in the excel marked as "true" in Word Wise?
Only words that included in the klld file are enabled.
xxyzz is offline   Reply With Quote
Old 07-28-2022, 03:30 AM   #405
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
Kindle can only display Word Wise for lemmas that included in the klld file. Add new lemmas requires more data for the "senses" table: pos_type, full_def, short_def, example_sentence.


This paper gathered their data from 26000 books, the paper you posted gathered theirs from testing people. This newer paper not only has more vocabularies but also shows the SD-AP measure has higher accuracy. IMO, their paper is more "reproducible".


Only words that included in the klld file are enabled.
Thanks. I am testing it and my impresion is very good so far. I'II keep you updated.
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 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 11:40 AM.


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