un joven italoamericano de 33 años que desde hace seis años vive en el
corredor de la muerte de una cárcel de Virginia

uweighted(apertium):
echo "hace seis años" | apertium -d . spa-eng
Six years ago
<rule id="" comment="REGLA: HACE NUM NOM">
^Hace_num_nom<adv>{^six<num><sp>$ ^year<n><pl>$
^ago<adv>$}$^punt<sent>{^.<sent>$}$

Also when I run it with unweighted(apertium) as below he following rules
are applying
echo "hace . seis . años" | apertium -d . spa-eng
It #do . Six . Years
<rule id="" comment="REGLA: VERB conjugat">
<rule id="" comment="REGLA: NUM">
<rule id="" comment="REGLA: NOM (per a col·locar la cua en les
multiparaules amb g">
^Verbcj<SV><vblex><pres><p3><sg>{^do<vblex><pres><p3><sg>$}$
^punt<sent>{^.<sent>$}$ ^Num<SN><mf><sp>{^six<num><sp>$}$
^punt<sent>{^.<sent>$}$
^Nom<SN><m><pl>{^year<n><3>$}$^punt<sent>{^.<sent>$}$
==================================================================
weighted(apertium-ambiguous):
a youngster *italoamericano of 33 years that from #do six years #live in
the runner of the death of Virginia's prison

 <rule id="" comment="REGLA: VERB conjugat">
<rule id="" comment="REGLA: NUM NOM">

^verbcj<SV><vblex><pres><p3><sg>{^do<vblex><pres><p3><sg>$}$
^num_year<SN><m><pl>{^six<num><sp>$ ^year<n><pl>$}$

echo "un joven italoamericano de 33 años que desde hace seis años vive en
el corredor de la muerte de una cárcel de Virginia"| apertium -d .
spa-eng-biltrans
^uno<det><ind><m><sg>/a<det><ind><sg>$ ^joven<n><mf><sg>/youngster<n><sg>$
^*italoamericano/*italoamericano$ ^de<pr>/of<pr>/from<pr>$
^33<num>/33<num>$ ^año<n><m><pl>/year<n><pl>$
^que<rel><an><mf><sp>/that<rel><an><mf><sp>$ ^desde<pr>/from<pr>$
^hacer<vblex><pri><p3><sg>/do<vblex><pri><p3><sg>$
^seis<num><mf><sp>/six<num><sp>$ ^año<n><m><pl>/year<n><pl>$
^vivir<vblex><pri><p3><sg>/live<vblex><pri><p3><sg>$ ^en<pr>/in<pr>/on<pr>$
^el<det><def><m><sg>/the<det><def><m><sg>$
^corredor<n><m><sg>/runner<n><m><sg>$ ^de<pr>/of<pr>/from<pr>$
^el<det><def><f><sg>/the<det><def><f><sg>$ ^muerte<n><f><sg>/death<n><sg>$
^de<pr>/of<pr>/from<pr>$ ^uno<det><ind><f><sg>/a<det><ind><sg>$
^cárcel<n><f><sg>/prison<n><sg>$ ^de<pr>/of<pr>/from<pr>$
^Virginia<np><ant><f><sg>/Virginia<np><ant><f><sg>$^.<sent>/.<sent>$

so my question here how to solve # problem with word "do"?

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

Reply via email to