12-21-2012, 10:13 AM | #46 |
Digital Amanuensis
Posts: 727
Karma: 1446357
Join Date: Dec 2011
Location: Turin, Italy
Device: Several eReaders and tablets
|
Hi,
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) |
12-23-2012, 05:43 AM | #47 |
Digital Amanuensis
Posts: 727
Karma: 1446357
Join Date: Dec 2011
Location: Turin, Italy
Device: Several eReaders and tablets
|
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). |
Advert | |
|
12-27-2012, 12:04 PM | #48 |
Junior Member
Posts: 1
Karma: 10
Join Date: Feb 2012
Device: cybook odyssey
|
does the program run with a Mac?
|
12-27-2012, 12:24 PM | #49 |
Digital Amanuensis
Posts: 727
Karma: 1446357
Join Date: Dec 2011
Location: Turin, Italy
Device: Several eReaders and tablets
|
It should, but I cannot confirm. Try running it from a terminal.
|
12-28-2012, 01:31 AM | #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 |
Advert | |
|
12-28-2012, 11:38 AM | #51 |
Digital Amanuensis
Posts: 727
Karma: 1446357
Join Date: Dec 2011
Location: Turin, Italy
Device: Several eReaders and tablets
|
I have just pushed the new version, which fixes a bug in penelope3.py (Python3 version) under Windows.
|
12-30-2012, 11:23 AM | #52 |
Digital Amanuensis
Posts: 727
Karma: 1446357
Join Date: Dec 2011
Location: Turin, Italy
Device: Several eReaders and tablets
|
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. Last edited by AlPe; 12-30-2012 at 11:37 AM. |
12-31-2012, 03:27 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 :-) |
12-31-2012, 04:30 AM | #54 |
♫
Posts: 661
Karma: 506380
Join Date: Aug 2010
Location: Germany
Device: Kobo Aura / PB Lux 2 / Bookeen Frontlight / Kobo Mini / 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.)
|
12-31-2012, 07:03 AM | #55 | |
Digital Amanuensis
Posts: 727
Karma: 1446357
Join Date: Dec 2011
Location: Turin, Italy
Device: Several eReaders and tablets
|
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. |
|
12-31-2012, 07:07 AM | #56 |
Digital Amanuensis
Posts: 727
Karma: 1446357
Join Date: Dec 2011
Location: Turin, Italy
Device: Several eReaders and tablets
|
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.) |
01-02-2013, 10:07 AM | #57 |
Digital Amanuensis
Posts: 727
Karma: 1446357
Join Date: Dec 2011
Location: Turin, Italy
Device: Several eReaders and tablets
|
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/ |
01-10-2013, 04:37 PM | #58 |
Digital Amanuensis
Posts: 727
Karma: 1446357
Join Date: Dec 2011
Location: Turin, Italy
Device: Several eReaders and tablets
|
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/ |
01-11-2013, 12:48 PM | #59 |
Digital Amanuensis
Posts: 727
Karma: 1446357
Join Date: Dec 2011
Location: Turin, Italy
Device: Several eReaders and tablets
|
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/ |
02-03-2013, 01:56 PM | #60 |
Digital Amanuensis
Posts: 727
Karma: 1446357
Join Date: Dec 2011
Location: Turin, Italy
Device: Several eReaders and tablets
|
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/ |
|
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 |