||This article may be confusing or unclear to readers. (June 2010)|
||This article's use of external links may not follow Wikipedia's policies or guidelines. (May 2010)|
DICT is a dictionary network protocol created by the DICT Development Group. It is described by RFC 2229, published in 1997. Its goal is to surpass the Webster protocol and to allow clients to access more dictionaries during use. Dict servers and clients use TCP port 2628.
 Resources for free dictionaries from DICT protocol servers
- A repository of source files for the DICT Development group's dict protocol server (with a few sample dictionaries) is available at ftp://ftp.dict.org/dict/
 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
- 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)
 Bilingual dictionaries
- Big English–Russian Dictionary
- English–French dictionary
- Freedict currently provides a collection of roughly 70 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 section at SourceForge.
- 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 available from
- English-Finnish -French -Italian -Spanish and various others from the English Wiktionary
- Slovak-Italian legal dictionary available from
 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
- GNU Dico
- JDictd – a Java-based DICT server implementation (abandoned)
 DICT file format
The standard dictd server made by the DICT Development Group uses a special DICT file format, although other dictd servers (such as GNU Dico) may optionally use other file formats.
Dictionaries in the standard DICT file format are made up of two files, a .index file and a .dict file (or .dict.dz if compressed). These files are not usually written manually but are compiled by a program called dictfmt. For example, the Unix command:
dictfmt—utf8—allchars -s "My Dictionary" -j mydict < mydict.txt
:word1:definition 1 :word2:definition 2 etc.
Once the dictionary file has been produced, installing it in the server is normally a matter of typing something like:
mv mydict.dict mydict.index /usr/share/dictd/ /usr/sbin/dictdconfig -—write /etc/init.d/dictd restart
 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:
- 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.
- 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
- Mozdev.org's 'dict', a Firefox/Mozilla extension
- OKDict, an OpenOffice.org extension
- OmniDictionary, for Mac OS X
- StarDict
- ZopeDictDB for Zope from Pentila
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 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 OSX.
- XDXF XML Dictionary Exchange Format converts between various dictionary formats using pluggable codec architecture.
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.org: Resources
- RFC 2229 – Definition of the DICT server protocol
- dict.org DICT Development Group. A WWW interface to several freely available on-line dictionaries.
- A collection of free dictionaries in DICT format at the XDXF SourceForge page
- DICT protocol server list