El ds 30 de 06 de 2012 a les 09:40 +0200, en/na Mikel Forcada va
escriure:
> Dear apertiumers,
>
> Promptly responding to a feature request of mine, Sergio Ortiz (thanks a
> lot Sergio!) has committed a new version of the apertium package in
> which the language of structural transfer (.t1x, .t2x, and .t3x) has
> been extended so that elements <lu> (lexical unit), <mlu> (multi-word
> lexical unit), and <chunk> (chunk, not in .t3x of course) may be used as
> values that can be assigned to a variable, concatenated, etc. (rvalues).
> This allows for actions to pre-calculate some of the material that will
> be used in subsequent <out> statements (for instance, in macros) to make
> rules more compact.
>
> I think this is a natural extension which turns into rvalues all of the
> elements that may be included in an <out> statement. DTDs have been
> updated accordingly.
>
> Sergio has checked that this does not break anything but more extensive
> testing would be needed for this to be considered material for a new
> release of Apertium. You are all welcome to try and tell us if somehting
> went wrong.
Thanks Mikel!
Could you give us a code example of how it may be used ? Does it mean
that we can now do, e.g.
<let>
<var n="post"/>
<concat>
<chunk ...>
<tags>
</tags>
<lu>
...
</lu>
</chunk>
</concat>
</let>
etc. ?
Fran
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Apertium-stuff mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/apertium-stuff