msd-expand.xsl
Expands a list of MSDs according to the morphosyntactic specifications.
Author:
Tomaž Erjavec, http://nl.ijs.si/et/
Copyright:
This library is free software; you can redistribute it and/or modify it under the
terms of the GNU Lesser General Public License as published by the Free Software Foundation;
either version 2.1 of the License, or (at your option) any later version. This library is
distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the
implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser
General Public License for more details. You should have received a copy of the GNU Lesser
General Public License along with this library; if not, write to the Free Software Foundation,
Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Parameters Summary
Variables Summary
Primary separator between input MSD and result
Secondary separator between features
Match Templates Summary
Expand one feature
Expand category value
Expand attribute value
No short description available
Named Templates Summary
No short description available
Expand one feature for given mode
Expand one MSD
Expand one MSD for given mode
Split the list of MSDs and process each
No short description available
Parameters Detail
Which cannonical form to produce
Features can be unspecified (have as
their value a hyphen, '-', meaning "non-applicable"), and this parameters determines if and
which such features should be output. Valid values are: none = only features where value is
specified. cat = all features valid for the category full = all features regardless of the
category The effect of this parameter is mode dependent, e.g. hyphens cannot be deleted in the
middle of the output MSD string.
none What to output
Modes should be given as space separated list. id = input
MSD; msd = output MSD; collate = output collation (sort key) of MSD, e.g. 1S120200, hyphen maps
to 00. cat = category (part-of-speech) att = attributes and category val = values attval = pairs
attribute=value brief = decorated values, for readibility, e.g. +animate
verboseVariables Detail
Primary separator between input MSD and result
Secondary separator between features
Match Templates Detail
Expand one feature
Parameters:
string code - Value code to process.
string mode - Output mode.
Expand category value
Parameters:
string code - Category code to process.
string mode - Output mode.
Expand attribute value
Parameters:
string code - Code to process.
string mode - Output mode.
No short description available
Parameters:
code -
Named Templates Detail
No short description available
Parameters:
atts -
msd-atts -
result -
mode -
No short description available
Parameters:
att -
msd-atts -
result -
Expand one feature for given mode
Parameters:
string n - Position in MSD
string, category=0.
string cat - Category key for table.
string codes - MSD suffix to process.
string mode - Output mode.
Expand one MSD
Parameters:
string msd - MSD to process.
string modes - Output modes.
Expand one MSD for given mode
Parameters:
string msd - MSD to process.
string mode - Output mode.
Split the list of MSDs and process each
Parameters:
string msds - MSDs to
process.
No short description available
Parameters:
mode -
att -