ArticleslgStudy

science

DICT

DICT is a science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand DICT rather than just read about it. In short: The Dictionary Server Protocol, better known as DICT, is a dictionary network protocol created by Rickard E. Faith and Bret Martin in 1997.

Key takeaways

  • DICT belongs to science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect DICT to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of DICT from memory before moving on to harder problems.

Reference excerpt

The Dictionary Server Protocol, better known as DICT, is a dictionary network protocol created by Rickard E. Faith and Bret Martin in 1997. It is described in RFC 2229. DICT was created to supersede an older method of searching natural language definitions: the Webster protocol. The Webster protocol limited clients to searching only one dictionary or thesaurus at a time. Further, by the mid-1990s, the Webster protocol had seen a dwindling number of publicly-available servers. DICT addressed both these issues, allowing clients to access many dictionaries at once via a uniform interface, and drawing its content from a growing number of databases freely-available on the Internet. As of 2010, the project has been led by Aleksey Cheusov and Rickard Faith.

Queries Queries and definitions using the DICT protocol are sent in clear-text, meaning that there is no encryption. Nevertheless, various forms of authentication (sans encryption) are supported, including Kerberos version 4. The protocol consists of a few commands a server must recognize so a client can access the available data and lookup word definitions. DICT servers and clients use TCP port 2628 by default. Queries are captured in the following URL scheme:

dict://⟨user⟩;⟨auth⟩@⟨host⟩:⟨port⟩/⟨c⟩:⟨word⟩:⟨database⟩:⟨strategy⟩:⟨n⟩

Dictionaries using the DICT protocol Repositories of source files for the DICT Development group's dict protocol server (with a few sample dictionaries) are available online.

Dictionaries of English Bouvier's Law Dictionary, Revised 6th Ed (1856) CIA World Factbook Easton's Bible Dictionary (1897) Elements database Free On-line Dictionary of Computing GNU Collaborative International Dictionary of English (GCIDE) Hitchcock's Bible Names Dictionary Jargon File Moby Thesaurus Oxford Advanced Learner's Dictionary The Devil's Dictionary (1911) The U.S. Gazetteer (1990 Census) V.E.R.A. – Virtual Entity of Relevant Acronyms which are used in the field of computing Webster's Revised Unabridged Dictionary (1913) WordNet

Bilingual dictionaries Big English–Russian Dictionary English–French dictionary Freedict provides a collection of over 85 translating dictionaries, as XML source files with the data, mostly accompanied by databases generated from the XML files in the format used by DICT servers and clients. These are available from the Freedict project web site at. FREELANG Dictionary Lingvo English–Russian and Russian–English dictionaries are not free, but when purchased, can easily be converted into DICT format Mueller's English–Russian dictionary Slovak-English legal dictionary Slovak-Italian legal dictionary

DICT servers dictd (the standard server made by the DICT Development Group) DictD++ – modern powerful server written in C++ with heavy usage of STL and boost (abandoned) GNU Dico JDictd – a Java-based DICT server implementation (abandoned)

DICT clients A dictd server can be used from Telnet. For example, to connect to the DICT server on localhost, on a Unix system one can normally type:

telnet localhost dict

and then enter the command "help" to see the available commands. The standard dictd package also provides a "dict" command for command-line use. More sophisticated DICT clients include:

cURL dictc (DICT Client) client for Windows written in Delphi. dict.org's own client (part of the dictd package) dictem, for the Emacs text editor Dictionary, an application included with Mac OS X. Online dictionaries can be accessed by setting it as the helper for 'dict://' URI schemes. Fantasdic GNOME Dictionary, comes with GNOME GNU dico's own client (part of the dico package) Kdict, comes with KDE KTranslator, KDE dictionary MaemoDict, for the Nokia 770 MATE Dictionary (with accompanying applet) Mozdev.org's 'dict', a Firefox/Mozilla extension OKDict, an OpenOffice.org extension OmniDictionary, for Mac OS X StarDict ZopeDictDB for Zope from Pentila GoldenDict xfce4-dict, from the Xfce project There are also programs that read the DICT file format directly. For example, S60Dict, is a dictionary program for Symbian Series 60 that uses DICT dictionaries. Additionally, some DICT clients, such as Fantasdic, are also capable of reading the DICT format directly.

Dict file format The standard dictd server made by the DICT Development Group uses a special dict file format. It comprises two files, a .index file and a .dict file (or .dict.dz if compressed). These files are usually generated by a program called dictfmt. For example, the Unix command:

will compile a Unicode-compatible DICT file called mydict, with heading My Dictionary, from mydict.txt which is in Jargon File format i.e.:

:word1:definition 1 :word2:definition 2 etc.

Once the dictionary file has been produced, it can be easily installed on a server with commands similar to this:

Format converters Linguae Software is able to convert from/to wb, dict (stardict and dictd) csv, xdxf, txt, ini and ling (native) file formats, Linux, Windows and Mac OS X. XDXF XML Dictionary Exchange Format converts between various dictionary formats using pluggable codec architecture.

dictzip In order to efficiently store dictionary data, dictzip, an extension to the gzip compression format (also the name of the utility), can be used to compress a .dict file. Dictzip compresses file in chunks and stores the chunk index in the gzip file header, thus allowing random access to the data.

See also DICT clients Natural language processing

References

External links RFC 2229 – Definition of the DICT protocol. dict.org DICT Development Group. A WWW interface to several freely available on-line dictionaries. DICT protocol server list by the FreeDict project. RAE DICT, an open-source DICT server implementation that retrieves definitions from the authoritative dictionary for the Spanish language.

Worked examples

Example 1 — a first encounter with DICT

Start with the simplest possible case. Write down what DICT claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to DICT before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about DICT ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of DICT

In research
DICT appears in science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses DICT in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
DICT is common in secondary-school and first-year university syllabi. It links to neighbouring topics DICT clients, Internet protocols, so understanding it makes those chapters shorter.
In everyday life
Look for DICT outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “DICT” →

How to study DICT in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what DICT means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain DICT out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is DICT in simple terms?

The Dictionary Server Protocol, better known as DICT, is a dictionary network protocol created by Rickard E. Faith and Bret Martin in 1997.

Why does DICT matter?

Because it connects several science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study DICT?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on DICT.

Tags

  • DICT clients
  • Internet protocols

Keep exploring