![]() |
#1 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 94
Karma: 20000
Join Date: May 2013
Device: generic
|
Please help with converting dicts with Penelope ?
Hi
I downloaded couple stardict dictionaries and Penelope tool. However I am having a brain squeeze with penelope`s usage. I used thousands of command line tools but this one is giving me hard time. I do not understand why I need to convert from one language to another one when all I need to convert one format of dictionary to another format of dictionary. I would appreciate if someone can give me the right command line for what I need. I want to use norwegian dictionary in Kobo. So i have the dictionary and I want to convert to Kobo format. That is all I need. thanks |
![]() |
![]() |
![]() |
#3 |
Junior Member
![]() Posts: 1
Karma: 10
Join Date: Jul 2013
Device: none
|
These are the formats that you can convert From and To.
1. Bookeen Cybook Odyssey (R/W) 2. Kobo (R index only, W unencrypted/unobfuscated only) 3. StarDict (R/W) 4. XML (R/W) 5. CSV (R/W) Refer here http://code.google.com/p/penelope-dictionary-converter/. Once you have converted to kobo you can use the Kobo desktop app. I first got to learn about kobo while researching on your topic http://www.techyv.com/questions/kobo...-opening-files. |
![]() |
![]() |
![]() |
#4 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 94
Karma: 20000
Join Date: May 2013
Device: generic
|
Andrewjo
I actually went through both pages before posting here. I could not figure out the right combination command lines and was noit getting anywhere. That is why I was hoping that someone could provide me the right command line from star dict to kobo thanks |
![]() |
![]() |
![]() |
#5 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 230
Karma: 13495
Join Date: Feb 2009
Location: SoCal
Device: Kindle 3, Kindle PW, Pocketbook 301+, Pocketbook Touch, Sony 950, 350
|
khahoon
Step-by-step procedure (uses older version of Penelope because it is simpler to use than latest 3.1.3). For example, you have Norvegian-English dictionary in Stardict format, intending to read Norvegian book and want to look up that dictionary on Kobo reader. 1. Go here and download file penelope_2.0.2.zip. 2. Install Python. I have Python 2.7 installed on Windows 7 64 bit. 3. Download file marisa.zip attached to this post. It containes two Windows executables I built from open source Marisa code. Penelope script invokes these executables. Place them anywhere; I put them to C:\tmp. 4. Unsip Penelope script and place it to folder of your choice. Open file penelope.py (if using Python 2.7)in any text editor, find variables MARISA_BUILD_PATH and MARISA_REVERSE_LOOKUP_PATH and set them to "c:/tmp/marisa-build.exe" and to "c:/tmp/marisa-reverse-lookup.exe" respectively. Save penelopa.py. 5. Copy your StarDict dictionary to the folder with Penelope script. Let the dictionary files be nor_en.dict, nor_en.idx, and nor_en.ifo. 6. Make this Penelope folder current and issue this command: Code:
python penelope.py -p nor_en -f nor -t en --output-kobo 7. Run this command. In case of success script creates Kobo dictionary dicthtml-nor-en.zip Last edited by EbokJunkie; 09-21-2017 at 03:59 PM. |
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Oct 2013
Device: Kobo Aura HD
|
I don't understand point 5. and 6.
Where I have to write this code : python penelope.py -p nor_en -f nor -t en --output-kobo And where I will find the exported dictionary? |
![]() |
![]() |
![]() |
#7 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 230
Karma: 13495
Join Date: Feb 2009
Location: SoCal
Device: Kindle 3, Kindle PW, Pocketbook 301+, Pocketbook Touch, Sony 950, 350
|
5. You need to find out proper Stardict dictionary somewhere. This dictionary will serve as an input for conversion to Kobo format.
6. This is a command issued at command prompt. On Windows 7, open Windows explorer, go to a folder level above the Penelope folder, press Shift and simultaneously right click on the Penelope folder icon, select option Open command window here from pull-down menu. This will open black command window with command prompt. Enter the recommended command there. As far as I remember, exported dictionary will show up at the folder with Penelope script. |
![]() |
![]() |
![]() |
#8 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Oct 2013
Device: Kobo Aura HD
|
I think this is impossible!
I tried a lot of times without even a small success. Can somebody convert this English-Bulgarian dict? |
![]() |
![]() |
![]() |
#9 |
Junior Member
![]() Posts: 1
Karma: 10
Join Date: Jan 2014
Device: KOBO
|
Anyone?
I have a KOBO and I would like to read Russian books but there is no dictionary russian-english..
I have been searching everywhere, but can't find anything. Is it possible with this program? Before I start struggling with it. |
![]() |
![]() |
![]() |
#10 | |
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
|
Quote:
|
|
![]() |
![]() |
![]() |
#11 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 105
Karma: 87300
Join Date: Feb 2011
Device: kindle 3w, dxg, 5, Kv
|
I also need help with converting a mobi dictionary (kindle format) to stardict format --if that is at all really possible...
I am pretty much unfamiliar with coding work and unsurprisingly I cannot make penelope work... Downloaded the package and in Terminal (OSX 10.9), the following command works: python -m penelope. But that's it ![]() (Tried to install dictzip but failed there: sudo apt-get "command not found" Probably the link I found didn't lead to the right dictzip package... Where does one find the "dictzip executable" the manual refers to?) If someone has time to write some quick instructions for 10.9, I would be really grateful. (If relevant: my "ultimate purpose" is to then convert the stardict dictionary to Apple dictionary format with Dictunifier to use multiple Kindle dictionaries on the Desktop) |
![]() |
![]() |
![]() |
#12 | ||
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,677
Karma: 23983815
Join Date: Dec 2010
Device: Kindle PW2
|
Quote:
You'll need to de-drm the Kindle dictionary and unpack it with KindleUnpack. Then you'll need to remove the Kindle-specific HTML tags and format everything so that the headword is in one line and the definition in the next one, i.e. a GLS file, and convert it to a StarDict file. Quote:
Also check out PyGlossary, which can generate OSX dictionary source files. Last edited by Doitsu; 01-28-2016 at 02:55 AM. |
||
![]() |
![]() |
![]() |
#13 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 105
Karma: 87300
Join Date: Feb 2011
Device: kindle 3w, dxg, 5, Kv
|
Doitsu, thank you so much indeed! Apparently, my chances are dim then
![]() |
![]() |
![]() |
![]() |
#14 |
Enthusiast
![]() Posts: 47
Karma: 10
Join Date: Sep 2017
Device: Kobo Glo HD
|
Thank you!! I did not expect it to work, was just trying, but it worked.
1. I couldn't find the penelope.py, so I just used the command in penelope manual/'readme.rst'. 2. I am in wondows, did not know how to set the PATH of marisa files. Just copied the exes in a folder and added the folder address with the --marisa-bin-path. It worked! 3. Someone asked about the input/output languages; even I got the same error that input language missing. I just added with 'en' in both cases. Again, success. Last edited by vjjustin; 09-21-2017 at 03:15 PM. |
![]() |
![]() |
![]() |
#15 | |
eBook Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 85,544
Karma: 93383043
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
|
Quote:
1. Run "Control Panel". 2. Run the "System" application. 3. Select "Advanced System Settings". 4. Click the "Environment Variables" button. 5. Edit the PATH variable. That's the way it's done on both Windows 7, 8, and 10. |
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Touch Custom dicts for Kindle App on Nook rooted | myself11 | Barnes & Noble NOOK | 0 | 01-16-2013 12:49 PM |
Other Fiction Harte, Bret: Eine Blaugras Penelope. (german) V1. 29 Aug 2012 | Frodok | ePub Books | 0 | 08-29-2012 05:39 PM |
"How's that shroud coming along, Penelope?": The Odyssey Thread | issybird | Reading Recommendations | 21 | 06-20-2012 07:48 PM |
Free Book (Kindle) - Penelope & Prince Charming | koland | Deals and Resources (No Self-Promotion or Affiliate Links) | 4 | 09-17-2010 09:21 PM |
Converting help? | mad4rombks | IMP | 7 | 01-06-2008 10:19 AM |