Hi all,
> I have a proposal about making new chunks in interchunk. At the moment
> if we want to make a new chunk we have to put in<lit>  tags with '{' and
> '}' -- this is superugly. Here is an example:
>
>            <chunk>
>              <lit v="prep"/>
>              <lit-tag v="PREP"/>
>              <lit v="{^na"/>
>              <lit-tag v="pr"/>
>              <lit v="$}"/>
>            </chunk>
>
> output: ^prep<PREP>{^na<pr>$}$
>
> It would be supernicer if it were like this:
>
>            <chunk>
>              <lit v="prep"/>
>              <lit-tag v="PREP"/>
>              <chcontent>
>                <lu>
>                  <lit v="на"/>
>                  <lit-tag v="pr"/>
>                </lu>
>              </chcontent>
>            </chunk>
>
> output: ^prep<PREP>{^na<pr>$}$
Sounds good to me!
> What do people think ? It would mean changing the DTD and the transfer
> code... But quite a simple change I think, and backwards compatible.
>
> <chcontent>  outputs        {
> </chcontent>  outputs       }
I'd rather use the longer "chunkcontent" for clarity.
> <lu>  (in chunker) outputs  ^
> </lu>  (in chunker) outputs $

> PS. People are really using the<lit v="{"/>  hack at the moment:
Ugly. Ugh. Very un-Apertium.

Mikel

-- 
Mikel L. Forcada (http://www.dlsi.ua.es/~mlf/)
Departament de Llenguatges i Sistemes Informàtics
Universitat d'Alacant
E-03071 Alacant, Spain
Phone: +34 96 590 9776
Fax: +34 96 590 9326


------------------------------------------------------------------------------
AppSumo Presents a FREE Video for the SourceForge Community by Eric 
Ries, the creator of the Lean Startup Methodology on "Lean Startup 
Secrets Revealed." This video shows you how to validate your ideas, 
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev
_______________________________________________
Apertium-stuff mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/apertium-stuff

Reply via email to