03-26-2015, 02:24 PM | #91 | |
I need a chapter break
Posts: 4,042
Karma: 56058267
Join Date: Mar 2015
Location: Israel
Device: Kobo Glo
|
Quote:
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. |
|
03-26-2015, 04:03 PM | #92 |
Digital Amanuensis
Posts: 727
Karma: 1446357
Join Date: Dec 2011
Location: Turin, Italy
Device: Several eReaders and tablets
|
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) |
Advert | |
|
03-30-2015, 12:44 AM | #93 | |
Junior Member
Posts: 8
Karma: 10
Join Date: Mar 2015
Device: Kobo Glo
|
Quote:
|
|
03-30-2015, 03:22 AM | #94 |
Cloud Reader
Posts: 1,117
Karma: 4000066
Join Date: Aug 2010
Device: Kindle Oasis, Kindle Scribe, iPad Pro 11
|
Any chance someone here has a French-German dictionary (and maybe vice versa) lying around?
|
03-30-2015, 05:48 AM | #95 |
Digital Amanuensis
Posts: 727
Karma: 1446357
Join Date: Dec 2011
Location: Turin, Italy
Device: Several eReaders and tablets
|
@tatung2112 : added to the first post, thank you.
|
Advert | |
|
03-30-2015, 09:20 AM | #96 |
Member
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 |
03-30-2015, 09:39 AM | #97 |
I need a chapter break
Posts: 4,042
Karma: 56058267
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. |
03-30-2015, 09:39 AM | #98 |
Member
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 |
03-31-2015, 05:04 AM | #99 |
Cloud Reader
Posts: 1,117
Karma: 4000066
Join Date: Aug 2010
Device: Kindle Oasis, Kindle Scribe, iPad Pro 11
|
|
04-01-2015, 10:41 AM | #100 |
Digital Amanuensis
Posts: 727
Karma: 1446357
Join Date: Dec 2011
Location: Turin, Italy
Device: Several eReaders and tablets
|
Added, thanks to rmreader again.
|
04-01-2015, 10:48 AM | #101 | |
Digital Amanuensis
Posts: 727
Karma: 1446357
Join Date: Dec 2011
Location: Turin, Italy
Device: Several eReaders and tablets
|
Quote:
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. |
|
04-01-2015, 10:57 AM | #102 | |
Digital Amanuensis
Posts: 727
Karma: 1446357
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:
|
|
04-03-2015, 05:31 AM | #103 |
Member
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 |
04-03-2015, 07:04 AM | #104 | |
Digital Amanuensis
Posts: 727
Karma: 1446357
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:
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? |
|
04-03-2015, 10:01 AM | #105 |
Member
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. |
Tags |
kobo dictionaries |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
New custom English dictionaries | ShellShock | Kobo Developer's Corner | 166 | 09-22-2020 02:48 PM |
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 |