mirror of
https://github.com/GrammaticalFramework/gf-rgl.git
synced 2026-06-28 12:26:30 -06:00
Ara: improving Adj inflection by identifying fcl patterns from concrete forms
This commit is contained in:
@@ -153,7 +153,8 @@ oper
|
||||
w + "ف" + x + "ع" + y + "ل" + z
|
||||
=> { h = w ; m1 = x; m2 = y; t = z} ;
|
||||
w + "ف" + x + ("ع"|"ل") + y
|
||||
=> { h = w ; m1 = x; m2 = ""; t = y}
|
||||
=> { h = w ; m1 = x; m2 = ""; t = y} ;
|
||||
_ => Predef.error("cannot get FCL pattern from" ++ pat)
|
||||
} ;
|
||||
|
||||
--opers to interdigitize (make words out of roots and patterns:
|
||||
@@ -204,7 +205,8 @@ oper
|
||||
=> mkAssimilated pat (mkRoot3 rS) ;
|
||||
? + ? + _ => mkBilit pat (mkRoot2 rS) ; --2=>
|
||||
_=> error rS ---- AR error "expected 3--6"
|
||||
}
|
||||
} ;
|
||||
_ => Predef.error("cannot get FCL pattern from" ++ pS)
|
||||
};
|
||||
|
||||
-----------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user