Giter Site home page Giter Site logo

Comments (4)

xxyzz avatar xxyzz commented on June 10, 2024 1

Thanks for the report! The commit linked above should fix this error.

If the Use Wiktionary definition option is enabled, you have to select the word wise definition language to Chinese on your Kindle: https://xxyzz.github.io/WordDumb/usage.html#create-files

from worddumb.

e-zz avatar e-zz commented on June 10, 2024

In short, the Lemma language seems to be fixed as English in my case .

from worddumb.

e-zz avatar e-zz commented on June 10, 2024

Thanks for the report! The commit linked above should fix this error.

If the Use Wiktionary definition option is enabled, you have to select the word wise definition language to Chinese on your Kindle: https://xxyzz.github.io/WordDumb/usage.html#create-files

Hi, thanks for the quick fix. I tested your solution and now word wise works smoothly.

from worddumb.

gloverd avatar gloverd commented on June 10, 2024

I'm trying to run Word Wise on a French book using the newest artifact linked above (3.29.6) but I am not able to generate correct Gloss, and it looks like its not looking up the correct Lemma either. Since its related to this ticket (Word Wise in French), and its still open, I'm going to list it here, but I can open another ticket if needed since I'm posting a lot here.

SUMMARY: It appears that WordDumb is only looking up words that match the LEMMA in English, even if its set to French. This results in word wise only appearing for words that are shared between English and French (like "transparent"), and the Gloss that appears, is most of the time the same word repeated, or a different definition.

The result of running "Create Word Wise" on a book with the following settings:

  • Book language metadata: English (Set manually)
  • Lemma / Gloss: French / French
  • Wiktionary Definition: Yes
  • POS to find definition: Yes
    I've tried almost all combinations, and some of them multiple times. My notes are pretty bad, but basically none of them gave good gloss results for french. (note: I have en and zh/fr listed because I also wanted to look at the results for language when setting it on kindle to english then back to chinese where I expected to see the gloss in french. Not really useful, but I left the comments there). In between each test, I opened a different book on my kindle, and deleted the book/folder before re-running Word Dumb.
    image

The resulting pages look like this:
image
image

What it has as Lemma/Gloss are

  1. Salon / "Salon"
  2. Transparent / "Transparent"
  3. Ton / "Unite de mesure de poids . Le symbole : t"

Looking at the "Customize Kindle Word Wise" screen that appears when first setting Lemma/Gloss there are different Gloss results for these words:
image
image

I also picked randomly some more difficult words from those two pages that I would have expected to see defined, and they are in the customize page. So these are Lemmas that are missing (Consterner, Berceau, Incessamment, Fauteuil):
image
image
Is this because of the length of the definition being greater than 3?

I have deleted the English and French Kindle Word Wise lemmas database files (%AppData%/Roaming/calibre/plugins/worddumb-lemmas/), and done a clean install of Calibre/Plugin during my testing.

In #136, specifically this comment you mention that

The Word Wise database file on Kindle will be overwritten. If you enable "use Wiktionary definition", new database file will be copied to Kindle if the previous database is in a different language. The Kindle's default db have to be restored manually.

I'm not sure if all this testing has corrupted something, but I want to try and get as close to a clean slate as possible

Questions:

  1. If the length of the definition is greater than the ration of 3:1, is it supposed to go to a pop up footnotes style behavior, or just not appear?
  2. Do you know how Phobooky was able to see the wordwise results in the Calibre E-book viewer? there are screenshots in #53 , and that would make this testing so much easier!
  3. How do I restore the kindles default database manually? What is the best way to do a restore to get back to a fresh installation on Calibre and Kindle if needed?
  4. Sometimes on the step "Saving Customized Lemmas" or "Generating Word Wise" it just hangs -- I've left it upwards of several hours, but end up having to close calibre and force stop python which is running in the background. Does stopping Calibre/Python corrupt anything? I wonder if it freezing in "Saving Customized Lemmas" creates a corrupted file that then gets re-used later on? That is why I'm looking for how to best do a clean re-install.

from worddumb.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.