mallex (1) - Linux Man Pages
mallex: generate a Malaga run-time lexicon
mallex - generate a Malaga run-time lexicon
SYNOPSISmallex [-binary|-readable|-prelex] project-file
mallex [-binary|-readable|-prelex] symbol-file rule-file [lexicon-file] [prelex-file]
DESCRIPTIONMalaga 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:
- The symbol-file has the suffix .sym and contains the symbols that are used in the lexicon and/or the allomorph rules.
- The rule-file has the suffix .all and contains the allomorph rules used to create the runtime-lexicon.
- The lexicon-file has the suffix .lex and contains the base-form lexicon entries that are used as input for the allomorph rules.
- prelex-file (optional)
- The prelex-file has the suffix .prelex and contains precompiled allomorph entries, which have been created by a former run of mallex with 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.
- 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.
- Print a help text about mallex' command line arguments and exit.
- Create the run time lexicon, and save it as a binary prelex-file, which can be read in later by another mallex run. output stream.
- Create the run time lexicon but don't save it, but print its entries in human-readable form on the standard output stream.
Print mallex' version number and exit.
AUTHORSMalaga 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.
SEE ALSOmalaga(1), malmake(1), malrul(1), malshow(1), malsym(1)
``Malaga 7, User's and Programmer's Manual''. Available in Debian systems via info Malaga, and, if the malaga-doc package is installed, in various formats (DVI, Postscript, PDF, HTML) under /usr/share/doc/malaga-doc/.