01-23-2013, 07:36 AM | #16 | |
Junior Member
Posts: 2
Karma: 10214
Join Date: Jan 2013
Device: kindle
|
Quote:
|
|
02-04-2013, 08:32 PM | #17 |
curly᷂͓̫̙᷊̥̮̾ͯͤͭͬͦͨ ʎʌɹnɔ
Posts: 3,008
Karma: 50506927
Join Date: Dec 2010
Location: ♁ ᴺ₄₅°₃₀' ᵂ₇₃°₃₇' ±₆₀"
Device: K3₃.₄.₃ PW3&4₅.₁₃.₃
|
Humm, me too! Maybe a more knowledgeable dictionary developer could shed some light into this?
|
02-05-2013, 09:22 PM | #18 | |
curly᷂͓̫̙᷊̥̮̾ͯͤͭͬͦͨ ʎʌɹnɔ
Posts: 3,008
Karma: 50506927
Join Date: Dec 2010
Location: ♁ ᴺ₄₅°₃₀' ᵂ₇₃°₃₇' ±₆₀"
Device: K3₃.₄.₃ PW3&4₅.₁₃.₃
|
perplexed
Quote:
and I can't test further. Any chance for another public or PM link? Last edited by PoP; 02-06-2013 at 03:02 PM. Reason: mispelling... bad in a dictionary thread |
|
02-06-2013, 03:01 PM | #19 |
curly᷂͓̫̙᷊̥̮̾ͯͤͭͬͦͨ ʎʌɹnɔ
Posts: 3,008
Karma: 50506927
Join Date: Dec 2010
Location: ♁ ᴺ₄₅°₃₀' ᵂ₇₃°₃₇' ±₆₀"
Device: K3₃.₄.₃ PW3&4₅.₁₃.₃
|
inflections
Read a bit more, posting status.
The AmazonKindlePublishingGuidelines.pdf available from the Kindle Publishing Programs describes in section 7 how to code inflections in dictionaries. As I thought: Spoiler:
So it must be that the Smirnitsky dictionary has these defined. I am attempting to decompile so I can verify by inspecting the source .opf So far, Calibre conversion .mobi to .htmlz shows single entries and Calibre conversion .mobi to .epub never completes To be continued... Last edited by PoP; 02-06-2013 at 04:43 PM. Reason: mispelling... bad in a dictionary thread |
02-06-2013, 05:23 PM | #20 |
curly᷂͓̫̙᷊̥̮̾ͯͤͭͬͦͨ ʎʌɹnɔ
Posts: 3,008
Karma: 50506927
Join Date: Dec 2010
Location: ♁ ᴺ₄₅°₃₀' ᵂ₇₃°₃₇' ±₆₀"
Device: K3₃.₄.₃ PW3&4₅.₁₃.₃
|
...Continued
I used Kindle Mobi Unpack to successfully extract the source .html from the .mobi. Yay! For the lampshade entry search Here is the extracted html. Please note the value= field Since file is UTF-8 encoded, here are the escaped UNICODE values \u0430\u0431\u0430\u0436\u0443\u0440 for абажур: According the Kindle Publishing Guidelines previous document, The value= is the hidden label to store in the index -- what the user enters in the search box to pop up the dictionary reference. Shown in hex, one sees that it matches the UNICODE : Humm, all entries in the dictionary are similar and I see no trace of html <idx:infl> inflection tags. I am still puzzled To be continued... |
02-08-2013, 02:02 PM | #21 |
curly᷂͓̫̙᷊̥̮̾ͯͤͭͬͦͨ ʎʌɹnɔ
Posts: 3,008
Karma: 50506927
Join Date: Dec 2010
Location: ♁ ᴺ₄₅°₃₀' ᵂ₇₃°₃₇' ±₆₀"
Device: K3₃.₄.₃ PW3&4₅.₁₃.₃
|
Simple guess
... Continued
I Read some more on How to make dictionaries and indexes For example, take the search for фунтов which pops up the фунт entry Following the logic of my previous post, фунтов which is in UNICODE \u0444\u0443\u043D\u0442\u043E\u0432 must have a <idx: orth value="04440443043D0442043E0432₁₆"> tag matching entry, and pointing at the book position where фунт is defined. I checked : this is not the case. No value= hidden entry for it. Opening the dictionary itself and searching for фунт shows the *index* of the dictionary: and фунтов is not displayed. So my reasonable (but unverified) guess at this point is that search code in the framework returns the entry that sorts immediately prior to the searched term, if there is no perfect match. As simple as that! This takes care of most inflections without the need of explicitely defining them (via <idx: orth value=...> or <idx:infl...> tags) But that doesn't explain why wakawaka's other dictionary did not show inflections... I wish I could just inspect it. Ah well, maybe should I try to decompile the java code from the framework... Looks like a daunting task with the obfuscation and my limited java background. To be continued... |
02-11-2013, 12:37 AM | #22 | ||
Junior Member
Posts: 3
Karma: 1000
Join Date: Feb 2013
Device: Kindle 3
|
Quote:
Perhaps this is why there is "no trace of html <idx:infl> inflection tags"? Quote:
|
||
02-11-2013, 06:37 AM | #23 | |
Evangelist
Posts: 404
Karma: 2200000
Join Date: May 2012
Device: kt
|
Quote:
On the other hand I can confirm that using orth and infl tags works ok, as I built such a dictionary. |
|
02-12-2013, 06:38 AM | #24 | ||
curly᷂͓̫̙᷊̥̮̾ͯͤͭͬͦͨ ʎʌɹnɔ
Posts: 3,008
Karma: 50506927
Join Date: Dec 2010
Location: ♁ ᴺ₄₅°₃₀' ᵂ₇₃°₃₇' ±₆₀"
Device: K3₃.₄.₃ PW3&4₅.₁₃.₃
|
Quote:
Quote:
Thanks to you both for helping. |
||
02-12-2013, 02:30 PM | #25 | |
Junior Member
Posts: 3
Karma: 1000
Join Date: Feb 2013
Device: Kindle 3
|
Quote:
Have you searched for many non perfect terms starting with different chatterers, PoP? Or perhaps I am doing something else wrong. |
|
02-12-2013, 04:36 PM | #26 |
curly᷂͓̫̙᷊̥̮̾ͯͤͭͬͦͨ ʎʌɹnɔ
Posts: 3,008
Karma: 50506927
Join Date: Dec 2010
Location: ♁ ᴺ₄₅°₃₀' ᵂ₇₃°₃₇' ±₆₀"
Device: K3₃.₄.₃ PW3&4₅.₁₃.₃
|
After wakawaka's <<That dictionary is perfect>> statement, I only tried a very limited set of russian words that "seemed" to work. But I don't speak russian and I can't realy tell.
Maybe could you give some search examples of what works and what should have worked but did not? |
02-12-2013, 08:15 PM | #27 |
Junior Member
Posts: 3
Karma: 1000
Join Date: Feb 2013
Device: Kindle 3
|
It seems my problem cases are explained by my searching for an inflection, and an improperly accented term.
|
02-13-2013, 03:49 AM | #28 | |
Evangelist
Posts: 404
Karma: 2200000
Join Date: May 2012
Device: kt
|
Quote:
|
|
02-13-2013, 07:03 AM | #29 |
curly᷂͓̫̙᷊̥̮̾ͯͤͭͬͦͨ ʎʌɹnɔ
Posts: 3,008
Karma: 50506927
Join Date: Dec 2010
Location: ♁ ᴺ₄₅°₃₀' ᵂ₇₃°₃₇' ±₆₀"
Device: K3₃.₄.₃ PW3&4₅.₁₃.₃
|
Good point. I used the more recent the Kindle Unpack Calibre plugin. Thanks for reporting. Now, that I don't trust it for mobi dictionaries
Spoiler:
I shall resume my hunt for another decompilation tool. Any suggestion?
Last edited by PoP; 02-13-2013 at 07:26 AM. |
02-13-2013, 08:21 AM | #30 |
Evangelist
Posts: 404
Karma: 2200000
Join Date: May 2012
Device: kt
|
|
Tags |
cyrillic, dictionary, kindle 4.1.0, russian |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Hacks Russian-English dictionary | llark | Amazon Kindle | 40 | 10-19-2013 09:44 AM |
PRS-T2 Russian Dictionary | johanp | Sony Reader | 1 | 12-26-2012 05:23 AM |
[Kindle Touch] Russian dictionary? | tomsem | Kindle Developer's Corner | 3 | 04-21-2012 08:11 AM |
Can I get a Russian dictionary on a Kindle DXG with a font hack? | QU2C371FcY | Amazon Kindle | 2 | 04-17-2012 05:56 PM |
looking for a English/Russian dictionary | kaas | Reading Recommendations | 16 | 12-10-2010 03:13 AM |