![]() |
#211 | |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 82
Karma: 5414
Join Date: Mar 2013
Location: CK, Poland
Device: Kobo Glo, H2O
|
Quote:
I had to check in dictionary what does 'Concatenate' means ![]() Basically I should use Penelope to convert those stardict files to XML, then use notepad++ for joining/Concatenating them into single xml and then again convert it to desired format. So what if I wanted to add another language to english-english dictionary, to have english-english-polish dict? So then I could read english definiton of a word and if that wouldn't help me in understanding it I would have polish translation under english definition. I think somebody have done something like that |
|
![]() |
![]() |
![]() |
#212 | |||
Digital Amanuensis
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 727
Karma: 1446357
Join Date: Dec 2011
Location: Turin, Italy
Device: Several eReaders and tablets
|
Quote:
Code:
<?xml version = "1.0" encoding="UTF-8" standalone="no"?> <!DOCTYPE document SYSTEM "dictionary.dtd"> <dictionary> <entry><key>k1</key><def>d1</def></entry> <entry><key>k2</key><def>d2</def></entry> <entry><key>k3</key><def>d3</def></entry> </dictionary> <?xml version = "1.0" encoding="UTF-8" standalone="no"?> <!DOCTYPE document SYSTEM "dictionary.dtd"> <dictionary> <entry><key>k4</key><def>d4</def></entry> <entry><key>k5</key><def>d5</def></entry> </dictionary> Code:
<?xml version = "1.0" encoding="UTF-8" standalone="no"?> <!DOCTYPE document SYSTEM "dictionary.dtd"> <dictionary> <entry><key>k1</key><def>d1</def></entry> <entry><key>k2</key><def>d2</def></entry> <entry><key>k3</key><def>d3</def></entry> <entry><key>k4</key><def>d4</def></entry> <entry><key>k5</key><def>d5</def></entry> </dictionary> Quote:
Quote:
|
|||
![]() |
![]() |
![]() |
#213 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 82
Karma: 5414
Join Date: Mar 2013
Location: CK, Poland
Device: Kobo Glo, H2O
|
Thank You for all your help and efforts. I will patiently wait for the future versions of this beautiful girl which Penelope is
![]() I had to check the word because im not that fluent in english, my vocabulary is rather poor :P So there's no need for apologies. Is there a way to send you (I prefer paypal) a small evidence of gratitude for all your work on Penelope? |
![]() |
![]() |
![]() |
#214 |
Digital Amanuensis
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 727
Karma: 1446357
Join Date: Dec 2011
Location: Turin, Italy
Device: Several eReaders and tablets
|
You are welcome.
I do not accept money because the code I develop is released "into the world" for free under GPL. Instead, if you want, you can donate to your preferred charity (e.g., Wikimedia Foundation (Wikipedia), EFF, etc.) |
![]() |
![]() |
![]() |
#215 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 86
Karma: 546021
Join Date: Nov 2012
Device: kobo
|
My dictionaries no longer work with kobo system 2.5.0
![]() |
![]() |
![]() |
![]() |
#216 |
Digital Amanuensis
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 727
Karma: 1446357
Join Date: Dec 2011
Location: Turin, Italy
Device: Several eReaders and tablets
|
By "my dictionaries" do you mean "sideloaded" dictionaries, made by Penelope or your own tools, right?
I haven't updated my Kobo (and I plan not to do so), so I cannot confirm directly. |
![]() |
![]() |
![]() |
#217 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,178
Karma: 2431850
Join Date: Sep 2008
Device: IPad Mini 2 Retina
|
Confirmed. Me too. This is a custom dictionary that I have built myself using marisa and 7zip. It was OK with firmware 2.4.
So far I have tried the following to fix it with no success: Upgraded marisa source from 0.2.0 to 0.2.4. Various marisa-build options. This is all random guesses as to what the difference is. May be I'll get lucky and hit on the right combination. It could be the zip options I am using (or not using). In fact I do not use any specific zip options other than the compression format, gzip for the html files and zip for the final file. |
![]() |
![]() |
![]() |
#218 |
Digital Amanuensis
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 727
Karma: 1446357
Join Date: Dec 2011
Location: Turin, Italy
Device: Several eReaders and tablets
|
Oh, bad luck, they might have changed the dictionary format.
Does inspecting the Kobo-provided dictionaries yield something? |
![]() |
![]() |
![]() |
#219 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,178
Karma: 2431850
Join Date: Sep 2008
Device: IPad Mini 2 Retina
|
Not that I can tell; the zip contains the same *.html and words files, but as these are binary it is difficult to analyse the differences any further.
|
![]() |
![]() |
![]() |
#220 |
Digital Amanuensis
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 727
Karma: 1446357
Join Date: Dec 2011
Location: Turin, Italy
Device: Several eReaders and tablets
|
You are right, I forgot about the "encryption".
I will try to have a look at the issue next week. A wild guess is that they changed something in the markup of the HTML files. (Fun fact: between 3/1 and 4/20, the Google Code page for Penelope got 16 visits from "Toronto, Canada", of which 12 went to clone or download the source code. Clearly, this might well be just a coincidence --- all are from "generic" domains, like "rogers cable inc.".) Last edited by AlPe; 04-20-2013 at 08:28 AM. |
![]() |
![]() |
![]() |
#221 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 86
Karma: 546021
Join Date: Nov 2012
Device: kobo
|
|
![]() |
![]() |
![]() |
#222 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,178
Karma: 2431850
Join Date: Sep 2008
Device: IPad Mini 2 Retina
|
Big brother is watching...? But would it be in their interest to deliberately break custom dictionaries?
|
![]() |
![]() |
![]() |
#223 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
They might think so. But, as Kobo don't actually support custom dictionaries, it is more likely that the change was for some other reason.
|
![]() |
![]() |
![]() |
#224 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,178
Karma: 2431850
Join Date: Sep 2008
Device: IPad Mini 2 Retina
|
Interestingly the Kobo English dictionary from firmware 2.1.4 still works on firmware 2.5. Our custom dictionaries use gzipped html and words files, whereas the official dictionaries do not as far as I can tell; if you change the extension to gzip they are not recognised as gzip format. May be this is the crucial difference?
Last edited by ShellShock; 04-20-2013 at 12:30 PM. |
![]() |
![]() |
![]() |
#225 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
|
Quote:
This has been so since FW 2.0.0 or so with some dictionaries. |
|
![]() |
![]() |
![]() |
|
![]() |
||||
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 |