Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Readers > Kobo Reader

Notices

Reply
 
Thread Tools Search this Thread
Old 03-26-2015, 02:24 PM   #91
oren64
I need a chapter break
oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.
 
oren64's Avatar
 
Posts: 4,040
Karma: 56037869
Join Date: Mar 2015
Location: Israel
Device: Kobo Glo
Quote:
Originally Posted by rmreader View Post
Hi orren64,

I've converted the file. I got a few errors, so I'm not sure if this works. Please report back if it works. Then Alberto can add it to the list.

Kind regards,
Ruud
Thanks a lot.

But it's not working i rename existing dictionary restart, it's show no translation or only symbols .
maybe it's because hebrew it's right to left.

maybe if you can the convert the GBL to stardict to dicthtm.

http://www.babylon.com/free-dictiona...ebrew/905.html

Thanks

Oren

Last edited by oren64; 03-26-2015 at 03:38 PM.
oren64 is offline   Reply With Quote
Old 03-26-2015, 04:03 PM   #92
AlPe
Digital Amanuensis
AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.
 
AlPe's Avatar
 
Posts: 727
Karma: 1440161
Join Date: Dec 2011
Location: Turin, Italy
Device: Several eReaders and tablets
Quote:
Originally Posted by rmreader View Post
I've converted the file. I got a few errors
When using Penelope for Python 2, I get dicthtml-en-he.zip of size 6297832 bytes.

When using Penelope for Python 3, I get a

Code:
UnicodeEncodeError: 'ascii' codec can't encode character u'\xf3' in position 1: ordinal not in range(128)
(which might be a bug or a problem with the input file, I do not know yet), and no file dicthtml-en-he.zip is output. What was the error you mentioned?
AlPe is offline   Reply With Quote
Advert
Old 03-30-2015, 12:44 AM   #93
tatung2112
Junior Member
tatung2112 began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Mar 2015
Device: Kobo Glo
Quote:
Originally Posted by AlPe View Post
As far as I know, there is no way to embed a font inside a Kobo dictionary, for the reader/app to use it when displaying the dictionary definition.

Hence, all you have is the default "Kobo" font: if it does not have glyphs for certain (or even all) Vietnamese characters, you are out of luck.

(Maybe custom firmwares do have the possibility of changing the dictionary font --- I do not know for sure, try searching the Kobo Developer part of this forum.)

I have tried reaching the Kobo devs several times, asking them for the dictionary format documentation and official support for custom dictionaries, but with zero results.

===

Is the dictionary linked above still usable? Would you like me to list it in the index in the first post?
Thank you very much for your replying. I have searched and can display Vietnamese well in Kobo dictionary (thread Modifications for bad eyes). The dictionary that I attached in the another post is English - Vietnamese, hope it will help someone when you put it to the first post dictionary list. Cheers!
tatung2112 is offline   Reply With Quote
Old 03-30-2015, 03:22 AM   #94
johnnyb
Cloud Reader
johnnyb ought to be getting tired of karma fortunes by now.johnnyb ought to be getting tired of karma fortunes by now.johnnyb ought to be getting tired of karma fortunes by now.johnnyb ought to be getting tired of karma fortunes by now.johnnyb ought to be getting tired of karma fortunes by now.johnnyb ought to be getting tired of karma fortunes by now.johnnyb ought to be getting tired of karma fortunes by now.johnnyb ought to be getting tired of karma fortunes by now.johnnyb ought to be getting tired of karma fortunes by now.johnnyb ought to be getting tired of karma fortunes by now.johnnyb ought to be getting tired of karma fortunes by now.
 
Posts: 1,015
Karma: 1514596
Join Date: Aug 2010
Device: iPad Pro, Kindle Voyage, Kobo H2O Edition 2
Any chance someone here has a French-German dictionary (and maybe vice versa) lying around?
johnnyb is offline   Reply With Quote
Old 03-30-2015, 05:48 AM   #95
AlPe
Digital Amanuensis
AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.
 
AlPe's Avatar
 
Posts: 727
Karma: 1440161
Join Date: Dec 2011
Location: Turin, Italy
Device: Several eReaders and tablets
@tatung2112 : added to the first post, thank you.
AlPe is offline   Reply With Quote
Advert
Old 03-30-2015, 09:20 AM   #96
rmreader
Member
rmreader began at the beginning.
 
Posts: 22
Karma: 10
Join Date: Sep 2014
Location: Netherlands
Device: Kobo Glo
@Oren64:
The file you mentioned is the same as I tried to convert.
@Alberto:
I used stardict-editor to compile the BGL file and got:
=======
Building...
Default charset: cp1252
Source Charset: cp1252
TargetCharset: cp1255
.................................................. ...........................Error in iconv conversion
.................................................. .................................................. .................................................. .................................................. .................................................. .................................................. .................................................. .................................................. .................................................. .................................................. .................................................. .................................................. .................................................. .................................................. .................................................. .................................................. .................................................. .................................................. .................................................. .............................................Error in iconv conversion
Error in iconv conversion
.................................................. .................................................. .................................................. .................................................. .................................................. .................................................. .................................................. .................................................. .................................................. .................................................. .................................................. .............
Write file: /home/ruud/dictionaries/dicts/Babylon_English_Hebrew.babylon

