Tuesday, July 27, 2010

Kobo's Blog: Stardict 3.0.2

My favorite dictionary software program is the fantastic free open source StarDict program available from the sourceforge.net web site.



Available for download here:

http://sourceforge.net/projects/stardict/

I know for us who aren't computer geeks it might be difficult to figure out what files to download but they've now made it a one-click button for the latest auto-installer executable version. No need to worry about source files, etc. Oh, this only applies to the Window version. For others, you've still got to go through the C++ open source stuff.

The developer's web site:

http://stardict.sourceforge.net/

There are tons of free dictionaries available for download.

Even a copy of the Kangxi dictionary. I haven't got it to work because supposedly you need to download and install a DLL (dynamic link library) from one of the files available for download. I'm kind of worried about virus here. More about that later.

They used to have the dictionaries available for download at this link:

http://stardict.sourceforge.net/Dictionaries.php

But, now, they've all since been removed.

I had a bitch of a time finding where they'd been moved to.

They've got a forum but it doesn't seem to be moderated so it's full of spam, some porn and many unanswered questions.

http://www.stardict.org/forum/

A few of the developers do visit the forum but only once in a blue moon. It was very difficult to wade through all the crap to get to the gold.

I found that the dictionary files are now housed at:

http://www.huzheng.org/stardict-iso/stardict-dic/

They've moved things around a bit since I last visited. Might even have removed some of the dictionary files though I'm not certain. I haven't an editic memory you know. :)

Hu Zheng is one of the developer's working on the project. Though, I don't think he's the originator of the program. He and the originator of the program are both Chinese mainlanders so their English isn't all that.

I think a guy from Stanford University joined the project and helped to clean up some of the English. At least one of the help web pages gives him credit.

You might want to also go to the upper levels of the huzheng.org site to see what other interesting things Hu's working on. Mostly Linux but there is an interesting Chinese handwriting recognition IME (input method editor) project.

The site is in simplified Chinese though.

There are also two huge zip files of Chinese dictionaries available all bundled together at the free file hosting web site rapidshare.com

http://rapidshare.com/files/370422644/zh_CN_all1.zip (30 dictionary files)
http://rapidshare.com/files/370427660/zh_Cn_all2.zip (28 dictionary files)

Don't know if these are different from the ones available at huzheng.org or if there are any overlap.

There are a lot more "simplified" character dictionaries available than "traditional" character ones but there are plenty of both to meet most people's Chinese needs.

Another good thing about the StarDict project is that you can make your own dictionaries.

A pet peeve of mine about most of the programs available for Chinese learning is that they don't include an easy method for making your own user dictionary.

That's why I like the freeware CQuickTrans program.

Their dictionary files are just plain text files. You just include it in the program folder and when you run the program it automatically takes your text file and spits out a dictionary file in a format that works with the program.

Okay, you can't include Chinese characters in the glosses and it doesn't handle the newer Unicode CJK Unified Ideographs Extensions but beggars can't be choosers. It's priced right. Free!

I felt enough about the program that I actually paid to register it for the rest of the features.

At least it doesn't make you jump through hoops. Download C++. Learn C++. Learn Java, Python, etc. Lie down, roll over, fetch.

Anyway, the CQuickTrans download used to be at www.coolest.com but now when I click on the link at the Help/About window of the program it automatically re-directs to:

http://www.postmeta.com/

CQuickTrans is the Chinese language related program that I use the most. I enjoy typing out dictionaries and have made tons of them for the program.

Back to StarDict.

StarDict has a ton of tools to work with the programs. Okay most of them are python or C++ files so you do have to be a computer geek to use them but their dictionary editor program is an executable not a source code (though I guess the source is also available for download).

It's the stardict-editor-3.0.1.rar file available for download at this page:

http://sourceforge.net/projects/stardict/files/

Okay back to the virus bit I alluded to above.

Usually when I download anything from the Internet, even sites that say they guarantee their stuff to be virus free, I run a virus scan program.

In the case of the StarDict tools, I ran the free edition of the AVG Anti-Virus software program and got this:




A trojan horse.

I don't know if this is a false positive or what.

I would have expected better from sourceforge.

I was planning to e-mail them or the developers but as you can see from the image the date of the download was sometime in February.

If anyone does plan on downloading KSDrip.exe and do contact them about it please post a comment.

If I'm not too lazy and get around to e-mailing them I'll post an update. But Kobo's a very lazy person. See how long it's taken for me to get a blog up since my previous one. We're talking glacial in slowness. :)

Anyway, you probably wouldn't need to download KSDrip.exe anyway.

It's for converting Kingsoft's Power Word dictionary files into the StarDict format and those dictionary files are already available in Stardict format for download at the huzheng.org site. Though they don't seem to be included with the rapidshare files.

The only tool that'd I'd really want to work with would be the stardict-editor-3.0.1 program because I like making personal dictionaries. But the virus warning has got me skittish.

If anyone who knows programming real well and is able to check out the source file please report back in the comments. I'd really like to be able to make my own dictionaries for the program.

If you do want to work with the editor you might want to check this web page:

http://filosofie.unibuc.ro/~solcan/wt/gnu/s/stardict.html

It's an explanation on how to use the stardict-editor program. Unfortunately, the guy, who is a professor at a Romanian university, is not a native English speaker so his writing is not exactly clear and also he's using Linux so...

It's put on your thinking cap time.

You have to really read carefully and pore over each sentence very carefully.

I haven't tried out the editor but basically it seems you run the Stardict-Editor.

Tell it the name of the file you want to work with. Only one of the files is the actual dictionary data. The editor will decompile the data into a Unicode text file.

You edit it. Even erase everything and put in your own dictionary data if you desire.

Get it to compile the text file back into a dictionary file. Put the dictionary files into where you keep the dictionaries and it should work.

I haven't actually done it myself but for those who are interested in making their own dictionaries for the StarDict program this is the way to go.

Or you could write to the StarDict develpers. At one of their forum replies they do solicit any interesting dictionaries that forumites wish to have converted for the StarDict software and they'd gladly do the conversion and include it for download. Just as long as it's not copyrighted.

I remember a guy posted at the chinese-forums.com that he's gotten a Chinese-French dictionary project started and was asking about the format for dictionary files with the .dict file extension.

This might be a good program for him to port his dictionary project over to.

I'm amazed that there isn't a good free Chinese-French dictionary available earlier. He said there was an earlier project but it seems to have stalled only after a few thousand entries. I think this new project is making a better go at it.

I'm also amazed there isn't a good free Chinese-Spanish dictionary project going. I read somewhere a guy was glad that there was a new Chinese language learning site available now that includes material for Spanish speakers interested in Chinese. Unfortunately it's a paid site and they only have a limited amount of material for free. But the monthly rate is only about $7 American.

Oh, one more thing before I end this post. At the huzheng.org dictionary download site they link to "a project to unite all existing open dictionaries and provide both users and developers with universal XML-based format, convertible to and from other popular dictionary formats".

Don't know what that is but it might be useful for those who know these things.

Here's the link:

http://xdxf.sourceforge.net/

Sorry to those who thought this was going to be a blog post on Mr. Spock, James T. Kirk, Dr. McCoy, Scotty, and the rest of the Star Trek gang.

No comments:

Post a Comment