mallex
By using mallex, you can make the allomorph rules process the entries of
a base form lexicon.
You can start mallex either with the name of a project file or with the
names of the needed grammar files:
mallex english.pro
or
mallex english.sym english.all english.lex
If you are not using a project file, you must give
Normally, mallex runs interactively: it loads the symbol file and the
allomorph rule file. Then the prompt appears:
$ mallex english.pro
This is mallex, version 6.13.
Copyright (C) 1995 Bjoern Beutel.
This program is part of Malaga, a system for Natural Language Analysis.
You can distribute it under the terms of the GNU General Public License.
mallex>
|
You can now enter any mallex command. If you do not remember the command
names, you can use the command help to see an overview of the
mallex commands.
If you want to quit mallex, enter the command quit.
If you have started mallex by using the option -binary
or -b, it creates the run time lexicon file from the base form
lexicon file and the optional prelex file. If the lexicons are very
big or the allomorph rules are very complex, this can take some
time. After creation, mallex exits.
If you have started mallex by using the option -prelex
or -p, it creates a precompiled lexicon file from the source
lexicon file and the optional prelex file and exits.
You can use the following command line options when you start
mallex:
mallex in batch mode and creates the run-time lexicon.
mallex in batch mode and outputs the allomorph lexicon in
readable form on the standard output stream.
mallex in batch mode, but doesn't apply the allomorph filter yet.
Outputs the allomorph lexicon as a .prelex binary file.