Linux dictionary tools - gHacks Tech News

Linux dictionary tools

The dictionary is a tool that any writer or student should have on their computer. And Linux users are not immune from this need. But if you look through the possibilities of Linux dictionary tools you find quite a large amount available. Which of these tools are the best or easiest to use?

I have found, outside of using an application's built-in spell checking, two particular tools that I prefer. These tools are GoldenDict and Dict. The former is a splendid GUI tool, whereas the latter is a lightning-quick command line tool. Let's see which of these tools suits your needs best.

GoldenDict

GoldenDict is a feature-rich graphical dictionary program that allows the user to take advantage of multiple local dictionaries as well various on-line dictionaries. It's easy to use and actually works in conjunction with other applications.

To install GoldenDict just do the following:

  1. Open up your Add/Remove Software Utility.
  2. Search for "goldendict" (No quotes).
  3. Mark GoldenDict for installation.
  4. Click Apply to install.
Figure 1

Once installed, you will find GoldenDict in the Applications > Office menu.

When you fire up GoldenDict you will the main window where you can take care of all of your lookups (see Figure 1). The usage is fairly straight-forward. You enter your word in the "Look up" text area and hit Enter. The results will appear as the disambiguation in the left pane and the actual definition in the right pane.

Now...let's say you want to extend GoldenDict out to your other applications. If you click on Edit > Preferences and then click on the Scan Popup tab you can enable GoldenDict to work on any text you highlight in any application. I will warn you...this can get in the way of every day use. To that end I always enable this feature but enable it along with the "Only show popup when all selected keys are kept pressed". With this feature you can configure a key (either Alt, Ctrl, Shift, or Meta) that must be pressed along with the word selection. When this combination is done a popup will appear definining the word.

Dict

Now let's take a look at a much simpler tool - dict. Dict is a command line only tool that allows you to search online dictionaries (or local dictionaries if you have them installed) for word definitions. Installing dict is simple:

  1. Open up a terminal window.
  2. Issue the command sudo apt-get install dict (or a suitable command for your distribution).
  3. Accept the dependencies.
  4. Wait until the installation is complete.

When you have dict installed, the usage is simple:

dict -h SERVER WORD

Where SERVER is the server you want to use and WORD is the word you want to look up. Normally you could just issue dict WORD but currently the default servers for dict are all not responding. So in order to get around that you need to define a server to use. One server that is working is dict.tu-chemnitz.de. To use this server you would issue the command:

dict -h dict.tu-chemnitz.de WORD

Where WORD is the word you want to look up. You would then be rewarded with the definition of the word in question.





  • We need your help

    Advertising revenue is falling fast across the Internet, and independently-run sites like Ghacks are hit hardest by it. The advertising model in its current form is coming to an end, and we have to find other ways to continue operating this site.

    We are committed to keeping our content free and independent, which means no paywalls, no sponsored posts, no annoying ad formats (video ads) or subscription fees.

    If you like our content, and would like to help, please consider making a contribution:

    Comments

    1. Bharath said on October 25, 2010 at 9:15 am
      Reply

      Hi,

      I am not able to connect to dictionary.com -> dict -h dictionary.com Anyword

      Bharath

    2. Alok Singh Mahor said on October 25, 2010 at 2:29 pm
      Reply

      its awesome, I was looking for such GUI

    3. Trinae Ross said on October 25, 2010 at 7:47 pm
      Reply

      I am a big fan of Artha, an offline dictionary, that is similar a Windows dictionary called WordWeb. It’s fast, works well and is very stable.

    4. twitter said on October 26, 2010 at 6:25 am
      Reply

      I’m a fan of kdict, which sits in the KDE’s 3.5 branch panel.

      I noticed that dict.org is not responding a few weeks ago. As a work around, I suggest installing your own server.

      apt-get install dict-wn dict-gcide dict-foldoc dict-gcide

      If you install on your local machine, you are set. To share this with your friends or organization be sure to set the appropriate listen_to and allow in /etc/dictd/dictd.conf

      Happy Hacking.

    5. stefan said on October 27, 2010 at 9:56 pm
      Reply

      The classical de en multiplatform dictionary which should not be missing even on the sparsest dictionary list:
      ding.

      ding is an offline dictionary which is able to automatically
      lookup on clipboard selections.
      (Its successor kding is missing this feature but brings basically a more modern UI).

    6. jhonny said on November 9, 2010 at 9:05 am
      Reply

      You can find the babylon dictionary here:

      http://tips-linux.net/en/content/babylon-translator-stardict-0

      I hope it is useful

    7. sole said on September 6, 2011 at 11:59 am
      Reply

      Yet another great article! Definitely looking forward to more

    8. Andrew said on June 11, 2012 at 2:27 am
      Reply

      Hey! You should also check out http://smartdict.net
      It’s pretty young and written in Ruby.

    Leave a Reply