El 2019-02-01 08:11, Sevilay Bayatlı escribió:
hi,
In apertium-eng-spa.eng-spa file I see the use of link-to different
than apertium-eng-spa.spa-eng, in  the rule below they say link-to="4"
and there are just three tags not four,  I think it is not right
because this number should be equal to the number of tags? please can
you point me

<rule id="109" comment="REGLA: NOM ( per a col·locar la cua en les
multiparaules amb g )">
      <pattern>
 <pattern-item n="nom"/>
      </pattern>
      <action>
 <call-macro n="firstWord">
   <with-param pos="1"/>
 </call-macro>
 <out>
   <chunk name="nom" case="caseFirstWord">
     <tags>
       <tag><lit-tag v="SN.UNDET"/></tag>
       <tag><clip pos="1" side="tl" part="gen"/></tag>
       <tag><clip pos="1" side="tl" part="nbr"/></tag>
     </tags>
     <lu>
       <clip pos="1" side="tl" part="lemh"/>
       <clip pos="1" side="tl" part="a_nom"/>
       <clip pos="1" side="tl" part="gen" link-to="3"/>
       <clip pos="1" side="tl" part="nbr" link-to="4"/>
       <clip pos="1" side="tl" part="lemq"/>
     </lu>
   </chunk>
 </out>
      </action>
    </rule>


Hi Sevilay,

Thanks for your question. In fact there are four tags there
because SN.UNDET expands to two tags, e.g. <SN><UNDET>

Regards,

Fran


_______________________________________________
Apertium-stuff mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/apertium-stuff

Reply via email to