|  02-13-2018, 01:05 PM | #1 | 
| Junior Member            Posts: 6 Karma: 10003 Join Date: Feb 2018 Device: Kindle Paperwhite 3 (2015) | 
				
				Scripts for generating word wise information
			 
			
			Hello to everyone! I've created a tool for generating word wise information for 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). Updated version Executables (ZIP is too big to put in attachment): https://www.dropbox.com/s/3so1hpw8xf...ables.zip?dl=0 Source code: https://github.com/tmilovanov/wisecreator Last edited by m1lovanovt; 06-08-2018 at 05:06 PM. Reason: New version | 
|   |   | 
|  03-03-2018, 08:25 AM | #2 | |
| Junior Member  Posts: 3 Karma: 10 Join Date: Mar 2018 Device: kindle paperwhite | Quote: 
 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 | |
|   |   | 
| Advert | |
|  | 
|  04-02-2018, 10:22 AM | #3 | 
| Member  Posts: 19 Karma: 10 Join Date: Apr 2018 Device: none | 
			
			Could somebody explain to me how to run this script? I cannot figure it out | 
|   |   | 
|  04-05-2018, 07:23 AM | #4 | ||
| Connoisseur  Posts: 50 Karma: 10 Join Date: Jan 2011 Location: Turin, Italy Device: Kobo Clara | Quote: 
 Quote: 
 To run the script you will need: 1.Python3 2.Python libs: NLTK: http://www.nltk.org/ sqlite3 3.calibre (console utility "ebook-convert" is used inside the script) Inviato dal mio WAS-LX1A utilizzando Tapatalk | ||
|   |   | 
|  04-05-2018, 04:37 PM | #5 | |
| Member  Posts: 19 Karma: 10 Join Date: Apr 2018 Device: none | Quote: 
 but I just cannot manage it Would you mind explaining it clearly? | |
|   |   | 
| Advert | |
|  | 
|  04-07-2018, 03:30 AM | #6 | 
| Member  Posts: 19 Karma: 10 Join Date: Apr 2018 Device: none | 
			
			it gives me: [WinError 193] %1 is not a valid Win32 application and sometimes: [WinError 2] The system cannot find the file specified | 
|   |   | 
|  04-10-2018, 03:09 PM | #7 | ||
| Junior Member            Posts: 6 Karma: 10003 Join Date: Feb 2018 Device: Kindle Paperwhite 3 (2015) | 
			
			Thanks for bug report : ) Now I've fixed it.  Quote: 
 This is because you changed the encoding, so offsets inside database changed too. Now as I said the error is fixed, but if on your book it remains, can you send the book to me to check it out? Quote: 
 Also, I've packed everything in executables that are easy to run. They are slower though. | ||
|   |   | 
|  04-11-2018, 12:28 PM | #8 | 
| Member  Posts: 19 Karma: 10 Join Date: Apr 2018 Device: none | 
			
			Excuse me I've installed Calibre but when I try to run the program, it gives me error(attachment) and does this work for amazon's android kindle app? | 
|   |   | 
|  04-11-2018, 01:31 PM | #9 | 
|  curly᷂͓̫̙᷊̥̮̾ͯͤͭͬͦͨ ʎʌɹnɔ            Posts: 3,021 Karma: 50506927 Join Date: Dec 2010 Location: ♁  ᴺ₄₅°₃₀' ᵂ₇₃°₃₇' ±₆₀" Device: K3₃.₄.₃ PW3&4₅.₁₃.₃ | |
|   |   | 
|  04-13-2018, 01:57 AM | #10 | |
| Junior Member  Posts: 3 Karma: 10 Join Date: Mar 2018 Device: kindle paperwhite | Quote: 
 thank you, il will try again | |
|   |   | 
|  04-14-2018, 01:40 AM | #11 | 
| Junior Member  Posts: 3 Karma: 10 Join Date: Mar 2018 Device: kindle paperwhite | |
|   |   | 
|  04-14-2018, 07:25 AM | #12 | 
| Member  Posts: 19 Karma: 10 Join Date: Apr 2018 Device: none | 
			
			hi finally I managed to run the program but it doesn't seem to be working on kindle android app is there any solution? | 
|   |   | 
|  04-14-2018, 05:42 PM | #13 | 
| Junior Member            Posts: 6 Karma: 10003 Join Date: Feb 2018 Device: Kindle Paperwhite 3 (2015) | |
|   |   | 
|  04-15-2018, 12:23 AM | #14 | 
| Member  Posts: 19 Karma: 10 Join Date: Apr 2018 Device: none | |
|   |   | 
|  04-17-2018, 01:36 AM | #15 | 
| Junior Member  Posts: 1 Karma: 10 Join Date: Apr 2018 Device: Kindle Oasis 2 | 
			
			Can you tell me how to put these files into my kindle?  or pack it again and use send_to_kindle to deliver the book to amazon cloud?
		 | 
|   |   | 
|  | 
| Tags | 
| word wise | 
| Thread Tools | Search this Thread | 
| 
 | 
|  Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| Word Wise for custom ebooks? | Entry20 | Kindle Formats | 1 | 03-12-2018 10:53 AM | 
| Word Wise not working properly? | doctorat | Amazon Kindle | 3 | 08-23-2017 03:43 AM | 
| Content Word wise in converted files | anshulgaba | Amazon Kindle | 1 | 11-25-2016 04:57 AM | 
| Firmware Update PW1 lost X-Ray and no Word Wise on 5.6.1.1 | pepe_alter_ego | Amazon Kindle | 1 | 08-03-2015 11:59 AM | 
| New Kindle Word Wise feature | Doitsu | Kindle Formats | 38 | 07-20-2015 06:40 AM |