Linux.com

Feature

Two spiffy dictionary tools for Linux desktop users

By Dmitri Popov on March 20, 2007 (7:00:00 AM)

Share    Print    Comments   

Whether you're learning a foreign language or just need to look up an unknown word or phrase, a good dictionary application can come in handy. JaLingo and StarDict are two such tools. Each sports a polished GUI and a set of features that puts it among the best dictionary applications on Linux.

JaLingo

JaLingo is a no-frills dictionary tool that sports an easy-to-use interface, support for different dictionary formats, and a few useful features. Because JaLingo is a Java-based application, installing it is not that difficult. Download the JaLingo Setup jar file, and run the following command from the Terminal: java -jar jalingo-setup-x.x.x.jar.

You have to run this command as root if you want to install the application into the default /usr/local/jalingo directory. Once JaLingo is installed, you can launch it by running java -jar jalingo.jar.

Since JaLingo doesn't include any dictionaries, the first thing you have to do is download and install one or more dictionaries for the language you need. JaLingo supports several dictionary formats, including DSL, Mova, and SDictionary. A huge collection of dictionaries in the latter format is available through the Sdictionary Community. Here you can also find a guide on how to create your own dictionary files in the Sdictionary format, and a handy online converter to compile custom dictionaries for use with JaLingo. Besides an impressive dictionary collection, the site also offers Wikipedia databases converted into the SDictionary format, so if you fancy the idea of having Wikipedia directly on your machine, then you can download the appropriate database and install it in JaLingo. A word of caution, though: Wikipedia files are large, and it takes some time for JaLingo to process them during installation.

JaLingo
JaLingo - click to enlarge
Installing dictionary files in JaLingo is a breeze. Press the Settings button, then press the Add button in the Dictionaries section. Select the dictionary file you want to use and press Continue. Once JaLingo is done processing the dictionary, click the Close button, and JaLingo is ready to go.

The left pane in JaLingo's main window contains three tabs: Articles, History, and Search. To look up a word, start typing it in the search field under the Articles tab. The application automatically narrows the result set as you keep typing. Select the entry from the resulting list, and the related article appears in the right pane. The Search feature allows you to perform a full-text search through both entries and related articles, and all your searches and lookups are stored under the History tab. But that's not all. For example, the Suggest command allows you to perform a sort of similarity search. Right-click on a word in the current article or list, select Suggest, and JaLingo shows words that look or sound like the original one. You can also save the current article as an HTML page. To do this, right-click either on the word you want to save in the Article list or on the article itself in the right pane, then select the Save as command.

StarDict

StarDict is another great dictionary tool that is available with many mainstream Linux distributions, which means that you can install it by using your distro's package manager. As with JaLingo, you have to install dictionaries before you actually start using StarDict. Unlike JaLingo, however, StarDict uses its own dictionary format. You can find a good selection of ready-to-use dictionaries at StarDict's Web site. The site also contains information on how to create custom dictionaries, as well as a detailed description of the dictionary format. If you plan to make your own dictionaries, make sure to download the StarDict Editor, which allows you to compile custom dictionaries.

Tip: The XDXF Web site contains a large collection of dictionaries that you can download in the StarDict format.

Installing dictionaries in StarDict is not as straightforward as the process is in JaLingo, but it's still a relatively simple procedure. Download the tarball version of the dictionary you need, unpack it either using an archive manager or the tar -xjvf dictionary.tar.bz2 command, where dictionary is the exact file name. Move the resulting archive using the command mv dictionary /usr/share/stardict/dic.

Using this technique, you can install multiple dictionaries and use StarDict's manager to manage them.

StarDict
StarDict - click to enlarge
The lookup mechanism in StarDict works similar to JaLingo: as you type the word you want to look up, StarDict displays a list of possible matches from all the installed dictionaries. But StarDict doesn't limit your search to installed dictionaries: it also allows you to use several pre-defined online dictionaries, and you can even specify additional online dictionaries. To do this, press the Preferences button, select the Main window -> Search Web site, and add your search engine.

StarDict also supports fuzzy queries, which can come in handy when you don't know the exact spelling of a word. To run a fuzzy query, use a slash (/) before the search word. Another of StarDict's nifty features is Scan. Once enabled, you can select a word in virtually any application, and StarDict displays a pop-up window with the related translation.

