On 4 April 2012 14:14, Alexandru Blanda <[email protected]> wrote:
>> This is a literal, not a variable - it should be '<lit v="être"/>'.
>>
>> Categories defined with <def-cat> are only used in <pattern-item>, nowhere
>> else.
>
> I also tried with  '<lit v="être"/>'. I used it like this:
>
> <lu>
>     <lit v="être"/>
>     <lit-tag v="lem"/> <!--(tried also without this line)-->

That outputs a literal tag '<lem>'. Your output so far is

^être<lem>

>
>     <lit-tag v="a_verb"/>

And this outputs the literal tag '<a_verb>'.

>     <clip pos="1" side="sl" part="temps"/>
>     <clip pos="1" side="sl" part="pers"/>
>     <clip pos="1" side="sl" part="nbr"/>
> </lu>
>

'sl' stands for 'source language', you should be using 'tl' - 'target
language'. But that's not the likely culprit.

Just as '<def-cat>' goes with '<pattern-item>', '<def-attr>' goes with
the 'part' of '<clip>' - you should make sure that you have a
<def-attr> for 'temps', 'pers', 'nbr', and 'a_verb', because you
almost certainly meant to have '<clip pos="1" side="tl"
part="a_verb"/>' where you had written <lit-tag v="a_verb"/>.

'lem' is a special, pre-defined part, but it is a part - you can only
use it in '<clip>'.


-- 
<Sefam> Are any of the mentors around?
<jimregan> yes, they're the ones trolling you

------------------------------------------------------------------------------
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second 
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev
_______________________________________________
Apertium-stuff mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/apertium-stuff

Reply via email to