Hello,
After a first look at the rule, without installing apertium-eng-kaz, I´ve
seen that the side in the clip is "sl", when I think it should be "tl"
(target language).
If you change:
<let><clip pos="1" side="sl" part="a_nbr"/><lit-tag v="ND"/></let>
with
<let><clip pos="1" side="tl" part="a_nbr"/><lit-tag v="ND"/></let>
and the same here:
<let><clip pos="1" side="sl" part="a_nbr"/><lit v="zzz"/>
and in the <out> command,
does it work?
Regards,
Mireia
On Fri, Nov 22, 2013 at 3:22 PM, Mikel L. Forcada <[email protected]> wrote:
> Dear Sergio, dear list,
>
> Aida and I think we have found a bug in the t1x processor and we have
> chased it down to a single file containing only the definitions necessary
> and a single rule. Unfortunately, it has to be tested by installing
> apertium-eng-kaz (following the steps here:
> http://wiki.apertium.org/wiki/English_and_Kazakh (hfst and all!, sorry).
>
> How to test the (possible) bug: install apertium-eng-kaz, then replace
> apertium-eng-kaz.kaz-eng.t1x with the file with the same name in the dev/
> directory, compile, and run this test:
>
> echo "жазғанмын" | apertium -d. kaz-eng-transfer
>
> The output should be:
>
> apertium-transfer: Rule 1 жаз<v><tv><past><p1><sg>/
> write<vblex><past><p1><sg>/record<vblex><past><p1><sg>
> ^+++ HELLO, I AM THE WRONG RULE! +++ The following should be <ND> or
> <zzz>:<sg>$^default<default>{^.<sent>$}
>
> If you look at the rule, first the value <ND> to the number clip is
> assigned and then there is a <choose> block that tests for 1st person and
> assigns <zzz> to the number clip. None of these two values are printed;
> instead, the value extracted from жаз<v><tv><past><p1><sg> is printed,
> namely <sg>.
>
> We also saw some other strange behavior, but this was the easiest to
> reproduce.
>
> Basically, assignments to clips are overriden and the values obtained in
> previous assignments seem to prevail.
>
> We would appreciate it very much if someone could look into this bug.
>
> All the best
>
> Mikel
>
> P.S. Another behaviour we observed is that under some circumstances you
> cannot assign values to clips outside their definition range, but we
> haven't been able to isolate the problem.
>
> --
> Mikel L. Forcada E-mail: [email protected]
> Departament de Llenguatges Phone: +34-96-590-9776
> i Sistemes Informàtics also +34-96-590-3772.
> UNIVERSITAT D'ALACANT Fax: +34-96-590-9326, -3464
> E-03071 ALACANT, Spain.
>
> URL: http://www.dlsi.ua.es/~mlf
>
>
> ------------------------------------------------------------------------------
> Shape the Mobile Experience: Free Subscription
> Software experts and developers: Be at the forefront of tech innovation.
> Intel(R) Software Adrenaline delivers strategic insight and game-changing
> conversations that shape the rapidly evolving mobile landscape. Sign up
> now.
> http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk
> _______________________________________________
> Apertium-stuff mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/apertium-stuff
>
>
------------------------------------------------------------------------------
Shape the Mobile Experience: Free Subscription
Software experts and developers: Be at the forefront of tech innovation.
Intel(R) Software Adrenaline delivers strategic insight and game-changing
conversations that shape the rapidly evolving mobile landscape. Sign up now.
http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk
_______________________________________________
Apertium-stuff mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/apertium-stuff