DICT 3rd Stakeholders Consultation Third Telco
   HOME

TheInfoList



OR:

DICT is a
dictionary A dictionary is a listing of lexemes from the lexicon of one or more specific languages, often arranged Alphabetical order, alphabetically (or by Semitic root, consonantal root for Semitic languages or radical-and-stroke sorting, radical an ...
network protocol A communication protocol is a system of rules that allows two or more entities of a communications system to transmit information via any variation of a physical quantity. The protocol defines the rules, syntax, semantics, and synchronization of ...
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 A dictionary is a listing of lexemes from the lexicon of one or more specific languages, often arranged Alphabetical order, alphabetically (or by Semitic root, consonantal root for Semitic languages or radical-and-stroke sorting, radical an ...
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://;@:/::::


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 online.


Dictionaries of English

*
Bouvier's Law Dictionary ''Bouvier's Law Dictionary'' is a set consisting of two or three books with a long tradition in the United States legal community. The first edition was written by John Bouvier. John Bouvier (1787–1851) was born in Codognan, France, but came t ...
, Revised 6th Ed (1856) *
CIA World Factbook ''The World Factbook'', also known as the ''CIA World Factbook'', is a reference resource produced by the United States' Central Intelligence Agency (CIA) with almanac-style information about the countries of the world. The official print ve ...
*
Easton's Bible Dictionary The ''Illustrated Bible Dictionary'', better known as ''Easton's Bible Dictionary'', is a reference work on topics related to the Christian Bible, compiled by Matthew George Easton. The first edition was published in 1893, and a revised editio ...
(1897) * Elements database *
Free On-line Dictionary of Computing The Free On-line Dictionary of Computing (FOLDOC) is an online, searchable, encyclopedic dictionary of computing subjects. History FOLDOC was founded in 1985 by Denis Howe and was hosted by Imperial College London. In May 2015, the site was ...
* GNU Collaborative International Dictionary of English (GCIDE) * Hitchcock's Bible Names Dictionary *
Jargon File The Jargon File is a glossary and usage dictionary of slang used by computer programmers. The original Jargon File was a collection of terms from technical cultures such as the MIT Computer Science and Artificial Intelligence Laboratory, MIT AI Lab ...
* Moby Thesaurus *
Oxford Advanced Learner's Dictionary The ''Oxford Advanced Learner's Dictionary'' (''OALD'') was the first advanced learner's dictionary of English. It was first published in 1948. It is the largest English-language dictionary from Oxford University Press aimed at a non-nativ ...
*
The Devil's Dictionary ''The Devil's Dictionary'' is a satirical dictionary written by American journalist Ambrose Bierce, consisting of common words followed by humorous and satirical definitions. The lexicon was written over three decades as a series of installments ...
(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 WordNet is a lexical database of semantic relations between words that links words into semantic relations including synonyms, hyponyms, and meronyms. The synonyms are grouped into ''synsets'' with short definitions and usage examples. It can thu ...


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 FREELANG is a bilingual and free dictionary for Microsoft Windows. Founded in 1997 by Beaumont, FREELANG is free to download (freeware) but is under copyright of the authors, and it is collaborative. History FREELANG Dictionary has its roots i ...
* 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 Java is one of the Greater Sunda Islands in Indonesia. It is bordered by the Indian Ocean to the south and the Java Sea (a part of Pacific Ocean) to the north. With a population of 156.9 million people (including Madura) in mid 2024, proje ...
-based DICT server implementation (abandoned)


DICT clients

A dictd server can be used from
Telnet Telnet (sometimes stylized TELNET) is a client-server application protocol that provides access to virtual terminals of remote systems on local area networks or the Internet. It is a protocol for bidirectional 8-bit communications. Its main ...
. 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 cURL (pronounced like "curl", ) is a free and open source computer program for transferring data to and from Internet servers. It can download a URL from a web server over HTTP, and supports a variety of other network protocols, URI scheme ...
* dictc (DICT Client) client for Windows written in
Delphi Delphi (; ), in legend previously called Pytho (Πυθώ), was an ancient sacred precinct and the seat of Pythia, the major oracle who was consulted about important decisions throughout the ancient Classical antiquity, classical world. The A ...
. * dict.org's own client (part of the dictd package) * dictem, for the
Emacs Emacs (), originally named EMACS (an acronym for "Editor Macros"), is a family of text editors that are characterized by their extensibility. The manual for the most widely used variant, GNU Emacs, describes it as "the extensible, customizable, s ...
text editor A text editor is a type of computer program that edits plain text. An example of such program is "notepad" software (e.g. Windows Notepad). Text editors are provided with operating systems and software development packages, and can be used to c ...
*
Dictionary A dictionary is a listing of lexemes from the lexicon of one or more specific languages, often arranged Alphabetical order, alphabetically (or by Semitic root, consonantal root for Semitic languages or radical-and-stroke sorting, radical an ...
, an application included with Mac OS X. Online dictionaries can be accessed by setting it as the helper for 'dict://'
URI scheme A Uniform Resource Identifier (URI), formerly Universal Resource Identifier, is a unique sequence of characters that identifies an abstract or physical resource, such as resources on a webpage, mail address, phone number, books, real-world obje ...
s. * Fantasdic *
GNOME Dictionary GNOME Dictionary, also called gnome-dictionary, is a DICT client written in C by Emmanuele Bassi and others. It is part of the free software GNOME desktop suite. It allows users to look up words in various dictionary sources. Gnome-dictionary ...
, comes with
GNOME A gnome () is a mythological creature and diminutive spirit in Renaissance magic and alchemy, introduced by Paracelsus in the 16th century and widely adopted by authors, including those of modern fantasy literature. They are typically depict ...
* GNU dico's own client (part of the dico package) * Kdict, comes with
KDE KDE is an international free software community that develops free and open-source software. As a central development hub, it provides tools and resources that enable collaborative work on its projects. Its products include the KDE Plasma gra ...
* KTranslator, KDE dictionary * MaemoDict, for the Nokia 770 * MATE Dictionary (with accompanying applet) *
Mozdev.org mozdev.org was a website that offered free project hosting, and software development tools to the Mozilla community. Site hosted extensions for Firefox, Thunderbird and SeaMonkey and stand-alone Mozilla-based applications. It was free to set up ...
's 'dict', a
Firefox Mozilla Firefox, or simply Firefox, is a free and open-source web browser developed by the Mozilla Foundation and its subsidiary, the Mozilla Corporation. It uses the Gecko rendering engine to display web pages, which implements curr ...
/
Mozilla Mozilla is a free software community founded in 1998 by members of Netscape. The Mozilla community uses, develops, publishes and supports Mozilla products, thereby promoting free software and open standards. The community is supported institution ...
extension * OKDict, an
OpenOffice.org OpenOffice.org (OOo), commonly known as OpenOffice, is a discontinued open-source office suite. Active successor projects include LibreOffice (the most actively developed) and Collabora Online, with Apache OpenOffice being considered mostly d ...
extension * OmniDictionary, for
Mac OS X macOS, previously OS X and originally Mac OS X, is a Unix, Unix-based operating system developed and marketed by Apple Inc., Apple since 2001. It is the current operating system for Apple's Mac (computer), Mac computers. With ...
* StarDict * ZopeDictDB for Zope from Pentila * GoldenDict * xfce4-dict, from the
Xfce Xfce or XFCE (pronounced as four individual letters, ) is a Free and open-source software, free and open-source desktop environment for Linux and other Unix-like operating systems. Xfce aims to be fast and Lightweight software, lightweight whil ...
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 Unix (, ; trademarked as UNIX) is a family of multitasking, multi-user computer operating systems that derive from the original AT&T Unix, whose development started in 1969 at the Bell Labs research center by Ken Thompson, Dennis Ritchie, a ...
command: dictfmt --utf8 --allchars -s "My Dictionary" -j mydict < mydict.txt will compile a
Unicode Unicode or ''The Unicode Standard'' or TUS is a character encoding standard maintained by the Unicode Consortium designed to support the use of text in all of the world's writing systems that can be digitized. Version 16.0 defines 154,998 Char ...
-compatible DICT file called ''mydict'', with heading ''My Dictionary'', from ''mydict.txt'' which is in
Jargon File The Jargon File is a glossary and usage dictionary of slang used by computer programmers. The original Jargon File was a collection of terms from technical cultures such as the MIT Computer Science and Artificial Intelligence Laboratory, MIT AI Lab ...
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


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 gzip is a file format and a software application used for file compression and decompression. The program was created by Jean-loup Gailly and Mark Adler as a free software replacement for the compress program used in early Unix systems, and ...
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 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 ...


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 {{DEFAULTSORT:Dict Internet protocols