JDictd
What is JDictd?
JDictd is a set of Java programs that implement the Dictionary Server Protocol (DICT) as specified in RFC 2229. It is used to access dictionary definitions from a set of natural language dictionary databases. The software (including binaries and source code) is distributed on the terms of the GNU General Public License.
To use JDictd you need the Java Runtime Environment (JRE) version 1.1 or higher to run it. JRE can be downloaded from Sun's Website. Also, you need to get the databases you would like to use. A list of freely available dictionary databases can be found on the Website of the DICT Development Group. (Included in the distribution is a small sample dictionary to test that the server is working).
Features
- Support for the two mandatory searching strategies, exact and
prefix
- Flat and dictzip-compressed databases can be handled
- Searches may be done on inflected forms even if only base forms of words are stored in the databases. E.g., 'performing' my not be present, but the server can find the base form 'perform' using a suitable morphological processor
- Different encodings are supported: ISO Latin, UTF-8, etc.
- WWW interface included: you can use any Web browser to access the databases
- Easy integration in servlet containers (e.g., Jakarta Tomcat, Websphere, etc.)
Quick Installation
- Download the distribution
- Unpack the downloaded file, keeping the directory structure. You shall get a directory
jdictdXX
(XX is the version number).
- From the directory
jdictdXX
, run the following command:
java -cp jdictd.jar org.dict.server.JDictd Elements/elements.ini
(This assumes that you run JDK1.2 or higher. If you run JDK1.1, please replace the command 'java'
with 'jre'). You should get a message like the following:
Mon Feb 25 23:49:08 CET 2002: JDictd started at 2628
Mon Feb 25 23:49:08 CET 2002: HTTP server started at 2626
- Start your favorite Web browser and open the address
http://localhost:2626
You should see an input form. Enter some word and see the result from the server.
See the help file in the distribution (help.html
) for further information.
History
- Version 1.5 (March 2004): Line-break bug on Mac fixed. GUI client added
- Version 1.4 (February 2004): Wilcard query enabled for Web interface
- Version 1.3 (April 2003): Some Unicode bugs fixed. Added documentation, guide for
programmer, sorting tool for indexes
- Version 1.2 (March 2002): Added installation guide, HTTP (Web) server
- Version 1.1 (August 2001): Basic functionality
Ho Ngoc Duc <duc@informatik.uni-leipzig.de>