4

I've got five wordlist.txt dictionary-files; downloaded at dict.cc, and I need to convert them into .ifo | dict.dz | idx.gz or .index | .dict(.dz)-format, in order to make them work in/with goldenDict.

  • Can someone please provide some insides, on how to go about it RIGHT!
  • Also i would like to keep the formatting of those dictionaries clean, [simple and structured as possible] once they are converted.
0

1 Answer 1

6

I don't have much time on my hands right now but here's a quick overview*

  1. Download Pyglossary from this link. Extract the archive and move the folder to a location of your choice. Make pyglossary.pyw executable and start it by double-clicking on the file.

    Alternatively you can download a prepackaged older version of pyglossary on the google code project page and install it with Ubuntu-Software Center or gdebi. Because this version is quite old (dating back to 2009) your mileage may vary.

  2. Rename your wordlist files to whatever you would like your dictionary to be called (e.g. DICTCC_EN_DE.txt)

  3. Point Pyglossary to your file and set the input and output formats as follows:

    Input: tabfile, output: stardict

  4. Click apply. WARNING: Depending on the length of the word list conversion might be very memory-intensive.

  5. Import the dictionary to GoldenDict. This as well may use a lot of system memory (building the index, etc.)

Formatting should be acceptable (not perfect but usable). For further formatting tweaks (e.g. to remove annoying gender denominations) you would have to manually edit the input file.


*: please feel free to edit this post as you see fit to add more detail. I might do so myself later.

2
  • 1
    Sorry for the delay. It works quite nicely as you suggested. Many thanks, for this pointer! - (I also edit your answer) +1
    – v2r
    Sep 4, 2013 at 16:17
  • Done in October 2020, using PyGlossary and Python 3.8.3, converting Dict.cc to StarDict.ifo, and it has worked flawlessly. It looks good in GoldenDict.
    – JoHKa
    Oct 9, 2020 at 23:41

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .