Sevilay Bayatlı <sevilaybayatli-re5jqeeqqe8avxtiumw...@public.gmane.org>
čálii:

> hi,
>
> In the let element,  I know that the second "right" part can be any part
> that generates a string like : get-case-from , case-of , b , var , lit ,
> lit-tag , concat and clip
> But for the first "left" part , it's written that it could be clip , var ,
> etc.
> And I can't see any thing other than clip and var to assign the right part
> to it. So what's meant by "etc."?
>
> here form Documentation of the Open-Source Shallow-Transfer Machine
> Translation Platform Apertium
> 3.5.4.37 Element for assignment <let>
> The assignment instruction <let> assigns the value of the right part of
> the assignment (a literal string, a clip, a variable, etc.) to the left
> part (a
> clip, a variable, etc.).

See the file /usr/share/apertium/transfer.dtd for what can actually go
in a valid t1x file (or interchunk/postchunk.dtd for those).

Relevant parts of the file:

    <!ELEMENT let (%container;, %value;)>

    <!ENTITY % container "(var|clip)">


so *only* var and clip, there are no cetera.

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Apertium-stuff mailing list
Apertium-stuff@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/apertium-stuff

Reply via email to