Gaurav Agrawal <[email protected]> writes: > Hello all, > > I have few queries related to non-standard dictionary format: > > 1. The one non-standard that I am aware of is metadix. Is there any > other non standard dictionary format ?
Any language pair developer is essentially free to make up new XSLT's and use those (e.g. in nn-nb, we have a script to create a version of the dix without compounding tags). (Also, there are dictionaries that don't even use lttoolbox, but HFST instead, but I guess you didn't mean that.) > 2. How can we identify a language pair uses which format ? The makefile rule for compiling generators/analysers will not just say "lt-comp $< $@", but have some transformation, typically using xsltproc, first. > 3. What is the use of the alt.xsl file ? In some dictionaries, there's an alt-attribute on some entries, this is typically used for marking language variants. E.g. in an English dix, you might have alt="en_GB" on the entry for "colour", and alt="en_US" on the entry for "color". Then the alt.xsl script called with en_GB as the option would include only those entries that have alt="en_GB" or that have no alt-attribute. -- Kevin Brubeck Unhammer http://matt.might.net/articles/how-to-email/
pgpL1yTkZLqHn.pgp
Description: PGP signature
------------------------------------------------------------------------------ Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/13534_NeoTech
_______________________________________________ Apertium-stuff mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/apertium-stuff
