04-22-2013, 05:14 PM | #256 |
Wizard
Posts: 1,176
Karma: 2431850
Join Date: Sep 2008
Device: IPad Mini 2 Retina
|
That is great news AlPe. Fingers crossed that we get this fixed. I am interested in the Aura, but I really want custom dictionaries to work on it too.
|
04-23-2013, 12:48 PM | #257 |
Digital Amanuensis
Posts: 727
Karma: 1446357
Join Date: Dec 2011
Location: Turin, Italy
Device: Several eReaders and tablets
|
You're welcome. I decided to contact KoboHelp on Twitter because I was getting several emails (13 so far) from people with broken dictionaries after updating to 2.5.0.
I posted a notice on the main page of Penelope's Google Code page. I hope they fix the problem soon (also because it is in their own interest). |
Advert | |
|
04-23-2013, 03:29 PM | #258 |
Digital Amanuensis
Posts: 727
Karma: 1446357
Join Date: Dec 2011
Location: Turin, Italy
Device: Several eReaders and tablets
|
I pushed a new version of Penelope (1.19), which supports merging multiple dictionaries into a single one.
Docs and files: http://www.albertopettarin.it/penelope.html http://code.google.com/p/penelope-dictionary-converter/ |
04-23-2013, 03:31 PM | #259 | |
Digital Amanuensis
Posts: 727
Karma: 1446357
Join Date: Dec 2011
Location: Turin, Italy
Device: Several eReaders and tablets
|
Quote:
The only constraint is that input dictionaries must be of the same format. (Yeah, I need a deep refactoring of the code!) You might want to perform some intermediate conversions (e.g., to XML or CSV) and then merge them together. |
|
04-24-2013, 04:01 AM | #260 |
Connoisseur
Posts: 77
Karma: 5414
Join Date: Mar 2013
Location: CK, Poland
Device: Kobo Glo, H2O
|
|
Advert | |
|
04-24-2013, 10:41 AM | #261 |
Addict
Posts: 200
Karma: 42238
Join Date: Oct 2012
Device: Kobo: Glo, Aura , Aura H2O, Aura ONE, Forma, Elipsa
|
Custom dictionaries work again under 2.5.1
|
04-24-2013, 10:48 AM | #262 |
Wizard
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
|
Great news. Thank you, ewphoenix123!
|
04-24-2013, 01:30 PM | #263 |
Connoisseur
Posts: 86
Karma: 546021
Join Date: Nov 2012
Device: kobo
|
|
04-24-2013, 01:59 PM | #264 |
Wizard
Posts: 1,176
Karma: 2431850
Join Date: Sep 2008
Device: IPad Mini 2 Retina
|
I'm impressed, my custom dictionary is working again; I really did not expect Kobo to fix it so quickly. Thanks Kobo!
Last edited by ShellShock; 04-24-2013 at 02:53 PM. |
04-24-2013, 03:47 PM | #265 |
Connoisseur
Posts: 86
Karma: 546021
Join Date: Nov 2012
Device: kobo
|
|
04-24-2013, 05:38 PM | #266 |
Wizard
Posts: 1,176
Karma: 2431850
Join Date: Sep 2008
Device: IPad Mini 2 Retina
|
The arrow button is still broken for me too.
|
04-26-2013, 02:44 AM | #267 |
Member
Posts: 24
Karma: 10
Join Date: Jan 2013
Device: Kobo Glo
|
Well the Kobo team seems to care about their customers.
I contacted the Kobo support (both the french one and the "official" canadian one) concerning file formats marked as supported but that wouldn't actually work (text, mobi and html files) on firmware 2.4.x and the last version of the firmware (2.4.x+1) fixed it, though I am not sure I triggered it. Still, this last version introduced its own bugs, mainly on the games (checks, sudoku, ...) so it seems to me that they release their latest development snapshot as soon as they correct a bug but do not ensure that this snapshot is quite stable and has no regression. Still, I greatly prefer a team that introduces some regression while trying to please their customers to a team that do not heed them at all. And the side effects will probably decrease as the releases pop up and their software "grows up". |
04-27-2013, 08:33 AM | #268 |
Digital Amanuensis
Posts: 727
Karma: 1446357
Join Date: Dec 2011
Location: Turin, Italy
Device: Several eReaders and tablets
|
|
05-02-2013, 11:05 AM | #269 |
Member
Posts: 11
Karma: 4264
Join Date: Dec 2011
Device: kobo touch
|
The new line in the text is not translated, so I changed some code to penelope.py.
It has no problem on my dictionary (stardict formated). Will it cause problem on some dictionary? if type(global_dictionary[k]) is tuple: # single keyword definition = global_dictionary[k][4].replace("\n","</p><p>") f.write("<w><p><a name=\"%s\"/><div><b>%s</b><br/>%s</div></p></w>" % (word, word, definition)) else: # multiple keyword for sql_tuple in global_dictionary[k]: definition = sql_tuple[4].replace("\n","</p><p>") f.write("<w><p><a name=\"%s\"/><div><b>%s</b><br/>%s</div></p></w>" % (word, word, definition)) |
05-02-2013, 11:37 AM | #270 |
Digital Amanuensis
Posts: 727
Karma: 1446357
Join Date: Dec 2011
Location: Turin, Italy
Device: Several eReaders and tablets
|
Yes, it might, depending on the input material. I think I should not assume that a newline char means "open a new paragraph". Moreover, some dictionaries might come with their own markup (in the definition strings).
The issue was raised some time ago, and I decided to deal with it as follows: Penelope only reads the string corresponding to each key of the index, and (implicitly) assumes that it is "raw text". If this string contains markup (or some other formatting convention, like newlines=new paragraph), it is up to the end user dealing with it, by specifying a custom parser (e.g., by editing the provided default_parser.py and invoking penelope.py with the suitable --parser switch). Of course, since Penelope is free software, feel free to adapt it to suit your needs. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
What's file format of dictionary | mnjkl | Kobo Reader | 2 | 12-12-2011 08:48 AM |
Dictionary format | jgray | Sony Reader | 1 | 10-25-2010 09:52 AM |
English Thesaurus in the dictionary format | osnova | Amazon Kindle | 14 | 12-12-2009 06:42 PM |
Dictionary: what version? can it be in firmware? | jedix | Sony Reader Dev Corner | 7 | 12-05-2008 12:00 PM |
Webster dictionary in DEPReader format | abigail | Reading and Management | 0 | 08-10-2005 08:00 AM |