DICT is a dictionarynetwork protocol created by the DICT Development Group[1] in 1997, described by RFC 2229.[2] 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.[2]
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:
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.[6]
There are also programs that read the DICT file format directly. For example, S60Dict,[20] 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
edit
The standard dictd[7] server made by the DICT Development Group[1] 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:
Linguae Software[21] 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.
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
edit
DICT clients
References
edit
^ ab"dict.org". Dict.org. Retrieved 16 October 2014.