DICT

DICT is a dictionary network protocol created by the DICT Development Group in 1997, described by RFC 2229 .

Uses your system voice; voice and rate in settings.

Snapshot

≈ 3 min read

Names in other languages

No names in other languages are held for this entry yet.

Article bodies are English and are not machine-translated. A name in another language is not a translation of the article.

DICT is a dictionary network protocol created by the DICT Development Group in 1997, described by RFC 2229 . Its goal is to surpass the Webster protocol to allow clients to access a variety of dictionaries via a uniform interface. In section 3.2 of the DICT protocol RFC, queries and definitions are sent in clear-text, meaning that there is no encryption.

Nevertheless, according to section 3.1 of the RFC, 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:// ; @ : / : : : :

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 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: $ dictfmt --utf8 --allchars -s "My Dictionary" -j mydict 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: mv mydict.dict mydict.index /usr/share/dictd/ /usr/sbin/dictdconfig—write /etc/init.d/dictd restart

See also

DICT clients

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.

Text derived from https://en.wikipedia.org/w/index.php?oldid=1375941858 under CC BY-SA 4.0; modifications have been made.

Sources cited in this revision

25 named source(s) extracted from the cited revision. A source with no author is shown by its publication; nothing is invented.