Final word

JaLingo and StarDict are not just front ends to dictionary files. Using them, you can look up words and phrases in different resources, including Wikipedia and online dictionaries. Both applications also offer features that make them versatile tools whether you are learning a foreign language or just want to expand your horizons.

Dmitri Popov is a freelance writer whose articles have appeared in Russian, British, US, German, and Danish computer magazines.

Dmitri Popov is a freelance writer whose articles have appeared in Russian, British, US, German, and Danish computer magazines.

Share    Print    Comments   

Comments

on Two spiffy dictionary tools for Linux desktop users

Note: Comments are owned by the poster. We are not responsible for their content.

StarDict encourages using pirated dictionaries!

Posted by: Anonymous Coward on March 21, 2007 12:34 AM
Now let me show you my preferred topic: which copyrighted dictionaries are used without permission (a.k.a. STOLEN)?

You can spot at once some renowned English language dictionaries from Longman (Pearson), Oxford, Collins and Merriam-Webster:
<a href="http://stardict.sourceforge.net/Dictionaries_dictd-www.dict.org.php" title="sourceforge.net">http://stardict.sourceforge.net/Dictionaries_dict<nobr>d<wbr></nobr> -www.dict.org.php</a sourceforge.net>

Second-best, Langenscheidt and Duden. And I'm stopping here.

Suggestions for our Chinese friend:
* retrieve and add the Concise Oxford Dictionary;
* retrieve and add some Cambridge English Dictionaries;

  * ask me for an older database of this one — mine is from the 1988 (2nd) edition, by Simon & Schuster at the time (edited by the same Michael E. Agnes), and was taken from the Win16 software by Zane Publishing.

Nay, I'm just kidding.

Took from here: <a href="http://beranger.org/index.php?article=1263" title="beranger.org">http://beranger.org/index.php?article=1263</a beranger.org>

#

JaLingo also proposes illegal dictionaries

Posted by: Anonymous Coward on March 21, 2007 02:52 AM
<a href="http://jalingo.sourceforge.net/dictionaries/" title="sourceforge.net">http://jalingo.sourceforge.net/dictionaries/</a sourceforge.net> offers databases from commercial dictionaries, 100% illegally:
28. Collins COBUILD Advanced Learner's English Dictionary, 4th edition
45. Merriam-Webster's Collegiate Dictionary, 11th edition
46. Oxford English Reference Dictionary
to the bare minimum.
They might say they only link to a 3rd party site, but this doesn't change the situation.

#

Re:JaLingo also proposes illegal dictionaries

Posted by: Anonymous Coward on March 22, 2007 12:32 AM
Thank you for pointing.

I will care about removing these dictionaries from JaLingo site.

If you see any other illegal dictionaries, please, drop a message to jaesar {ad} users[.]sourceforge[.]net

#

Merriam-Webster

Posted by: Anonymous Coward on March 21, 2007 09:34 AM
I think I'll just stick to my legal Firefox plugin for the online Merriam-Webster dictionary and continue to ignore their advertisements. (Of course, it's English only)

- legal open source guy

#

English-Russian

Posted by: Anonymous Coward on March 21, 2007 07:43 PM
There is a free, legal version of a well-known
English-Russian dictionary:

<a href="http://www.geocities.com/mueller_dic/" title="geocities.com">http://www.geocities.com/mueller_dic/</a geocities.com>

It is in plain text, and thus an appropriate
on-liner does the work fine. Those really lazy
can use the scripts:

<a href="http://www.geocities.com/mueller_dic/script_mova.tgz" title="geocities.com">http://www.geocities.com/mueller_dic/script_mova.<nobr>t<wbr></nobr> gz</a geocities.com>

#

Re:English-Russian

Posted by: Anonymous Coward on March 22, 2007 12:37 AM
A small note: you can use JaLingo to read these dictionaries (choose "Mova" format).

Especially Mueller dictionary - it has nice colorful formatting.

#

This story has been archived. Comments can no longer be posted.



 
Tableless layout Validate XHTML 1.0 Strict Validate CSS Powered by Xaraya