|
|
#46 |
|
Digital Amanuensis
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 469
Karma: 1167803
Join Date: Dec 2011
Location: Padova, Italy
Device: Kindle3, Odyssey, eDGe, A60, PRS-T1, iPad3, KoboGlo
|
after a deep immersion into "Porting Python 2.x code into Python 3.x" :P and some testing --- I created a version of Penelope which runs under Python 3.2.3 (on my linux box): http://code.google.com/p/penelope-di...e/penelope3.py (you also need in your working directory the empty.idx file: http://code.google.com/p/penelope-di...lope/empty.idx)
__________________
Personal Website (EN): http://www.albertopettarin.it/ (My) Company Website (EN/IT): http://www.smuuks.it/ Coordinator Member of eBookClub Italia: http://ebci.it/ |
|
|
|
|
|
#47 |
|
Digital Amanuensis
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 469
Karma: 1167803
Join Date: Dec 2011
Location: Padova, Italy
Device: Kindle3, Odyssey, eDGe, A60, PRS-T1, iPad3, KoboGlo
|
I pushed an update of the code, solving a potential issue due to files with non-ASCII characters in their path.
The code is confirmed to run under Python 3.x and under Windows (XP).
__________________
Personal Website (EN): http://www.albertopettarin.it/ (My) Company Website (EN/IT): http://www.smuuks.it/ Coordinator Member of eBookClub Italia: http://ebci.it/ |
|
|
|
|
Enthusiast
|
|
|
|
#48 |
|
Junior Member
![]() Posts: 1
Karma: 10
Join Date: Feb 2012
Device: cybook odyssey
|
does the program run with a Mac?
|
|
|
|
|
|
#49 |
|
Digital Amanuensis
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 469
Karma: 1167803
Join Date: Dec 2011
Location: Padova, Italy
Device: Kindle3, Odyssey, eDGe, A60, PRS-T1, iPad3, KoboGlo
|
It should, but I cannot confirm. Try running it from a terminal.
__________________
Personal Website (EN): http://www.albertopettarin.it/ (My) Company Website (EN/IT): http://www.smuuks.it/ Coordinator Member of eBookClub Italia: http://ebci.it/ |
|
|
|
|
|
#50 |
|
Member
![]() Posts: 19
Karma: 10
Join Date: Nov 2012
Device: Bookeen Cybook Odyssey HD Frontlight
|
I confirm last version running OK on Win7 SP1 w/ Python 3.3 (also with 1252 input).
BR Nat |
|
|
|
|
|
#51 |
|
Digital Amanuensis
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 469
Karma: 1167803
Join Date: Dec 2011
Location: Padova, Italy
Device: Kindle3, Odyssey, eDGe, A60, PRS-T1, iPad3, KoboGlo
|
I have just pushed the new version, which fixes a bug in penelope3.py (Python3 version) under Windows.
__________________
Personal Website (EN): http://www.albertopettarin.it/ (My) Company Website (EN/IT): http://www.smuuks.it/ Coordinator Member of eBookClub Italia: http://ebci.it/ |
|
|
|
|
|
#52 |
|
Digital Amanuensis
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 469
Karma: 1167803
Join Date: Dec 2011
Location: Padova, Italy
Device: Kindle3, Odyssey, eDGe, A60, PRS-T1, iPad3, KoboGlo
|
Hi all,
I am implementing into Penelope a function to output an EPUB file which contains the index of a given input dictionary, to "emulate" a search function. The output is as in the attached EPUB files, which list the index for an English and an Italian dictionary. The navigation is simple, as shown by the four attached images: to search for "abased", just click on "Letter A", then "A-ABD", then "abased". The pages contain links to navigate between levels (starting letter/letter groups) and to the previous or next group. I would like to get some comments before pushing this new function.
__________________
Personal Website (EN): http://www.albertopettarin.it/ (My) Company Website (EN/IT): http://www.smuuks.it/ Coordinator Member of eBookClub Italia: http://ebci.it/ Last edited by AlPe; 12-30-2012 at 11:37 AM. |
|
|
|
|
|
#53 |
|
Member
![]() Posts: 19
Karma: 10
Join Date: Nov 2012
Device: Bookeen Cybook Odyssey HD Frontlight
|
I tried both the english and the italian ones, and shall keep them on my Cybook - they are easy to handle and useful. As for I have also an IT-DE dictionary on the Cybook (I use the german interface, living in Austria), now I have the possibility not only to have help if reading in Italian, but also to quickly look up a word I hear/read in Italian which I do not know. Pocket Dict Function - great help for me with my learning IT. Thanks a lot!
Later I shall try to reconvert some other dicts again to have this output too, to see how this new feature works if you shall post the new feature. A question: Is it possible, to get just the index epub output from an already converted/ready dict? For I do not have the old Stardict inputs (I must search and download them again) and it would be a great feature to "index" also the other, later coming "factory bookeen" dictionaries as well.. I know I always want too much! Grazie and BR Nathalie :-) |
|
|
|
|
|
#54 |
|
♫
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 326
Karma: 504884
Join Date: Aug 2010
Location: Germany
Device: Bookeen Frontlight / Kindle 3 / Kobo Touch / Ipod touch / Nook Color
|
oldnat, try the dict.cc ones I posted earlier in this thread. No need for any other dictionary, they are fantastic. (Just can talk for English german/German english, no idea about the Italian ones.)
|
|
|
|
|
|
#55 | |
|
Digital Amanuensis
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 469
Karma: 1167803
Join Date: Dec 2011
Location: Padova, Italy
Device: Kindle3, Odyssey, eDGe, A60, PRS-T1, iPad3, KoboGlo
|
Quote:
Right now dictEPUB.py is a separate class, reading a list of words from stdin. I will keep this interface, but I will also use the I/O functions already coded in Penelope to get the list of words from XML, StarDict, Bookeen and Kobo dictionaries. I plan to release this piece of code (plus updating Penelope) within 10-14 days.
__________________
Personal Website (EN): http://www.albertopettarin.it/ (My) Company Website (EN/IT): http://www.smuuks.it/ Coordinator Member of eBookClub Italia: http://ebci.it/ |
|
|
|
|
|
|
#56 |
|
Digital Amanuensis
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 469
Karma: 1167803
Join Date: Dec 2011
Location: Padova, Italy
Device: Kindle3, Odyssey, eDGe, A60, PRS-T1, iPad3, KoboGlo
|
I forgot to mention that the two "EPUB dictionaries" above are based on the dictionary index of the EN-EN and IT-IT dictionaries of my Kobo Glo --- which are both "good" commercial ones.
(The "words" file inside them is not encrypted, and it is not difficult to get such a list of words by other means, hence I believe mine can be considered a fair use.)
__________________
Personal Website (EN): http://www.albertopettarin.it/ (My) Company Website (EN/IT): http://www.smuuks.it/ Coordinator Member of eBookClub Italia: http://ebci.it/ |
|
|
|
|
|
#57 |
|
Digital Amanuensis
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 469
Karma: 1167803
Join Date: Dec 2011
Location: Padova, Italy
Device: Kindle3, Odyssey, eDGe, A60, PRS-T1, iPad3, KoboGlo
|
I have just pushed a new version of Penelope (1.14), which allows you to create the EPUB dictionary index of your own dictionary, and with complete read from/write to StarDict, XML, Bookeen Cybook Odyssey and Kobo formats.
Moreover, I uploaded some pre-compiled EPUBs here: http://code.google.com/p/penelope-di...ary_index_epub Docs and files: http://www.albertopettarin.it/penelope.html http://code.google.com/p/penelope-dictionary-converter/
__________________
Personal Website (EN): http://www.albertopettarin.it/ (My) Company Website (EN/IT): http://www.smuuks.it/ Coordinator Member of eBookClub Italia: http://ebci.it/ |
|
|
|
|
|
#58 |
|
Digital Amanuensis
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 469
Karma: 1167803
Join Date: Dec 2011
Location: Padova, Italy
Device: Kindle3, Odyssey, eDGe, A60, PRS-T1, iPad3, KoboGlo
|
I have just pushed a new version of Penelope (1.15), which allows you read/write a dictionary in CSV format. I have done some code clean-up as well.
Docs and files: http://www.albertopettarin.it/penelope.html http://code.google.com/p/penelope-dictionary-converter/
__________________
Personal Website (EN): http://www.albertopettarin.it/ (My) Company Website (EN/IT): http://www.smuuks.it/ Coordinator Member of eBookClub Italia: http://ebci.it/ |
|
|
|
|
|
#59 |
|
Digital Amanuensis
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 469
Karma: 1167803
Join Date: Dec 2011
Location: Padova, Italy
Device: Kindle3, Odyssey, eDGe, A60, PRS-T1, iPad3, KoboGlo
|
I have just pushed a new version of Penelope (1.16), which allows you to specify from command line the field/line separator when working with CSV dictionaries.
Docs and files: http://www.albertopettarin.it/penelope.html http://code.google.com/p/penelope-dictionary-converter/
__________________
Personal Website (EN): http://www.albertopettarin.it/ (My) Company Website (EN/IT): http://www.smuuks.it/ Coordinator Member of eBookClub Italia: http://ebci.it/ |
|
|
|
|
|
#60 |
|
Digital Amanuensis
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 469
Karma: 1167803
Join Date: Dec 2011
Location: Padova, Italy
Device: Kindle3, Odyssey, eDGe, A60, PRS-T1, iPad3, KoboGlo
|
A couple of days ago I pushed a new version of Penelope (1.17), which now allows the user to specify a custom collation function. Thanks to branok, there is a special collation function for German dictionaries.
Docs and files: http://www.albertopettarin.it/penelope.html http://code.google.com/p/penelope-dictionary-converter/
__________________
Personal Website (EN): http://www.albertopettarin.it/ (My) Company Website (EN/IT): http://www.smuuks.it/ Coordinator Member of eBookClub Italia: http://ebci.it/ |
|
|
|
![]() |
| Thread Tools | Search this Thread |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Cybook odyssey vs Sony prs-t1 | mentallyinspired | Which one should I buy? | 4 | 07-03-2012 04:57 AM |
| Hi there, from Paris, with a Bookeen Cybook Odyssey | Pancrazi | Introduce Yourself | 3 | 02-08-2012 11:56 PM |
| Odyssey Cybook Odyssey | bob123 | Bookeen | 77 | 01-15-2012 03:52 AM |
| Please support the new Cybook Odyssey | TheSFReader | Devices | 10 | 11-22-2011 03:34 AM |
| PB302 - How to replace English->Russian dictionary with English only (with defin.)? | guyanonymous | PocketBook | 29 | 08-03-2010 06:05 PM |