Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

mallex(1) [centos man page]

MALLEX(1)						      Malaga quick reference							 MALLEX(1)

mallex - generate a Malaga run-time lexicon SYNOPSIS
mallex [-binary|-readable|-prelex] project-file mallex [-binary|-readable|-prelex] symbol-file rule-file [lexicon-file] [prelex-file] 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 inter- active 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 .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 com- mands. 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 lex- icon, 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. 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. 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 info Malaga, 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)

Check Out this Related Man Page

Log::Report::Extract::PerlPPI(3pm)			User Contributed Perl Documentation			Log::Report::Extract::PerlPPI(3pm)

Log::Report::Extract::PerlPPI - Collect translatable strings from Perl using PPI SYNOPSIS
my $ppi = Log::Report::Extract::PerlPPI->new ( lexicon => '/usr/share/locale' ); $ppi->process('lib/My/'); # many times $ppi->showStats; # to dispatchers which accept TRACE or INFO $ppi->write; # also cleans processing memory. DESCRIPTION
This module helps maintaining the POT files, updating the list of message-ids which are kept in them. After initiation, the process() method needs to be called with all files which changed since last processing and the existing PO files will get updated accordingly. If no translations exist yet, one "textdomain/xx.po" file will be created. METHODS
Constructors Log::Report::Extract::PerlPPI->new(OPTIONS) -Option --Default charset 'utf-8' lexicon <required> charset => STRING The character-set used in the PO files. lexicon => DIRECTORY The place where the lexicon is kept. When no lexicon is defined yet, this will be the directory where an "domain/xx.po" file will be created. Accessors $obj->charset Returns the character-set used inside the POT files. $obj->domains Returns a sorted list of all known domain names. $obj->index Returns the Log::Report::Lexicon::Index object, which is listing the files in the lexicon directory tree. Processors $obj->process(FILENAME, OPTIONS) Update the domains mentioned in the FILENAME. All textdomains defined in the file will get updated automatically, but not written before all files where processed. -Option --Default charset 'iso-8859-1' charset => STRING $obj->showStats([DOMAINs]) Show a status about the DOMAIN (by default all domains). At least mode verbose is required to see this. $obj->write([DOMAIN]) Update the information of the files related to DOMAIN, by default all processed DOMAINS. All information known about the DOMAIN is removed from the cache. SEE ALSO
This module is part of Log-Report distribution version 0.94, built on August 23, 2011. Website: LICENSE
Copyrights 2007-2011 by Mark Overmeer. For other contributors see ChangeLog. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perl v5.14.2 2011-08-23 Log::Report::Extract::PerlPPI(3pm)
Man Page

Featured Tech Videos