| 1 |
|
| 2 |
This sentence, gets the wrong rule called (with rules.estació): |
| 3 |
|
| 4 |
[]^Aquest<det><dem><f><sg>/This<det><dem><f><sg>$ ^selva<n><f><sg>/jungle<n><sg>$ ^també<adv>/also<adv>$ ^es<prn><pro><ref><p3><mf><sp>/$ ^anar<vblex><pri><p3><sg>/go<vblex><pri><p3><sg>$ ^veure<vblex><inf>/see<vblex><inf>$ ^destruir<vblex><pp><f><sg>/destroy<vblex><pp><f><sg>$ ^en gran part<adv>/largely<adv>$ ^per<pr>/for<pr>/by<pr>$ ^el<det><def><m><sg>/the<det><def><m><sg>$ ^foc<n><m><sg>/fire<n><sg>$ ^forestal<adj><mf><sg>/forest<adj><sg>$ ^de<pr>/of<pr>/from<pr>$ ^1997<num>/1997<num>$^-<guio>/-<guio>$^1998<num>/1998<num>$^,<cm>/,<cm>$ ^deure<vblex><pp><m><sg>/owe<vblex><pp><m><sg>$ ^a<pr>/at<pr>/to<pr>/in<pr>/upon<pr>/into<pr>/onto<pr>$ ^causa<n><f><pl>/cause<n><pl>$ ^humà<adj><f><pl>/@humà<adj><f><pl>$ ^i<cnjcoo>/and<cnjcoo>$ ^que<cnjsub>/that<cnjsub>$ ^aparentment<adv>/apparently<adv>$ ^anar<vblex><pri><p3><sg>/go<vblex><pri><p3><sg>$ ^coincidir<vblex><inf>/coincide<vblex><inf>/agree<vblex><inf>$ ^amb<pr>/with<pr>$ ^un<det><ind><f><sg>/a<det><ind><sg>$ ^estació<n><f><sg>/season<n><sg>/station<n><sg>$ ^extremadament<adv>/extremely<adv>$ ^sec<adj><f><sg>/dry<adj><sint><f><sg>$ ^per<pr>/for<pr>/by<pr>$ ^efecte<n><m><sg>/effect<n><sg>$ ^de<pr>/of<pr>/from<pr>$ ^El<det><def><m><sg>/The<det><def><m><sg>$ ^*Niño/*Niño$^.<sent>/.<sent>$[] |
| 5 |
|
| 6 |
|
| 7 |
====================================================================================== |
| 8 |
|
| 9 |
<!-- In my opinion, it should be crystal clear, and this is not included in the |
| 10 |
present texts, that the EU has autonomous power of decision and that the EU |
| 11 |
countries must be able to decide for themselves on their level of commitment, |
| 12 |
without needing permission from NATO - or should that be the US? Pienso que debe |
| 13 |
quedar muy claro, y eso no ocurre en los textos actuales, que la UE tiene |
| 14 |
capacidad de decisión autónoma y que los países de la UE deben poder decidir |
| 15 |
por sí mismos sobre la intervención sin la autorización de la OTAN, es decir, de |
| 16 |
los EE.UU. --> |
| 17 |
|
| 18 |
<rule> |
| 19 |
<match lemma="power" tags="n.*"> |
| 20 |
<select lemma="capacidad" tags="n.*"/> |
| 21 |
</match> |
| 22 |
<match lemma="of" tags="pr"/> |
| 23 |
<match/> |
| 24 |
<match lemma="decision" tags="*"/> |
| 25 |
</rule> |
| 26 |
|
| 27 |
^The<det><def><sp>/El<det><def><GD><ND>$ ^power<n><sg>/poder<n><m><sg>/energía<n><f><sg>/potencia<n><f><sg>/facultad<n><f><sg>/capacidad<n><f><sg>/competencia<n><f><sg>$ ^of<pr>/de<pr>$ ^decision<n><sg>/decisión<n><f><sg>$ ^prove<vblex><past>/probar<vblex><past>$ ^to<pr>/a<pr>$ ^be<vbser><inf>/ser<vbser><inf>$ ^*decisivie/*decisivie$^.<sent>/.<sent>$^.<sent>/.<sent>$ |
| 28 |
|
| 29 |
|
| 30 |
====================================================================================== |
| 31 |
|
| 32 |
Input |
| 33 |
|
| 34 |
^Mikä<Pron><Interr><Sg><Ess>/Mii<Pron><Interr><Sg><Ess>$ ^pitää<V><Act><Ind><Prs><Sg1>/berret<V><IV><Ind><Prs><Sg1>/liikot<V><IV><Ind><Prs><Sg1>/doallat<V><TV><Ind><Prs><Sg1>/coakcut<V><IV><Ind><Prs><Sg1>$ ^sinä<Pron><Pers><Sg><Ela>/don<Pron><Pers><Sg2><Sg><Ela>$^.<Punct>/@.<Punct>$ |
| 35 |
|
| 36 |
|
| 37 |
<rules> |
| 38 |
<rule> |
| 39 |
<match lemma="pitää" tags="V.*"> |
| 40 |
<select lemma="liikot" tags="V.*"/> |
| 41 |
</match> |
| 42 |
<match lemma="sinä" tags="Pron.Pers.Sg.*"/> |
| 43 |
</rule> |
| 44 |
|
| 45 |
<rule> |
| 46 |
<match lemma="pitää" tags="V.*"> |
| 47 |
<select lemma="doallat" tags="V.*"/> |
| 48 |
</match> |
| 49 |
</rule> |
| 50 |
|
| 51 |
|
| 52 |
</rules> |
| 53 |
|
| 54 |
|
| 55 |
== |
| 56 |
|
| 57 |
Make the 'any alphabetic character' regex nicer |
| 58 |
|