Hi Bernard,
> One thing surprising for me is you propose to do several things
> like insterting missing words at the end (4th level in Francis
> proposal, third one in Mireia proposal).
>
> The problem is, in the case of an article (determinant) not existing
> always in the source language, there will be quite similar rules with
> and without the determinant.
>
> I recently proposed to normalize the source language into something
> more regular, so at t1x level, less combination of pattern-items
> would be needed to process transfer.
>
> I did it in apertium-eo-fr.eo-fr.t0x (in incubator) :
>
> <pattern>
> <pattern-item n="nom"/>
> </pattern>
> <action>
> ..........
> <lit v="un"/>
> <lit-tag v="det.ind.sp"/>
> ..........
> <clip pos="1" side="sl" part="whole"/>
> ..........
> </action>
>
> <pattern>
> <pattern-item n="det"/>
> <pattern-item n="nom"/>
> </pattern>
> <action>
> ..........
> <clip pos="1" side="sl" part="whole"/>
> ..........
> <clip pos="2" side="sl" part="whole"/>
> ..........
> </action>
>
> But if on the contrary you choose to add missing words at the end
> you will need plenty of first level rules for few different variants
> in the structure of the sentence.
>
The thing about adding determiners at the end (t3x), is that, for example
for the translation EN-CA, determiners are needed only if certain syntactic
structures are found.
For example:
"I buy apples" --> "Compro pomes"
but:
"Apples are red" -> * "Pomes són vermelles" -> "Les pomes són vermelles"
So, in t2x, if an undetermined noun is found in a Subject position, the
chunk gets a tag (e.g. PDET), meaning it has to get a determiner. This is
done then in t3x for practical reasons, as it is easer to do it at the
final stage for all chunks with the tag PDET.
When the change has to be made for all nouns in a certain language
combination independently of the context, of course it is better to do it
in t1x.
Mireia
------------------------------------------------------------------------------
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