logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

mallex - generate a Malaga run-time lexicon

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.

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.

       The program mallex generates a Malaga run-time lexicon by letting allomorph  rules  process  a  base-form
       lexicon.  It  can  be  started  in  interactivemode 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 .sym and contains the symbols that are used in the  lexicon  and/or
              the allomorph rules.

       rule-file
              The  rule-file  has  the  suffix .all and contains the allomorph rules used to create the runtime-
              lexicon.

       lexicon-file
              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 infoMalaga for details.

Name

       mallex - generate a Malaga run-time lexicon

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 mallex run.  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.

See Also

malaga(1), malmake(1), malrul(1), malshow(1), malsym(1)

       ``Malaga 7, User's and Programmer's Manual''.  Available in Debian systems via infoMalaga, and,  if  the
       malaga-doc   package   is   installed,   in   various   formats   (DVI,   Postscript,  PDF,  HTML)  under
       /usr/share/doc/malaga-doc/.

Malaga                                          26 September 2006                                      MALLEX(1)

Synopsis

mallex [-binary|-readable|-prelex] project-filemallex [-binary|-readable|-prelex] symbol-filerule-file [lexicon-file] [prelex-file]

See Also