Hello,

When matching a pattern and outputting an LU you have to exactly add all
the morphological tags as they are in your monodix, otherwise you'll get an
"#" error. If you are matching an entry different from the one in the
example, with different tags, you need to output them all in the transfer.

Cheers,
Hrvoje

On Thu, Mar 29, 2012 at 2:25 AM, Alexandru Blanda <
[email protected]> wrote:

> Hello,
>
> While going through the Apertium_New_Language_Pair_HOWTO I came across
> what seems to be an incomplete rule. Or at least it didn't work in my case
> :). In the section dealing with verbs, the complete rule would be in my
> opinion:
>
> <rule>
>    <pattern>
>      <pattern-item n="vrb"/>
>    </pattern>
>    <action>
>      <out>
>        <lu>
>          <clip pos="1" side="tl" part="lem"/>
>          <clip pos="1" side="tl" part="a_verb"/>
>          <clip pos="1" side="tl" part="temps"/>
>          <clip pos="1" side="tl" part="pers"/>
>          <clip pos="1" side="tl" part="nbr"/>
>        </lu>
>      </out>
>    </action>
> </rule>
>
> The modified rule provided correct results. The same alterations should
> also be made to the next rule, explained in the pronouns section, given the
> fact that it is an extension of the rule above.
> I thought perhaps you would like to update the wiki so that others won't
> have a problem with this :)
>
> Thanks,
> Alexandru Blanda
>
>
> ------------------------------------------------------------------------------
> This SF email is sponsosred by:
> Try Windows Azure free for 90 days Click Here
> http://p.sf.net/sfu/sfd2d-msazure
> _______________________________________________
> Apertium-stuff mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/apertium-stuff
>
>
------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Apertium-stuff mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/apertium-stuff

Reply via email to