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 02-19-2023, 12:50 PM   #541
PoP
 curly᷂͓̫̙᷊̥̮̾ͯͤͭͬͦͨ ʎʌɹnɔ
PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.
 
PoP's Avatar
 
Posts: 3,003
Karma: 50506927
Join Date: Dec 2010
Location: ♁ ᴺ₄₅°₃₀' ᵂ₇₃°₃₇' ±₆₀"
Device: K3₃.₄.₃ PW3&4₅.₁₃.₃
Quote:
Originally Posted by PoP View Post
... 4) he is contemplating the Wiktionary non-trivial approach in the future...
Quote:
Originally Posted by xxyzz View Post
I finally figure out how to create Word Wise klld database ... I have updated the Proficiency and WordDumb code to use newly created klld files from Wiktionary data for Kindle books.
Splendid!
PoP is offline   Reply With Quote
Old 02-23-2023, 12:29 AM   #542
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: 418
Karma: 2666666
Join Date: Nov 2020
Device: none
New Word Wise definition languages are added, please download the latest test plugin from GitHub Actions.

WordDumb now supoorts 17 Word Wise gloss languages: German, Greek, English, Spanish, Finnish, French, Croatian, Italian, Japanese, Lithuanian, Dutch, Norwegian, Polish, Portuguese, Russian, Swedish, Chinese.

Some languages don't have infection data, "use POS type to find Word Wise definition" should be enabled for those languages.
xxyzz is offline   Reply With Quote
Advert
Old 02-23-2023, 06:15 AM   #543
domiten
Junior Member
domiten began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Jan 2023
Device: Kindle Paperwhite
Quote:
Originally Posted by xxyzz View Post
New Word Wise definition languages are added, please download the latest test plugin from GitHub Actions.
Amazing!
domiten is offline   Reply With Quote
Old 02-24-2023, 10:13 PM   #544
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: 418
Karma: 2666666
Join Date: Nov 2020
Device: none
Hi folks, check out the new document website: https://xxyzz.github.io/WordDumb/.
xxyzz is offline   Reply With Quote
Old 02-27-2023, 03:24 PM   #545
mrsidnaik
Junior Member
mrsidnaik began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Feb 2023
Device: Kindle Oasis 10th Gen
Facing this issue on windows, has anyone faced this before

