1MALLEX(1) Malaga quick reference MALLEX(1)
2
3
4
6 mallex - generate a Malaga run-time lexicon
7
8
10 mallex [-binary|-readable|-prelex] project-file
11
12 mallex [-binary|-readable|-prelex] symbol-file rule-file [lexicon-file]
13 [prelex-file]
14
15
17 Malaga is a development environment for natural-language grammars based
18 on the Left-Associative Grammar formalism. Malaga grammars can be used
19 for automatic morphological and/or syntactic analysis.
20
21 The program mallex generates a Malaga run-time lexicon by letting allo‐
22 morph rules process a base-form lexicon. It can be started in interac‐
23 tive mode to help find bugs in the base-form lexicon or in the allo‐
24 morph rules.
25
26 mallex uses the following grammar components:
27
28 symbol-file
29 The symbol-file has the suffix .sym and contains the symbols
30 that are used in the lexicon and/or the allomorph rules.
31
32 rule-file
33 The rule-file has the suffix .all and contains the allomorph
34 rules used to create the runtime-lexicon.
35
36 lexicon-file
37 The lexicon-file has the suffix .lex and contains the base-form
38 lexicon entries that are used as input for the allomorph rules.
39
40 prelex-file (optional)
41 The prelex-file has the suffix .prelex and contains precompiled
42 allomorph entries, which have been created by a former run of
43 mallex with the option -prelex.
44
45 You can give the names of the grammar components as command line argu‐
46 ments, in any order. Alternatively, you can describe these components
47 in a project-file and use the name of the project file as mallex' sin‐
48 gle command-line argument. A project file has the suffix .pro.
49
50 If no command line options are given, mallex runs in interactive mode,
51 and you can enter commands. The lexicon-file and prelex-file are not
52 used in interactive mode. If you are not sure about the name of a com‐
53 mand, use the command help to get an overview of all mallex commands.
54
55 If you want to quit mallex, enter the command quit.
56
57 See info Malaga for details.
58
59
61 -b[inary]
62 Create the run time lexicon file from the base form lexicon file
63 and the optional prelex file, and save it as a binary run-time
64 lexicon, which can be used by malaga.
65
66 -h[elp]
67 Print a help text about mallex' command line arguments and exit.
68
69 -p[relex]
70 Create the run time lexicon, and save it as a binary prelex-
71 file, which can be read in later by another mallex run. output
72 stream.
73
74 -r[eadable]
75 Create the run time lexicon but don't save it, but print its
76 entries in human-readable form on the standard output stream.
77
78 -v[ersion]
79 Print mallex' version number and exit.
80
81
83 Malaga has been developed by Bjoern Beutel. Numerous other people dis‐
84 tributed to it. This manpage was originally written for the Debian
85 distribution by Antti-Juhani Kaijanaho.
86
87
89 malaga(1), malmake(1), malrul(1), malshow(1), malsym(1)
90
91 ``Malaga 7, User's and Programmer's Manual''. Available in Debian sys‐
92 tems via info Malaga, and, if the malaga-doc package is installed, in
93 various formats (DVI, Postscript, PDF, HTML) under
94 /usr/share/doc/malaga-doc/.
95
96
97
98Malaga 26 September 2006 MALLEX(1)