El 2019-03-13 09:02, Francis Tyers escribió:
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:


Oops, I misread:

^Haverhi<SV><vbser><pri><p3><ND>{^there<adv>$ ^be<vbser><pri><p3><5>$}$

This is what it should be outputting.

Fran


_______________________________________________
Apertium-stuff mailing list
Apertium-stuff@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/apertium-stuff

Reply via email to