Blob Blame History Raw
.TH MALLEX 1 "26 September 2006" Malaga "Malaga quick reference"

.SH NAME
mallex \- generate a Malaga run-time lexicon

.SH SYNOPSIS
\fBmallex\fP [\fB-binary\fP|\fB-readable\fP|\fB-prelex\fP]
\fIproject-file\fP
.PP
\fBmallex\fP [\fB-binary\fP|\fB-readable\fP|\fB-prelex\fP]
\fIsymbol-file\fP \fIrule-file\fP [\fIlexicon-file\fP] [\fIprelex-file\fP]

.SH DESCRIPTION
Malaga is a development environment for natural-language grammars based on the
Left-Associative Grammar formalism.  Malaga grammars can be used for
automatic morphological and/or syntactic analysis.
.PP
The program \fBmallex\fP generates a Malaga run-time lexicon by letting
allomorph rules process a base-form lexicon. It can be started in
\fIinteractive mode\fP to help find bugs in the base-form lexicon or in the
allomorph rules.
.PP
\fBmallex\fP uses the following grammar components:
.IP \fIsymbol-file\fP
The \fIsymbol-file\fP has the suffix \fB.sym\fP and contains the symbols that
are used in the lexicon and/or the allomorph rules.
.IP \fIrule-file\fP
The \fIrule-file\fP has the suffix \fB.all\fP and contains the allomorph rules
used to create the runtime-lexicon.
.IP \fIlexicon-file\fP
The \fIlexicon-file\fP has the suffix \fB.lex\fP and contains the base-form
lexicon entries that are used as input for the allomorph rules.
.IP "\fIprelex-file\fP (optional)"
The \fIprelex-file\fP has the suffix \fB.prelex\fP and contains precompiled
allomorph entries, which have been created by a former run of \fBmallex\fP with
the option \fB-prelex\fP.
.PP
You can give the names of the grammar components as command line arguments, in
any order.  Alternatively, you can describe these components in a
\fIproject-file\fP and use the name of the project file as \fBmallex\fP' single
command-line argument. A project file has the suffix \fB.pro\fP.
.PP
If no command line options are given, \fBmallex\fP runs in interactive mode,
and you can enter commands.  The \fIlexicon-file\fP and \fIprelex-file\fP are
not used in interactive mode. If you are not sure about the name of a command,
use the command \fBhelp\fP to get an overview of all \fBmallex\fP commands.
.PP
If you want to quit \fBmallex\fP, enter the command \fBquit\fP. 
.PP
See \fBinfo Malaga\fP for details.

.SH OPTIONS
.IP "\fB-b\fP[\fBinary\fP]"
Create the run time lexicon file from the base form lexicon file and the
optional prelex file, and save it as a binary run-time lexicon, which can be
used by \fBmalaga\fP.
.IP "\fB-h\fP[\fBelp\fP]"
Print a help text about \fBmallex\fP' command line arguments and exit.
.IP "\fB-p\fP[\fBrelex\fP]"
Create the run time lexicon, and save it as a binary \fIprelex-file\fP, which
can be read in later by another \fBmallex\fP run.  output stream.
.IP "\fB-r\fP[\fBeadable\fP]"
Create the run time lexicon but don't save it, but print its entries in
human-readable form on the standard output stream.
.IP "\fB-v\fP[\fBersion\fP]"
Print \fBmallex\fP' version number and exit.

.SH AUTHORS
Malaga has been developed by Bjoern Beutel.  Numerous other people distributed
to it.  This manpage was originally written for the Debian distribution by
Antti-Juhani Kaijanaho.

.SH SEE ALSO
\fBmalaga\fP(1), \fBmalmake\fP(1), \fBmalrul\fP(1), \fBmalshow\fP(1),
\fBmalsym\fP(1)
.PP
``Malaga 7, User's and Programmer's Manual''.  Available in Debian
systems via \fBinfo Malaga\fP, and, if the malaga-doc package is installed,
in various formats (DVI, Postscript, PDF, HTML) under
\fI/usr/share/doc/malaga-doc/\fP.