I think we should not depend on rule's id to solve thess issues, please can
you explain it depend on the rule's comments because rules id not right in
the ambiguous-rules branch there are more than 10 rules in ambiguous-branch
have commented and they had ids.

 All the following words  have # with the output of weighted system:

#chaos
Weighted:<rule comment="REGLA: NOM (per a col·locar la cua en les
multiparaules amb g"
^nom<SN><m><ND>{^chaos<n><ND>$}$

Unweighted:<rule  comment="REGLA: DET NOM // Los reyes llegaron hoy → The
kings arrived today">
^det_nom<SN><m><sg>{^a<det><ind><3>$ ^chaos<n><3>$}$

===========================================================
#there
Weighted: <rule comment="REGLA: VERB conjugat">
^verbcj<SV><vblex><pres><p3><sg>{^there<vblex><pres><p3><sg> is$}$

Unweighted:<rule comment="REGLA: HABER">
^Haverhi<SV><vbser><pri><p3><ND>{^there<adv>$ ^be<vbser><pri><p3><5>$}$
==================================================================
#focus
Weighted:<rule comment="REGLA: NOM (per a col·locar la cua en les
multiparaules amb g"
^nom<SN><m><ND>{^focus<n><ND>$}$

Unweighted:<rule comment="REGLA: DET NOM // Los reyes llegaron hoy → The
kings arrived today">
^det_nom<SN><m><sg>{^his<det><pos><3>$ ^focus<n><3>$}$

======================================================================
#time
Weighted:
<rule comment="REGLA: NOM (per a col·locar la cua en les multiparaules amb
g"
^nom<SN><m><ND>{^time<n><ND>$

Unweighted:
<rule  comment="REGLA: DET NOM de NOM // una especie de crédito → a kind of
credit">
^nom<SN><m><sg>{^a<det><ind><3>$ ^time<n><3>$

===============================================================================
#crisis
Weghited:  de las crisis financieras= of the #crisis

<rule comment="PREP">, <rule comment="REGLA: DETERMINANT, <rule
comment="REGLA: NOM (per a col·locar la cua en les multiparaules amb g"

^de<PREP>{^of<pr>$}$ ^det<DET><f><pl>{^the<det><def><pl>$}$
^nom<SN><f><ND>{^crisis<n><ND>$}$

Unweighted:
<rule  comment="REGLA: DET NOM ADJ">
^det_nom_adj<SN><f><pl>{^the<det><def><pl>$ ^financial<adj>$
^crisis<n><3>$}$
=======================================================================================================

thanks in advance,
Sevilay


On Wed, Mar 13, 2019 at 1:37 PM Sevilay Bayatlı <[email protected]>
wrote:

> I think we should not depend on rule's id to solve this issue, please can
> you explain it depend on rule's comments because rules id not right with
> you there are more than 10 rules in ambiguous-branch commented and have id.
>
> hay diferencias evidentes=There are evident differences
>
> Weighted:  <rule id="xx" comment="REGLA: VERB conjugat"> and  <rule
> id="xx" comment="REGLA: NOM ADJ">
>
> output= it #there is evident differences
>
> ^verbcj<SV><vblex><pres><p3><sg>{^there<vblex><pres><p3><sg> is$}$
>
> unweighted output:
>
> ^Haverhi<SV><vbser><pri><p3><ND>{^there<adv>$ ^be<vbser><pri><p3><5>$}$
> ^nom<SN><f><pl>{^difference<n><3>$}$^punt<sent>{^.<sent>$}$
>
> Sevilay
>
>
> On Wed, Mar 13, 2019 at 1:04 PM Francis Tyers <[email protected]> wrote:
>
>> El 2019-03-13 09:06, Sevilay Bayatlı escribió:
>> > ok but in both systems different rules applying, in unweighted 35
>> > applying  and in weighted 37 applying
>> >
>> > Sevilay
>> >
>> > On Wed, Mar 13, 2019 at 12:02 PM Francis Tyers <[email protected]>
>> > wrote:
>> >
>> >> El 2019-03-13 08:28, Sevilay Bayatlı escribió:
>> >>> Please are there any problem in the applying rules or in rules
>> >>> themselves for new system (Weighted), I dont see problem with
>> >> applying
>> >>> rules but I am not sure if there is problem in  rule itself or not
>> >>>
>> >>> #there
>> >>> #crisis
>> >>> ============================================================
>> >>> hay diferencias evidentes=There are evident differences
>> >>>
>> >>> Weighted:  <rule id="37" comment="REGLA: VERB conjugat"> and
>> >> <rule
>> >>> id="14" comment="REGLA: NOM ADJ">
>> >>>
>> >>> output= it #there is evident differences
>> >>>
>> >>> ^verbcj<SV><vblex><pres><p3><sg>{^there<vblex><pres><p3><sg> is$}$
>> >>>
>> >>> Unweighted:
>> >>>
>> >>> echo "hay diferencias"| apertium -d . spa-eng-chunker
>> >>>
>> >>> apertium-transfer: Rule 35 hay<vblex><pri><p3><sg>/there
>> >>> is<vblex><pri><p3><sg>
>> >>>
>> >>> apertium-transfer: Rule 1 diferencia<n><f><pl>/difference<n><pl>
>> >>>
>> >>> apertium-transfer: Rule 114 .<sent>/.<sent>
>> >>> ^Haverhi<SV><vbser><pri><p3><ND>{^there<adv>$
>> >>> ^be<vbser><pri><p3><5>$}$
>> >>> ^nom<SN><f><pl>{^difference<n><3>$}$^punt<sent>{^.<sent>$}$###
>> >>
>> >> Here is your answer:
>> >>
>> >> Your code is doing:
>> >>
>> >> ^verbcj<SV><vblex><pres><p3><sg>{^there<vblex><pres><p3><sg> is$}$
>> >>
>> >> The unweighted code is doing:
>> >>
>> >> ^verbcj<SV><vblex><pres><p3><sg>{^there is<vblex><pres><p3><sg>$}$
>> >>
>> >> Make the weighted code do the same as the unweighted code.
>> >>
>>     <rule id="35" comment="REGLA: DET ADV ADJECTIU (per a fer comparatius
>> i superlatius: 'la més gran - the biggest; la més important - the most
>> important')">
>>
>> <rule id="37" comment="REGLA: el (num)%">
>>
>> How can these rules apply to that verb pattern?
>>
>> F.
>>
>
_______________________________________________
Apertium-stuff mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/apertium-stuff

Reply via email to