07-18-2018, 06:35 PM | #1 |
Connoisseur
Posts: 53
Karma: 4000
Join Date: Mar 2018
Device: PW4 32GB (G000 T607) 5.12.3
|
Inflections issue in my custom dictionary
So, my scripts currently generate this file
https://haste.rys.pw/aguratifiv.xml (manually cleaned up - https://haste.rys.pw/jepefonuno.xml ) This dictionary has only two words, ditt and din. ---------------------------------- Inflections: din: di, ditt, dine Definitions: din: your, yours ditt: neuter singular of din ---------------------------------- Now, when I run this through Kindlegen and put it on my Kindle, holding on a word "din" correctly shows the entry for din "your, yours". Holding on ditt however only shows the entry for ditt only. I'd expect it'd show both din and ditt. Removing the ditt definition makes it then pick up on din. So my question is - how do I format this so kindle shows them both without adding a clone definition per every single inflection of every word in my dictionary? Keep in mind this is a test case, so telling me that having an inflection of a word defined as a direct entry is stupid. I know. I still want to show both. EDIT: seems like this has been an issue for a long time but can't find a solution/decent_workaround https://www.mobileread.com/forums/sh...35&postcount=3 Last edited by 3QVKwyNT9hR849t7; 09-18-2018 at 07:37 AM. |
07-18-2018, 08:47 PM | #2 |
Wizard
Posts: 4,742
Karma: 246906703
Join Date: Dec 2011
Location: USA
Device: Oasis 3, Oasis 2, PW3, PW1, KT
|
You wouldn't want to do that. The definition for "din" should include what "ditt" is. A normal (paper) dictionary would not show 2 definitions when looking up "ditt". It would have a hyperlink (either literal in electronic, or "see din(1)" in paper)
Or rather, you should not expect your Kindle to show different definitions at once, unless there is multiple meanings for "din". Last edited by DuckieTigger; 07-18-2018 at 08:52 PM. |
07-19-2018, 03:43 AM | #3 |
Connoisseur
Posts: 53
Karma: 4000
Join Date: Mar 2018
Device: PW4 32GB (G000 T607) 5.12.3
|
"Keep in mind this is a test case, so telling me that having an inflection of a word defined as a direct entry is stupid. I know. I still want to show both."
Guess I should have written this better. >Or rather, you should not expect your Kindle to show different definitions at once, unless there is multiple meanings for "din". No multiple definition for these two words, but there are for others under the same circumstances, as I said, the example I mentioned is just a test case. I decided I'll just work around it by not cloning all entries for all inflections but just for the affected ones. Hopefully shouldn't bloat the end result too much. EDIT: Reported both this issue and an issue from the linked thread which causes look-up features to break on dictionary update without reboot to Amazon support. "Dictionary features are not used often so they are not a priority" Explains why I have to do all these ridiculous workarounds to have something usable. Last edited by 3QVKwyNT9hR849t7; 07-19-2018 at 04:46 AM. |
07-19-2018, 05:14 AM | #4 |
Wizard
Posts: 4,742
Karma: 246906703
Join Date: Dec 2011
Location: USA
Device: Oasis 3, Oasis 2, PW3, PW1, KT
|
No, I understood correctly. An inflection should not have a separate entry unless it also has a different meaning, IMO. If you want to show both you would need to copy. Has nothing to do with stupid or not. The Kindle simply shows only main entry and uses inflections in cases it cannot find a main entry. Simple, avoids possible recursive nightmares.
|
07-19-2018, 05:57 AM | #5 |
Connoisseur
Posts: 53
Karma: 4000
Join Date: Mar 2018
Device: PW4 32GB (G000 T607) 5.12.3
|
> An inflection should not have a separate entry unless it also has a different meaning, IMO.
Great, I agree and am not arguing that as written in the OP. >If you want to show both you would need to copy. Has nothing to do with stupid or not. The Kindle simply shows only main entry and uses inflections in cases it cannot find a main entry. Simple, avoids possible recursive nightmares. Absolutely has to do with stupid. There absolutely is a ton of valid words, as the linked post from 2010 said, even the official oxford dictionary suffers from this. If I am capable of working around it on dictionary level in about 25 lines of code I am sure Amazon is capable enough of implementing this on firmware level. Last edited by 3QVKwyNT9hR849t7; 07-19-2018 at 03:59 PM. |
07-19-2018, 11:53 PM | #6 | |
Fanatic
Posts: 537
Karma: 2495066
Join Date: Feb 2013
Location: Latin America
Device: Sony PRS-T1, PRS-T-2, PRS 350, PRS 950; Kobo Mini; Kindle PW3, Fire 10
|
ETACO is a company which specializes in electronic dictionaries/translators/translator software and also happens to make ereaders. The firmware also appears to be reprogramable. The following is a description of the ONYX BOOX Cleopatra 3 ereader.
Quote:
|
|
07-20-2018, 12:50 AM | #7 | |
Grand Sorcerer
Posts: 5,584
Karma: 22735033
Join Date: Dec 2010
Device: Kindle PW2
|
Quote:
For example, for Italian you can download the following 3 dictionaries: 1. Oxford Paravia English - Italian Dictionary 2. Oxford Paravia Italian - English Dictionary 3. lo Zingarelli Vocabolario della Lingua Italiana (You'd have to pay at least $70/€60 for the paper edition of the lo Zingarelli dictionary.) IIRC, Android users are limited to StarDict dictionaries or standalone dictionary apps that often don't work with ebook apps. |
|
07-20-2018, 03:00 AM | #8 | |
Connoisseur
Posts: 53
Karma: 4000
Join Date: Mar 2018
Device: PW4 32GB (G000 T607) 5.12.3
|
Quote:
"The Cleopatra 3 model allows the user to write personal software using the Android 4.0 options." The Paperwhite is 3 times cheaper and OS patches/upgrades for it didn't stop 7 years ago. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Dictionary converter and irregular inflections | ninpuukamui | PocketBook | 8 | 03-15-2020 10:42 AM |
Custom dictionary | fatymid | PocketBook | 1 | 05-31-2017 09:59 AM |
Aura HD ask about custom dictionary | einkgood | Kobo Developer's Corner | 1 | 11-06-2013 06:22 AM |
French Dictionary inflections | Yashwanth.P | Introduce Yourself | 6 | 03-09-2012 12:13 PM |