• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

am/H04-Sep-2020-139128

app/python/H04-Sep-2020-205148

build-aux/H04-Sep-2020-27,11422,006

dico/H03-May-2022-6,3035,458

dicod/H03-May-2022-20,54917,040

dicoweb/H03-May-2022-2,0661,524

doc/H04-Sep-2020-24,18919,828

examples/H03-May-2022-13,7769,974

gint/H04-Sep-2020-5,8294,667

grecs/H04-Sep-2020-68,03252,345

imprimatur/H04-Sep-2020-2,3722,052

include/H04-Sep-2020-6,7185,316

lib/H04-Sep-2020-18,11915,098

libltdl/H04-Sep-2020-7,1214,389

m4/H04-Sep-2020-29,00726,846

modules/H04-Sep-2020-109,28294,372

po/H03-May-2022-33,63426,412

scripts/H04-Sep-2020-3,3282,945

xdico/H04-Sep-2020-65,96946,699

ABOUT-NLSH A D23-Jul-201993.1 KiB1,3281,280

AUTHORSH A D04-Sep-202072 32

COPYINGH A D04-Sep-202034.2 KiB677553

ChangeLogH A D04-Sep-2020203 KiB6,0794,599

ChangeLog.2008H A D04-Sep-202023 KiB655524

DISTFILESH A D04-Sep-2020948 3936

INSTALLH A D21-Apr-201815.4 KiB371289

Makefile.amH A D04-Sep-20201.7 KiB6839

Makefile.inH A D04-Sep-2020100.1 KiB2,3912,228

NEWSH A D04-Sep-20206.8 KiB287172

READMEH A D04-Sep-20207.2 KiB224160

THANKSH A D04-Sep-2020597 2015

TODOH A D04-Sep-2020388 2313

aclocal.m4H A D04-Sep-202048.3 KiB1,3931,279

bootstrapH A D04-Sep-202031.3 KiB1,255745

configureH A D03-May-20221.1 MiB43,61035,218

configure.acH A D04-Sep-202015.1 KiB581474

configure.bootH A D04-Sep-20209.2 KiB331289

README