Bookname: Babylon English-Hebrew
Word count: 163443
Author: Babylon Ltd.
Email: linguistic-support@babylon.com
Website:
Description: This comprehensive English-Hebrew dictionary contains words, phrases, abbreviations & acronyms. It includes terms from a vast variety of subjects, such as Medicine, Electronics, Zoology, Business, Computers, Religion, etc., and features both the American and British forms of spelling.
Done!
=======
In the terminal window I also got three error messages:
(stardict-editor:20117): Gtk-CRITICAL **: gtk_text_buffer_emit_insert: assertion `g_utf8_validate (text, len, NULL)' failed

Then compiling the .babylon file I got:
=======
Building...
Line 16, bad word!!!
Line 19, bad word!!!
Line 303938, bad definition!!!
Line 490331, bad definition!!!
Over
wordcount: 163439
synwordcount: 132928
Done!
=======
Then I started penelope:
python ~/penelope_v2.0.0/penelope.py -p Babylon_English_Hebrew -f en -t he --output-kobo
This gave no errors and poutput:
=======
[INFO] Input dictionary has sequence type 'h'.
[INFO] Starting conversion with the following parameters:

[INFO] Dictionary file: new.dicthtml-en-he
[INFO] Index file: words
[INFO] Language from: en
[INFO] Language to: he
[INFO] License: GNU GPL 3
[INFO] Copyright: GNU GPL 3
[INFO] Title: Dictionary en -> he
[INFO] Description: Dictionary en -> he
[INFO] Year: 2012

[INFO] Reading input dictionaries...
[INFO] Parsing the input data...
[INFO] Using the built-in parser...
[INFO] Outputting in Kobo format to file...
[INFO] Creating compressed index file words...
[INFO] Creating zip file new.dicthtml-en-he.zip...
[INFO] File new.dicthtml-en-he.zip created successfully!
[INFO] File new.dicthtml-en-he.zip created successfully!
=======
I don't know anything of what is really going on, I just know this trick to convert BGL to kobo dictionary.
Does it help if I send the input files to penelope?

Kind regards,
Ruud
rmreader is offline   Reply With Quote
Old 03-30-2015, 09:39 AM   #97
oren64
I need a chapter break
oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.
 
oren64's Avatar
 
Posts: 4,040
Karma: 56037869
Join Date: Mar 2015
Location: Israel
Device: Kobo Glo
Hi rmreader

AlPe succeed to convert the BGL to dicthtml, but it didn't work because there's no Hebrew glyphs in kobo, the definition box pops up contains unreadable symbols.
Thanks for trying.

Oren

Last edited by oren64; 03-30-2015 at 03:03 PM.
oren64 is offline   Reply With Quote
Old 03-30-2015, 09:39 AM   #98
rmreader
Member
rmreader began at the beginning.
 
Posts: 22
Karma: 10
Join Date: Sep 2014
Location: Netherlands
Device: Kobo Glo
Hi johhnyb,

On the Babylon site I found a French to German dictionary and converted it. I could not find the reverse. Please check if it works. Then Alberto can add it to the list.

Kind regards,
Ruud
Attached Files
File Type: zip dicthtml-fr-de.zip (1.52 MB, 1519 views)
rmreader is offline   Reply With Quote
Old 03-31-2015, 05:04 AM   #99
johnnyb
Cloud Reader
johnnyb ought to be getting tired of karma fortunes by now.johnnyb ought to be getting tired of karma fortunes by now.johnnyb ought to be getting tired of karma fortunes by now.johnnyb ought to be getting tired of karma fortunes by now.johnnyb ought to be getting tired of karma fortunes by now.johnnyb ought to be getting tired of karma fortunes by now.johnnyb ought to be getting tired of karma fortunes by now.johnnyb ought to be getting tired of karma fortunes by now.johnnyb ought to be getting tired of karma fortunes by now.johnnyb ought to be getting tired of karma fortunes by now.johnnyb ought to be getting tired of karma fortunes by now.
 
Posts: 1,015
Karma: 1514596
Join Date: Aug 2010
Device: iPad Pro, Kindle Voyage, Kobo H2O Edition 2
Quote:
Originally Posted by rmreader View Post
Hi johhnyb,

On the Babylon site I found a French to German dictionary and converted it. I could not find the reverse. Please check if it works. Then Alberto can add it to the list.

Kind regards,
Ruud
Works great, thanks a lot!
johnnyb is offline   Reply With Quote
Old 04-01-2015, 10:41 AM   #100
AlPe
Digital Amanuensis
AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.
 
AlPe's Avatar
 
Posts: 727
Karma: 1440161
Join Date: Dec 2011
Location: Turin, Italy
Device: Several eReaders and tablets
Added, thanks to rmreader again.
AlPe is offline   Reply With Quote
Old 04-01-2015, 10:48 AM   #101
AlPe
Digital Amanuensis
AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.
 
AlPe's Avatar
 
Posts: 727
Karma: 1440161
Join Date: Dec 2011
Location: Turin, Italy
Device: Several eReaders and tablets
Quote:
Originally Posted by rmreader View Post
@Oren64:
I don't know anything of what is really going on, I just know this trick to convert BGL to kobo dictionary.
Does it help if I send the input files to penelope?

Kind regards,
Ruud
As Oren commented above, I tried to convert the dictionary from the StarDict file he provided. On Python 2 the conversion to Kobo format succeeded, on Python 3 failed with the error quoted above (I have not investigated the issue).

I privately sent the file generated with Penelope on Python 2 to Oren, and he confirmed that the dictionary seems to be properly installed, but when he looks a word up, the definition panel shows up with unreadable symbols --- which seems to suggest that the font that Kobo uses for the vocabulary has no glyphs for the Hebrew characters, let alone the fact that Hebrew should be displayed right-to-left.

In fact, trying to convert to CSV or XML from the same StarDict, yields a "correct" output file (that is, when opened in Vim, I can see the definitions in Hebrew). Moreover, by manually querying the "words" index, it contains the words in the original StarDict file --- which is consistent with Oren's observation that the dictionary box pops up, but contains unreadable text.

Last edited by AlPe; 04-01-2015 at 10:50 AM.
AlPe is offline   Reply With Quote
Old 04-01-2015, 10:57 AM   #102
AlPe
Digital Amanuensis
AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.
 
AlPe's Avatar
 
Posts: 727
Karma: 1440161
Join Date: Dec 2011
Location: Turin, Italy
Device: Several eReaders and tablets
Important question, as I have just realized that many of the dictionaries listed here come from Babylon dictionaries: are you sure that those conversions are legal? Where can I find the text of the license associated with Babylon dictionaries?

I repeat myself:
Quote:
Please respect the copyright laws, and NEVER EVER post about converted dictionaries that infringe them. (Also, do not attempt at mailing me asking for converting copyrighted material, I will not help you on that.)
AlPe is offline   Reply With Quote
Old 04-03-2015, 05:31 AM   #103
rmreader
Member
rmreader began at the beginning.
 
Posts: 22
Karma: 10
Join Date: Sep 2014
Location: Netherlands
Device: Kobo Glo
Hi Alberto,

All the babylon dictionaries I converted came from http://www.babylon.com/free-dictionaries. So I guess from the name that it is legal. ;-)

Kind regards,
Ruud
rmreader is offline   Reply With Quote
Old 04-03-2015, 07:04 AM   #104
AlPe
Digital Amanuensis
AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.
 
AlPe's Avatar
 
Posts: 727
Karma: 1440161
Join Date: Dec 2011
Location: Turin, Italy
Device: Several eReaders and tablets
Thanks for the link.

However, "free" as in "not paid" does not automatically mean "it is OK to download and use them inside something else than Babylon software".

On that page there is only a generic

Quote:
The free version of Babylon is for private use only.
while the Terms of Service seem to imply that the "free dictionaries", being provided by third parties (mostly users themselves, judging from the dictionaries' descriptions), can be used according to each dictionary's own licensing status.

AFAIK, I am mostly satisfied that the "free Babylon dictionaries" seem to origin from open/collaborative/freely licensed sources, thus converting to Kobo format seems OK.

=== === ===

BTW, at this point implementing support for the Babylon format in Penelope itself seems worth, doesn't it?
AlPe is offline   Reply With Quote
Old 04-03-2015, 10:01 AM   #105
rmreader
Member
rmreader began at the beginning.
 
Posts: 22
Karma: 10
Join Date: Sep 2014
Location: Netherlands
Device: Kobo Glo
You're right, I didn't look far enough and thought that since they were contributed it was okay to use them on the Kobo too. Sorry.

The way I convert them is to use the stardict-editor on Linux. You load the .BGL file, convert it to a .babylon file, load that one and convert it to the files needed for Penelope. I think the stardict-editor is open source so if you want to add support to Penelope you might look there. For me the few extra steps is no problem since I only had to convert a few dictionaries.

BTW, thanks for making Penelope otherwise I (and a lot of other people) would be missing a lot of helpful dictionaries. I use a them quite a lot.
rmreader is offline   Reply With Quote
Reply

Tags
kobo dictionaries

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
New custom English dictionaries ShellShock Kobo Developer's Corner 165 08-13-2016 08:53 AM
Kobo desktop loading dictionaries brudigia Kobo Reader 1 07-16-2014 12:55 PM
Touch building custom dictionaries, especially Japanese-English tshering Kobo Reader 0 07-12-2012 06:00 PM
Custom dictionaries for 350/650? 1drey Sony Reader 5 12-28-2010 12:49 PM
non-English dictionaries in eReader on iPod Touch? ficbot Reading and Management 1 10-11-2008 09:04 AM


All times are GMT -4. The time now is 11:43 PM.


MobileRead.com is a privately owned, operated and funded community.