mallex1
Generate a malaga run-time lexicon
Usage
mallex [{-binary | -readable | -prelex}]
project-file
mallex [{-binary | -readable | -prelex}]
symbol-file
rule-file
[lexicon-file]
[prelex-file]
Overview
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.
The program mallex generates a Malaga run-time lexicon by letting allomorph rules process a base-form lexicon. It can be started in interactive mode to help find bugs in the base-form lexicon or in the allomorph rules.
mallex uses the following grammar components:
- symbol-file
-
The symbol-file has the suffix
.symand contains the symbols that are used in the lexicon and/or the allomorph rules.
- rule-file
-
The rule-file has the suffix
.alland contains the allomorph rules used to create the runtime-lexicon.
- lexicon-file
-
The lexicon-file has the suffix
.lexand contains the base-form lexicon entries that are used as input for the allomorph rules.
- prelex-file (optional)
-
The prelex-file has the suffix
.prelexand contains precompiled allomorph entries, which have been created by a former run ofmallexwith the option-prelex.
You can give the names of the grammar components as command line arguments, in any order. Alternatively, you can describe these components in a project-file and use the name of the project file as mallex' single command-line argument. A project file has the suffix .pro.
If no command line options are given, mallex runs in interactive mode, and you can enter commands. The lexicon-file and prelex-file are not used in interactive mode. If you are not sure about the name of a command, use the command help to get an overview of all mallex commands.
If you want to quit mallex, enter the command quit.
See info Malaga for details.
Options
-
-b[inary] -
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
malaga.
-
-h[elp] -
Print a help text about
mallex' command line arguments and exit.
-
-p[relex] -
Create the run time lexicon, and save it as a binary prelex-file, which can be read in later by another
mallexrun. output stream.
-
-r[eadable] -
Create the run time lexicon but don't save it, but print its entries in human-readable form on the standard output stream.
-
-v[ersion] -
Print
mallex' version number and exit.
Releases
10 releases since Debian 2.2 (Potato); the text changed 1 time.
-b since Debian 5.0 (Lenny);
-h since Debian 5.0 (Lenny);
-p since Debian 5.0 (Lenny).
-i until Debian 3.0 (Woody);
-interactive until Debian 3.0 (Woody);
-readable until Debian 3.0 (Woody).