Thread: Duokan FAQ
View Single Post
Old 11-08-2014, 01:18 PM   #233
mcchieftan
Junior Member
mcchieftan began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Nov 2014
Device: Kindle 4
html tags in stardict dictionary with Duokan [SOLVED]

So I spent the best part of 5 hours this afternoon going mad trying to get rid of the html tags a French stardict dictionary for my girlfriend. I don't know if this will work for everyone but no harm in trying. I'm not an active member here so please feel free to repost this elsewhere if there are other people with the same problem. Love!

1. Download StarDictPortableEditor here :https://code.google.com/p/stardict-3....paf.exe&can=2

2. Install and run: StarDictEditorPortable.exe

3. Click the Decompile/Verify tab and browse to your stardict dictionary's .ifo file. Click decompile.

4. Download pyglossary here: http://sourceforge.net/projects/pygl...atest/download

(you may need to install this too to get the GUI to work: http://www.pygtk.org/downloads.html)

5. Download and install Python 2 (https://www.python.org/ftp/python/2....thon-2.7.8.msi)

6. Extract pyglossary, navigate to the \scr directory and double click pyglossary.pyw.

7. in Pyglossary go to the "Preferences" tab and make sure "Remove tags after loading" is checked

8. Return to the "Convert" tab and browse to the .txt document that you decompiled from your dictionary earlier.

9. Hit load (and pray)

10. In the field "Write to format" select "StarDict (ifo)" and click convert (keeping an eye on where the output is going)

11. Copy and paste the output files into the appropriate Duokan directory


Please forgive and interrogate me if there are errors in what I've written. Right now I'm exhausted and I'll come back and try to help if anyone responds. In the immediate, rest assured: it is possible!
mcchieftan is offline   Reply With Quote