Starting job: Generating Word Wise and X-Ray for Gardens of the Moon
Job: "Generating Word Wise and X-Ray for Gardens of the Moon" 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 167, in do_job
File "calibre_plugins.worddumb.utils", line 50, in run_subprocess
File "subprocess.py", line 524, in run
subprocess.CalledProcessError: Command '['python', 'C:\\Users\\ASUS\\AppData\\Roaming\\calibre\\plugi ns\\WordDumb.zip', '', 'C:\\Users\\ASUS\\Google Drive\\Calibre Library\\Steven Erikson\\Gardens of the Moon (9092)\\Gardens of the Moon - Steven Erikson.epub', '', '', 'en_core_web_trf', 'en', 'en', '', 'WordDumb/3.28.2 (https://github.com/xxyzz/WordDumb)', 'cn', '', 'EPUB', '1', 'C:\\Users\\ASUS\\AppData\\Roaming\\calibre\\plugi ns\\WordDumb.zip', '', '-l', '-x', '-m']' returned non-zero exit status 1.

Called with args: ((9092, 'EPUB', 'C:\\Users\\ASUS\\Google Drive\\Calibre Library\\Steven Erikson\\Gardens of the Moon (9092)\\Gardens of the Moon - Steven Erikson.epub', <calibre.ebooks.metadata.book.base.Metadata object at 0x00000136EAC49CF0>, {'spacy': 'en_core_web_', 'wiki': 'en', 'kaikki': 'English', 'gloss': True, 'has_trf': True}), True, True) {'notifications': <queue.Queue object at 0x00000136EAC49ED0>, 'abort': <threading.Event object at 0x00000136EAC48AC0>, 'log': <calibre.utils.logging.GUILog object at 0x00000136EAC498D0>}
Traceback (most recent call last):
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python. 3.9_3.9.3568.0_x64__qbz5n2kfra8p0\lib\runpy.py", line 197, in _run_module_as_main
return _run_code(code, main_globals, None,
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python. 3.9_3.9.3568.0_x64__qbz5n2kfra8p0\lib\runpy.py", line 87, in _run_code
exec(code, run_globals)
File "C:\Users\ASUS\AppData\Roaming\calibre\plugins\Wor dDumb.zip\__main__.py", line 13, in <module>
File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 664, in _load_unlocked
File "<frozen importlib._bootstrap>", line 627, in _load_backward_compatible
File "<frozen zipimport>", line 259, in load_module
File "C:\Users\ASUS\AppData\Roaming\calibre\plugins\Wor dDumb.zip\dump_kindle_lemmas.py", line 13, in <module>
TypeError: unsupported operand type(s) for |: 'type' and 'NoneType'
mrsidnaik is offline   Reply With Quote
Advert
Old 02-27-2023, 06:48 PM   #546
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: 418
Karma: 2666666
Join Date: Nov 2020
Device: none
Quote:
Originally Posted by mrsidnaik View Post
PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64 __qbz5n2kfra8p0\lib\runpy.py", line 87, in _run_code
TypeError: unsupported operand type(s) for |: 'type' and 'NoneType'
Update Python version to 3.10 or above.
xxyzz is offline   Reply With Quote
Old 02-27-2023, 11:19 PM   #547
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: 418
Karma: 2666666
Join Date: Nov 2020
Device: none
v3.29.0

v3.29.0

New features:
  • Support Word Wise for non-English Kindle books
  • Support more Word Wise gloss languages
  • Use POS type to find more accurate Word Wise defintion
  • Significantly improve customized Word Wise table load speed
  • Remember last opened customize lemmas language
  • Improve Word Wise quality for non-English language books
  • Use intro from the most similar title in Fandom disambiguation page
  • Save Wikipedia and Fandom cache data in SQLite file
  • Remove the word joiner characters from book text

Bug fixes:
  • Compare the original word's length with the length of gloss
  • Fix EPUB Word Wise footnotes tag mismatch error for Apple Books
  • Raise exception if Python version is too old

Other changes:
xxyzz is offline   Reply With Quote
Old 03-01-2023, 08:53 AM   #548
domiten
Junior Member
domiten began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Jan 2023
Device: Kindle Paperwhite
Updated to the latest release via Calibre. It looks like I'm getting errors on the X-Ray portion specifically for certain books - Running the Word Wise portion by itself avoids the issue (this was based on the last lines of the error being for the new SQLite3 tables, and spacy docs, making me think its X-Ray related). It doesn't happen for all books, I'm unable to consistently reproduce the error.

Quote:
Starting job: Generating Word Wise and X-Ray for Harry Potter à l'école des sorciers
Job: "Generating Word Wise and X-Ray for Harry Potter à l'école des sorciers" 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 186, in do_job
File "calibre_plugins.worddumb.utils", line 51, in run_subprocess
File "subprocess.py", line 524, in run
subprocess.CalledProcessError: Command '['py', 'C:\\Users\\latob\\AppData\\Roaming\\calibre\\plug ins\\WordDumb.zip', '{"create_ww": true, "create_x": true, "asin": "BBJLF4M77W", "book_path": "C:\\\\Users\\\\latob\\\\Calibre Library\\\\J. K. Rowling\\\\Harry Potter a l\'ecole des sorciers (20)\\\\Harry Potter a l\'ecole des sorc - J. K. Rowling.mobi", "acr": "Harry_Potter_a_l\'ecole_des_sorc", "revision": "cf653006", "model": "en_core_web_md", "lemma_lang": "en", "mobi_codec": "utf-8", "useragent": "WordDumb/3.29.0 (https://github.com/xxyzz/WordDumb)", "book_fmt": "MOBI", "plugin_path": "C:\\\\Users\\\\latob\\\\AppData\\\\Roaming\\\\cal ibre\\\\plugins\\\\WordDumb.zip"}', '{"use_pos": true, "search_people": false, "model_size": "md", "zh_wiki_variant": "cn", "fandom": "", "add_locator_map": false, "preferred_formats": ["MOBI", "KFX", "EPUB", "AZW3", "AZW"], "use_all_formats": false, "minimal_x_ray_count": 1, "en_ipa": "ga_ipa", "zh_ipa": "pinyin", "choose_format_manually": true, "wiktionary_gloss_lang": "fr", "kindle_gloss_lang": "fr", "use_gpu": false, "cuda": "cu117", "last_opened_kindle_lemmas_language": "fr", "last_opened_wiktionary_lemmas_language": "fr", "use_wiktionary_for_kindle": false, "ca_wiktionary_difficulty_limit": 5, "da_wiktionary_difficulty_limit": 5, "de_wiktionary_difficulty_limit": 5, "el_wiktionary_difficulty_limit": 5, "en_wiktionary_difficulty_limit": 5, "es_wiktionary_difficulty_limit": 5, "fi_wiktionary_difficulty_limit": 5, "fr_wiktionary_difficulty_limit": 5, "hr_wiktionary_difficulty_limit": 5, "it_wiktionary_difficulty_limit": 5, "ja_wiktionary_difficulty_limit": 5, "ko_wiktionary_difficulty_limit": 5, "lt_wiktionary_difficulty_limit": 5, "mk_wiktionary_difficulty_limit": 5, "nl_wiktionary_difficulty_limit": 5, "no_wiktionary_difficulty_limit": 5, "pl_wiktionary_difficulty_limit": 5, "pt_wiktionary_difficulty_limit": 5, "ro_wiktionary_difficulty_limit": 5, "ru_wiktionary_difficulty_limit": 5, "sv_wiktionary_difficulty_limit": 5, "uk_wiktionary_difficulty_limit": 5, "zh_wiktionary_difficulty_limit": 5}']' returned non-zero exit status 1.

Called with args: ((20, 'MOBI', "C:\\Users\\latob\\Calibre Library\\J. K. Rowling\\Harry Potter a l'ecole des sorciers (20)\\Harry Potter a l'ecole des sorc - J. K. Rowling.mobi", <calibre.ebooks.metadata.book.base.Metadata object at 0x000001BFD920E020>, 'en'), True, True) {'notifications': <queue.Queue object at 0x000001BFD920DC90>, 'abort': <threading.Event object at 0x000001BFD920DF90>, 'log': <calibre.utils.logging.GUILog object at 0x000001BFD920DD50>}
Traceback (most recent call last):
File "<frozen runpy>", line 198, in _run_module_as_main
File "<frozen runpy>", line 88, in _run_code
File "C:\Users\latob\AppData\Roaming\calibre\plugins\Wo rdDumb.zip\__main__.py", line 40, in <module>
File "C:\Users\latob\AppData\Roaming\calibre\plugins\Wo rdDumb.zip\parse_job.py", line 245, in create_files
File "C:\Users\latob\AppData\Roaming\calibre\plugins\Wo rdDumb.zip\parse_job.py", line 782, in create_spacy_matcher
File "C:\Users\latob\AppData\Roaming\calibre\plugins\Wo rdDumb.zip\dump_lemmas.py", line 96, in save_spacy_docs
File "C:\Users\latob\AppData\Roaming\calibre\plugins\Wo rdDumb.zip\dump_lemmas.py", line 137, in create_lemma_patterns_with_pos
sqlite3.OperationalError: no such table: senses
domiten is offline   Reply With Quote
Old 03-01-2023, 06:02 PM   #549
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: 418
Karma: 2666666
Join Date: Nov 2020
Device: none
Quote:
Originally Posted by domiten View Post
sqlite3.OperationalError: no such table: senses
The English Kindle Word Wise lemmas database file seems corrupted. Delete the "kindle_en_en_v0.db" in "/AppData/Roaming/calibre/plugins/worddumb-lemmas/en" folder then try again.
xxyzz is offline   Reply With Quote
Old 03-14-2023, 10:39 AM   #550
MonkCanatella
Member
MonkCanatella began at the beginning.
 
Posts: 16
Karma: 10
Join Date: Mar 2023
Device: iPad Pro
Hi! Love that you've made this program and would love for it to work, but I tried on the autobiography of Maya Angelou and it doesn't seem to work.

https://i.imgur.com/nKZMUGP.png

Should this be filled in with all the entries? I'm using iPad Pro with latest update and the latest update of the Kindle App for ios. I sideloaded the KFX using itunes for pc

Last edited by MonkCanatella; 03-14-2023 at 11:57 AM.
MonkCanatella is offline   Reply With Quote
Old 03-14-2023, 09:08 PM   #551
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: 418
Karma: 2666666
Join Date: Nov 2020
Device: none
Quote:
Originally Posted by MonkCanatella View Post
Should this be filled in with all the entries? I'm using iPad Pro with latest update and the latest update of the Kindle App for ios. I sideloaded the KFX using itunes for pc
That's for customizing X-Ray entries, you can overwrite names if you spot some incorrect entries.

You also have to sideload the generated X-Ray file, but I don't know how to do that on Apple devices.
xxyzz is offline   Reply With Quote
Old 03-15-2023, 01:39 PM   #552
MonkCanatella
Member
MonkCanatella began at the beginning.
 
Posts: 16
Karma: 10
Join Date: Mar 2023
Device: iPad Pro
Oh, so at the moment there's no known way to add x-ray to apple devices? How do I know if the wordwise/xray has populated correctly?
MonkCanatella is offline   Reply With Quote
Old 03-15-2023, 08:39 PM   #553
j.p.s
Grand Sorcerer
j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.
 
Posts: 5,299
Karma: 98809518
Join Date: Apr 2011
Device: pb360
Quote:
Originally Posted by MonkCanatella View Post
Oh, so at the moment there's no known way to add x-ray to apple devices? How do I know if the wordwise/xray has populated correctly?
The xray file is an sqlite database. You could use something like sqlitebrowser to look at it.

Sorry, but I don't know anything about wordwise.
j.p.s is offline   Reply With Quote
Old 03-17-2023, 04:02 AM   #554
emntsha
Junior Member
emntsha began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Mar 2023
Device: kindle
hi, im trying for the first time to use wordwise. i have python and pip on my mac but i keep getting this error:

calibre, version 6.14.1 (darwin, embedded-python: True)
We want... a shrubbery!: Please read the friendly manual of how to install Python.

Starting job: Generating Word Wise and X-Ray for Principles
Job: "Generating Word Wise and X-Ray for Principles" 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 150, in do_job
install_deps("lxml", notifications)
File "calibre_plugins.worddumb.deps", line 35, in install_deps
PY_PATH, py_version = which_python()
File "calibre_plugins.worddumb.deps", line 80, in which_python
r = run_subprocess(
File "calibre_plugins.worddumb.utils", line 51, in run_subprocess
return subprocess.run(
File "subprocess.py", line 501, in run
File "subprocess.py", line 966, in init
File "subprocess.py", line 1842, in _execute_child
FileNotFoundError: [Errno 2] No such file or directory: '/opt/homebrew/bin/python3'

Called with args: ((5, 'MOBI', '/Users/emnatasha/Calibre Library/Ray Dalio/Principles (5)/Principles - Ray Dalio.mobi', <calibre.ebooks.metadata.book.base.Metadata object at 0x12604d390>, 'en'), True, True) {'notifications': <queue.Queue object at 0x12604f460>, 'abort': <threading.Event object at 0x12604f550>, 'log': <calibre.utils.logging.GUILog object at 0x12604f670>}

can someone help me with this? thank you
emntsha is offline   Reply With Quote
Old 04-02-2023, 07:04 AM   #555
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: 418
Karma: 2666666
Join Date: Nov 2020
Device: none
v3.29.1
  • Update cupy 12.0.0, pytorch 2.0.0, rapidfuzz 2.15.0
  • Change gloss language options when lemma option changed
  • Fix a few getting X-Ray data from Fandom bugs
  • Ignore MediaWiki API error responses
xxyzz 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 494 05-18-2024 02:34 AM
[GUI Plugin] CalibreSpy DaltonST Plugins 244 01-27-2024 06:43 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


All times are GMT -4. The time now is 06:00 AM.


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