Search dictionaries on Linux

Source: Internet
Author: User
Look up the dictionary on Linux-Linux general technology-Linux technology and application information. The following is a detailed description. I usually use the online dictionary provided by the Shui Mu community. If I cannot find it here, I will use Google on the browser and use the define: word method to query it. If I cannot understand it, I used dict.cn and previously used iciba.com, but it is far slower than dict.cn and the page is complicated. Generally look up the English word is to see a meaning, to analyze the subtle meaning of the very little, encounter this situation in general use m-w.com, should not be here stronger place, Google define is generally enough.

The watertree dictionary is the first choice because it works in the terminal window, which is fast and easy to operate. It is available as long as there is a network (sometimes there are too many connections ). I want the dictionary to be as simple as this.

The previous paragraph remembered dict.org. It not only has online dictionaries, but also is a DICT protocol, which is divided into Server and Client. Dictionary data is placed in files in special formats and is provided by the Server, the client sends the query acceptance result. It collects some free-of-charge dictionaries, including two English-Chinese dictionaries, xdict of Fu Jianjun and Stardic of MA Suan. They were originally issued with GPL authorization, xdict has 0.17 million words. However, the original sources of these dictionaries are unclear, but there seems to be no objection. Shui Mu's dictionary is also very useful, but he does not know the copyright.

It is easy to install dict In Debian. Just install dictd dict-xdict dict-stardic. The last two files starting with dict are only dictionary files, and a dictd service needs to be started to run on the local machine. After installation, you can run the following command on the terminal to check the words:
# Dict mail
8 definitions found

From XDICT the English-Chinese dictionary [xdict]:
Mail
N. Mail, post, mail, armor
Vt. Mail... Wear armor;
Email (there is another mail handler in the unix operating system)

From Stardic English-Chinese Dictionary [stardic]:
N. Mail, post, and armor;
V. Mail ,~ Armor;

From The Collaborative International Dictionary of English v.0.48 [gcide]:
Mail \ (m [= a] l), n.
A spot. [Obs.]
[1913 Webster]

The last Dictionary is another dict-gcide. the GNU version of the Collaborative International Dictionary of English is very powerful, including the Wei's Dictionary in 1913, some Wordnet words have many other sources, such as interpretation examples. It is generally enough to have these three dictionaries.

In the Debian system, the configuration file of dictd is under/etc/dictd, where dict. conf controls which servers to query. The first one is localhost, which is faster. In addition, dict.org only supports good network performance. dictd. conf controls which machines can use the local Dict service and where to read Dictionary data. The description of this dictionary file is in/var/lib/dictd/db. list. This file is operated by the dictdconfig program. There is also a dictd. order file, which controls the order in which the dictionary is used. Generally, the first two stardic/xdict are placed in Chinese. However, it seems that only the file dictd is not recognized, in this case, you need to use dictdconfig-w to write the changed order to the db. list file. Restart dictd.

There are also some graphical interfaces of the Dictd front-end, such as kdict/gdict, gdict is not very useful, or terminal.
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.