View Single Post
Old 03-03-2018, 08:25 AM   #2
bibo59
Junior Member
bibo59 began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Mar 2018
Device: kindle paperwhite
Quote:
Originally Posted by m1lovanovt View Post
Hello to everyone!

I've created a tool for generating word wise information for a third-party mobi books. I've created it for personal use, but I'll be glad if someone finds it useful. There are number of significant flaws in it, so If there is a person who would like to contribute to it, it'll be great too. Script has been tested only for a dozen books from my own library on my Linux mint 17 x64 and my Kindle Paperwhite 3 (2015).
Hello,
thank you, your tool work (i modified "with open(path_to_rawml, 'rt',encoding="latin-1")" to avoid the utf-8 codec error) ).

But the definitions are not under the right words.

For example:

inside: "to cry out"
to: "to talk in a quick way"


Regards,

Getting ASIN of the book
Collecting words...
Count of words: 219325
Processing words: |█████████████████████████████-----------------------------------------------------------------------| 28.6% CompleteUNIQUE constraint failed: glosses.start
Processing words: |██████████████████████████████████████--------------------------------------------------------------| 38.2% CompleteUNIQUE constraint failed: glosses.start
Processing words: |█████████████████████████████████████████████████ ███████--------------------------------------------| 56.3% CompleteUNIQUE constraint failed: glosses.start
Processing words: |█████████████████████████████████████████████████ ███████████----------------------------------------| 59.7% CompleteUNIQUE constraint failed: glosses.start
Processing words: |█████████████████████████████████████████████████ █████████████--------------------------------------| 62.2% CompleteUNIQUE constraint failed: glosses.start
Processing words: |█████████████████████████████████████████████████ ████████████████████-------------------------------| 69.0% CompleteUNIQUE constraint failed: glosses.start
Processing words: |█████████████████████████████████████████████████ █████████████████████------------------------------| 69.7% CompleteUNIQUE constraint failed: glosses.start
Processing words: |█████████████████████████████████████████████████ ███████████████████████████████████████████--------| 92.0% CompleteUNIQUE constraint failed: glosses.start
Processing words: |█████████████████████████████████████████████████ ██████████████████████████████████████████████████ █| 100.0% Complete
bibo59 is offline   Reply With Quote