commit 0a9f9dc12a77de2c5bb5654f9adc40c66c25660f Author: koguzhan Date: Sat Jun 22 13:45:53 2019 +0200 some rules for adjs and interjs diff --git a/apertium-kir.kir.rlx b/apertium-kir.kir.rlx index 726cd88..8bd29e8 100644 --- a/apertium-kir.kir.rlx +++ b/apertium-kir.kir.rlx @@ -16,6 +16,8 @@ LIST Past = past ; LIST Vadj = vadj vadj_past ; LIST Vaux = vaux ; LIST Verb = v ; +LIST Num = num ; +LIST Interj = ij ; LIST Vb-or-Aux = v vaux ; LIST Part = prc_plan prt_cond prt_perf prt_impf prt_vol prt_irre prt_ala ; LIST PartIrre = prt_irre ; @@ -133,6 +135,20 @@ REMOVE Finite IF SELECT Cop IF (-1 PrcCop) ; +#If an adjective is right before a numeral + noun it is an adjective for sure + +SELECT Adj IF (1C Num) (2C Noun) ; + +## select Adj if inbetween nouns +SELECT Adj IF (-1 Noun) (1 Noun) ; + +## select Adj if before copula (idi, iken) +SELECT Adj IF (1 Cop) ; + + +#interjections +REMOVE Interj IF (1 Verb) ; +REMOVE Interj IF (NOT -1 BOS) (NOT 1 EOS) ; # бат