View Single Post
Old 12-31-2014, 08:44 PM   #1110
elchamaco
Zealot
elchamaco will become famous soon enoughelchamaco will become famous soon enoughelchamaco will become famous soon enoughelchamaco will become famous soon enoughelchamaco will become famous soon enoughelchamaco will become famous soon enough
 
Posts: 128
Karma: 500
Join Date: Aug 2011
Device: kindle, boox
Hi, KevinH,

I'm trying to decompress a dictionary generated with kindlegen, the dictionary have inflected forms but kindleunpack didn't notice them. There is a log from kindlegen and i see what's the problem, they put the inflected forms as new definitions but in the same definition, the dictionary works but kindleunpacks fails to decompress.

They use somthing like this:
Code:
<idx:entry>
<idx:orth value="palabra"></idx:orth>
<idx:orth value="inflectedform1"></idx:orth>
...
<idx:orth value="inflectedform2"></idx:orth>
</idx:entry>
definición
I found in kindlegenlog part of a definition so i think that's the problem:

Code:
eu"><a id="sorraríeu"></a></idx:orth>
<idx:orth value="sorrat"><a id="sorrat"></a></idx:orth>
<idx:orth value="sorrats"><a id="sorrats"></a></idx:orth>
<idx:orth value="sorrava"><a id="sorrava"></a></idx:orth>
<idx:orth value="sorraven"><a id="sorraven"></a></idx:orth>
<idx:orth value="sorraves"><a id="sorraves"></a></idx:orth>
<idx:orth value="sorrem"><a id="sorrem"></a></idx:orth>
<idx:orth value="sorren"><a id="sorren"></a></idx:orth>
<idx:orth value="sorres"><a id="sorres"></a></idx:orth>
<idx:orth value="sorressin"><a id="sorressin"></a></idx:orth>
<idx:orth value="sorressis"><a id="sorressis"></a></idx:orth>
<idx:orth value="sorreu"><a id="sorreu"></a></idx:orth>
<idx:orth value="sorri"><a id="sorri"></a></idx:orth>
<idx:orth value="sorrin"><a id="sorrin"></a></idx:orth>
<idx:orth value="sorris"><a id="sorris"></a></idx:orth>
<idx:orth value="sorro"><a id="sorro"></a></idx:orth>
<idx:orth value="sorrà"><a id="sorrà"></a></idx:orth>
<idx:orth value="sorràrem"><a id="sorràrem"></a></idx:orth>
<idx:orth value="sorràreu"><a id="sorràreu"></a></idx:orth>
<idx:orth value="sorràvem"><a id="sorràvem"></a></idx:orth>
<idx:orth value="sorràveu"><a id="sorràveu"></a></idx:orth>
<idx:orth value="sorrés"><a id="sorrés"></a></idx:orth>
<idx:orth value="sorréssim"><a id="sorréssim"></a></idx:orth>
<idx:orth value="sorréssiu"><a id="sorréssiu"></a></idx:orth>
<idx:orth value="sorrí"><a id="sorrí"></a></idx:orth>
<p class="lema"><span class="navy"><sup>■</sup></span><span class="navy"><strong>sorrar</strong></span></p><p class="dict"><a href="="=
When they finish with all the orth's that in fact are the inflected forms then they begin with the definiction. In fact they don't finish the idx:entry before the definition, but kindleunpack fails to handle and puts the close of the idx:entry before the definition, i found more dictionaries with that problem, i thought it was a problem with the dictionary but now with this log i think it's a problem with kindleunpack that puts the close tag in a bad place before the definition.

It's possible to handle this kind of dictionaries and unpack all the terms? I can provide the dictionary.

Regards

Last edited by elchamaco; 12-31-2014 at 08:46 PM.
elchamaco is offline   Reply With Quote