1GNU Dico README
2See end of file for copying conditions.
3
4* Introduction
5==============
6
7This file contains brief information about configuring, testing
8and running GNU Dico.  It is *not* intended as a replacement
9for the documentation, but is provided as a brief reference only.
10The complete documentation for Dico is available in doc/
11subdirectory. To read it without installing the package run
12`info -f doc/dico.info'. After the package is installed the
13documentation can be accessed running `info Dico'.  Invoking
14`info dico' and `info dicod' (with a lower-case `d') will show you a
15concise description of the command line syntax (similar to a man-page
16style) of `dico' and `dicod' programs, correspondingly.
17
18An online copy of the documentation in various formats is available
19at http://dico.man.gnu.org.ua.
20
21* Overview
22==========
23
24Dico is a flexible implementation of DICT server (RFC 2229).  The
25server is modular: the daemon itself (dicod) provides only the server
26functionality, and knows nothing about database formats.  Actual
27searches are performed by functions supplied in loadable modules.  A
28single module can handle any number of database instances.
29
30The package includes several modules for searching in different
31dictionary databases, such as dict.org, WordNet and others.
32
33The server can be configured to handle both anonymous and authorized
34access.  It supports a wide variety of authentication algorithms.
35Simpler configurations can keep the user database in plaintext files,
36while more complex ones can use LDAP.
37
38A console client program, `dico', is included.
39
40A module for lookups in Jim Breen's Kanjidic and Edict databases will
41be added in future.
42
43* What's in a name?
44===================
45
46Dico is informal French for "Dictionary".  It is pronounced "Deekoh",
47with the stress on the last syllable.
48
49* Modules
50=========
51
52The package comes with the following modules:
53
54- dictorg
55  This module handles databases in dict.org format.
56
57- outline
58  Support for databases in Emacs outline format. This module is
59  designed mostly as an example and for testing purposes.
60
61- gcide
62  GNUCIDE dictionary support.
63
64- wordnet
65  WordNet support.  WordNet is a lexical database for the English
66  language, created and maintained at the Cognitive Science Laboratory
67  of Princeton University.
68
69- guile
70  An abstract layer for interfacing with database modules written in
71  Guile.
72
73- python
74  An abstract layer for interfacing with database modules written in
75  Python.
76
77- substr
78  Defines the "substr" lookup strategy, which matches a supplied
79  substring anywhere in the headword.
80
81- stratall
82  Defines a special lookup strategy, named "all", which returns all
83  headwords from the database.
84
85- word
86  Defines the "word" lookup strategy, which matches a supplied
87  word anywhere in the headword.
88
89- pcre
90  Defines a strategy for using Perl-compatible regular expressions.
91
92- ldap
93  Brings support for LDAP user databases.
94
95- pam
96  Implements PAM authentication.
97
98* Building
99==========
100
101As usual:
102
103 $ ./configure
104 $ make
105 $ make install
106
107See INSTALL for the generic configure instructions.  The rest of this
108section describes configuration options and variables specific for
109Dico.
110
111** Default Preprocessor
112------------------------
113
114The runtime configuration system uses `m4' to preprocess the
115configuration file, which makes the configuration extremely flexible.
116We recommend to use GNU m4 as a preprocessor, although any other
117implementation of `m4' can be used as well.  The `configure' script tries to
118determine the full file name of the preprocessor binary and the necessary
119command line options.  In case it makes a wrong guess, you can instruct
120it to use a particular preprocessor by defining the `DEFAULT_PREPROCESSOR'
121configuration variable.  For example, the following `configure'
122invocation instructs it to use `/usr/local/bin/gm4':
123
124     $ ./configure DEFAULT_PREPROCESSOR="/usr/local/bin/gm4 -s"
125
126Note the use of the `-s' preprocessor option.  It tells `m4' to
127produce line directives which help `dicod' produce correct diagnostics
128about eventual configuration errors.  Unless your `m4' implementation
129does not have this feature, we recommend to always use it in
130`DEFAULT_PREPROCESSOR' value.
131
132   Finally, if you do not wish to use preprocessor at all, use
133the `--without-preprocessor' option.
134
135** Default Server
136-----------------
137
138Unless given an explicit dictionary server, the client program `dico'
139attempts to connect the server `dict://dico.gnu.org.ua'.  You can
140change this default by setting the DEFAULT_DICT_SERVER environment
141variable to the desired server hostname.  For example:
142
143     $ ./configure DEFAULT_DICT_SERVER=dict.org
144
145
146** Guile Support
147-----------------
148
149The "GNU's Ubiquitous Intelligent Language for Extensions" (Guile)
150can be used to write database modules for `dico'.  This
151requires Guile version 2.2.0 or newer.  The `configure' script will
152probe for the presence of Guile on your system and automatically enable
153its use if its version number is high enough.
154
155If you do not wish to use Guile, use `--without-guile' to disable it.
156
157** WordNet database
158-------------------
159
160If you plan to use WordNet database, there are several points to be
161observed.  First of all, WordNet provides static libraries, usually
162with position-dependent code, which makes it difficult (or impossible,
163on 64-bit architectures) to use from the shared dico modules.  So,
164first of all you will need to rebuild WordNet so that it contains
165position-independent code.  To do so, reconfigure it as follows:
166
167  ./configure CFLAGS=-fPIC [other_options]
168
169where [other_options] stands for any other options you might wish to
170pass to configure.
171
172If you are going to run this command in a source directory that has
173been previously configured, it is advised to run "make distclean"
174beforehand.
175
176After configuring, run make and make install, as usual.
177
178Once this step done, configure dico with the `--with-wordnet' option,
179to inform the it about the location where WordNet libraries and
180headers can be found.  For example, the command
181
182  ./configure --with-wordnet=/usr/local/WordNet-3.0
183
184will instruct the configure script to look for WordNet library files in
185/usr/local/WordNet-3.0/lib and for include files in
186/usr/local/WordNet-3.0/include.
187
188** Other Configure Settings
189----------------------------
190
191The `dicod' daemon uses syslog for diagnostics.  The default syslog
192facility can be set using `LOG_FACILITY' configuration variable.
193Allowed arguments are `user', `daemon', `auth', `authpriv', `mail',
194`cron', and `local0' through `local7' (case insensitive).
195
196By default, the `daemon' facility is used.
197
198* Bug reporting.
199
200Send bug reports to <bug-dico@gnu.org>.
201
202
203* Copyright information:
204
205Copyright (C) 2008-2020 Sergey Poznyakoff
206
207   Permission is granted to anyone to make or distribute verbatim copies
208   of this document as received, in any medium, provided that the
209   copyright notice and this permission notice are preserved,
210   thus giving the recipient permission to redistribute in turn.
211
212   Permission is granted to distribute modified versions
213   of this document, or of portions of it,
214   under the above conditions, provided also that they
215   carry prominent notices stating who last changed them.
216
217
218Local Variables:
219mode: outline
220paragraph-separate: "[ 	]*$"
221version-control: never
222End:
223
224