06-18-2008, 09:49 PM | #16 |
Gutenberger
Posts: 142
Karma: 700
Join Date: Jul 2007
Location: Lisbon, Portugal
Device: Cybook Gen 3
|
Does StarDict Editor generate a txt file?
I'm not sure if StarDict Editor is doing what it's supposed to... I change the the *dict extension to *txt by hand an then, in my command line I type: c:\ c:\cd Python25 c:\tab2opf.py dictionary.txt I get a syntax error message. No OPF file gets generated. Boy, oh boy...! |
06-19-2008, 09:27 PM | #17 |
reader
Posts: 6,975
Karma: 5183568
Join Date: Mar 2006
Location: Mississippi, USA
Device: Kindle 3, Kobo Glo HD
|
Yes. Decompile the dict.ifo file and you should get a dict.txt file. For me, it ended up in the same directory as stardict-editor.exe. Any plain text editor can be used to confirm that it is a tab delimited file (a <tab> between the word and its definition).
|
06-20-2008, 04:18 PM | #18 | |
Gutenberger
Posts: 142
Karma: 700
Join Date: Jul 2007
Location: Lisbon, Portugal
Device: Cybook Gen 3
|
Quote:
About the py thing... any help? |
|
08-07-2008, 05:53 AM | #19 |
Guru
Posts: 976
Karma: 687
Join Date: Nov 2007
Device: Dell X51v; iLiad v2
|
How to merge two dictionarys during conversion? Have anybody tried it?
|
10-26-2008, 05:35 PM | #20 |
Junior Member
Posts: 2
Karma: 10
Join Date: Oct 2008
Device: Pocket PC
|
Chinese Mobipocket Dictonary for Windows Mobile Based Phones and Pocket PC's (PPC)
Thank you for all your posts and help! I did it! I created a Windows Mobile Based Mobipocket English to Chinese Dictionary. Feel free to download it and give feedback:
http://gravity404.googlepages.com/ Thanks again for all the good posts! |
11-29-2008, 10:36 AM | #21 | |
Addict
Posts: 234
Karma: 214
Join Date: Nov 2008
Device: Galaxy Note 3, Galaxy NotePro 12.2, InkBook
|
Quote:
EDIT: It seems the reason was that my .ifo file had charset which was incompatible with StarDict Editor. Last edited by owl123; 11-29-2008 at 11:45 AM. |
|
11-29-2008, 05:21 PM | #22 | |
Addict
Posts: 234
Karma: 214
Join Date: Nov 2008
Device: Galaxy Note 3, Galaxy NotePro 12.2, InkBook
|
Quote:
|
|
02-01-2009, 06:47 AM | #23 |
Muncher of ebooks
Posts: 312
Karma: 6423
Join Date: Nov 2007
Location: Fürth, Germany
Device: Pocketbook 360
|
Ok, I feel quite stupid now
I have downloaded the stardict dictionary files (*.dz, *.idx, and *.ifo) and extracted the *.dict from the *.dz file in the same directory. But here I am stuck. Trying to use the stardict-editor, I always get the same error message: Building... Error, file version is not 2.4.2 Done! Could one of you give me a step by step instruction of what to do next? I really would appreciate it! Thanks, kaas |
02-01-2009, 07:41 AM | #24 |
Guru
Posts: 976
Karma: 687
Join Date: Nov 2007
Device: Dell X51v; iLiad v2
|
IIRC, you should have a GTK+ for MS Windows installed to use the editor. I may be wrong, because it's been sometime since I did that conversion.
|
02-01-2009, 07:59 AM | #25 |
Muncher of ebooks
Posts: 312
Karma: 6423
Join Date: Nov 2007
Location: Fürth, Germany
Device: Pocketbook 360
|
I have it installed. when I try to convert the file, it now says: no tab in line 1, no tab in line 2, etc...
thanks for your help, kaas p.s.: I can start the editor successfully, the next steps aren't clear to me. |
02-07-2009, 12:20 PM | #26 |
Intrepid Explorer
Posts: 57
Karma: 28
Join Date: Jul 2008
Device: Kindle 2
|
I cannot make the python script work.
|
02-07-2009, 01:44 PM | #27 | |
Intrepid Explorer
Posts: 57
Karma: 28
Join Date: Jul 2008
Device: Kindle 2
|
Quote:
There is a file by the name of ***.dict.dz rename this file to ***.dict.gz Download 7 zip software and extract this file - You shall get ***.dict file. Now fire up the stardict-editor - You basically get three tabs when it open viz Compile, Decompile and edit The Decompile tab is what we are interested in. Go the decompile tab and click browse - Choose the ***.ifo file - Not the dict file ) and click decompile. This would lead to creation of text file ***.txt Use tab2opf.py script to convert this txt file into opf. This should lead to creation of multiple html files and opf file. Use mobigen.exe to convert it to a dictionary. Hope this helps. I Managed. |
|
02-10-2009, 11:24 AM | #28 | |
Junior Member
Posts: 1
Karma: 10
Join Date: Feb 2009
Device: None
|
Quote:
|
|
02-10-2009, 05:47 PM | #29 | |
reader
Posts: 6,975
Karma: 5183568
Join Date: Mar 2006
Location: Mississippi, USA
Device: Kindle 3, Kobo Glo HD
|
Quote:
|
|
02-15-2009, 09:25 AM | #30 | |
Intrepid Explorer
Posts: 57
Karma: 28
Join Date: Jul 2008
Device: Kindle 2
|
Quote:
Now fire up the command line interface of Windows XP - Go to start > Run > cmd Change directory to the folder containing the file (all files namely - tab2opf, text file of the dictionary and mobigen) - using the cd command. Then give the following command - tab2opf textfile.txt This should give you a textfile.opf file. Now in the same command prompt, give the following command - mobigen.exe textfile.opf Hopefully this should give the mobipocket book file. |
|
Tags |
ebook tools, kindle tools |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Dictionary lookup in iBooks 1.1: "Dictionary not available for this language" | kjk | Apple Devices | 71 | 09-18-2010 06:24 AM |
best foreign language & dictionary options? | joedevivre | Which one should I buy? | 2 | 12-13-2009 09:40 AM |
How do I create headword-enabled Mobipocket dictionary? | owl123 | Kindle Formats | 1 | 07-24-2009 11:13 AM |
Useful tip: How to change the BD language AFTER you create a book | HarryT | Workshop | 4 | 04-15-2009 12:36 AM |
creating a foreign language dictionary | dirtylc | Amazon Kindle | 1 | 03-30-2009 08:40 AM |