xxyzz / WordDumb

A calibre plugin that generates Kindle Word Wise and X-Ray files for KFX, AZW3, MOBI and EPUB eBook.
https://xxyzz.github.io/WordDumb/
GNU General Public License v3.0
376 stars 19 forks source link

[Feature Request] Empty X-Ray file #146

Closed Vilhelm-Ian closed 1 month ago

Vilhelm-Ian commented 1 year ago

Checkboxes

Describe the bug

I don't want to wait for X-ray to automatically generate description for entries. I would rather do it myself. Is it possible to generate an empty X-Ray file and then using custom X-Ray to generate description for the entries

System Information

manjaro

Error message

no error message

Reproduce steps

no error

Generated files, screenshots or videos

No response

xxyzz commented 1 year ago

I'd suggest you first to find why the program is slow(is the book has too much text or your machine is not suitable for the spaCy model), then read the plugin code and document and trying to improve the performance.

Using only per-defined X-Ray data is easier, that won't need spaCy at all. You could try that by yourself.

xxyzz commented 1 month ago

I think I might misunderstand the issue, sorry for that...

Disable "fetch people" option might be little faster? I think the code is not that slow, you could wait a few minutes for most books then check the generated x-ray file, add some customized x-ray data for correction, run plugin again and this time it'll be much faster because MediaWiki API results are saved locally.