diff options
| author | aarne <aarne@cs.chalmers.se> | 2008-12-18 14:17:42 +0000 |
|---|---|---|
| committer | aarne <aarne@cs.chalmers.se> | 2008-12-18 14:17:42 +0000 |
| commit | 98a4b6a8088273dfa55dfa1c3ea78e85cd9c7a8d (patch) | |
| tree | 21e45db3182648b50f6d88557f33613efab5996a /next-lib/src/arabic/AdjectiveAra.gf | |
| parent | 9d0df9e0b49e06f4e182269f563555e803ff27ac (diff) | |
Arabic compiles now in 1.5
Diffstat (limited to 'next-lib/src/arabic/AdjectiveAra.gf')
| -rw-r--r-- | next-lib/src/arabic/AdjectiveAra.gf | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/next-lib/src/arabic/AdjectiveAra.gf b/next-lib/src/arabic/AdjectiveAra.gf new file mode 100644 index 000000000..f324d95d3 --- /dev/null +++ b/next-lib/src/arabic/AdjectiveAra.gf @@ -0,0 +1,43 @@ +concrete AdjectiveAra of Adjective = CatAra ** open ResAra, Prelude in { + + lin + + + PositA a = { + s = \\h,g,n,d,c => case h of { + Hum => a.s ! APosit g n d c; + NoHum => case n of { + Pl => a.s ! APosit Fem Sg d c ; + _ => a.s ! APosit g n d c + } + } + }; +-- ComparA a np = { +-- s = \\_ => a.s ! AAdj Compar ++ "مِنْ" ++ np.s ! Gen ; +-- } ; +-- +-- $SuperlA$ belongs to determiner syntax in $Noun$. +-- +-- ComplA2 a np = { +-- s = \\_ => a.s ! AAdj Posit ++ a.c2 ++ np.s ! Acc ; +-- isPre = False +-- } ; +-- +-- ReflA2 a = { +-- s = \\ag => a.s ! AAdj Posit ++ a.c2 ++ reflPron ! ag ; +-- isPre = False +-- } ; +-- +-- SentAP ap sc = { +-- s = \\a => ap.s ! a ++ sc.s ; +-- isPre = False +-- } ; +-- +-- AdAP ada ap = { +-- s = \\a => ada.s ++ ap.s ! a ; +-- isPre = ap.isPre +-- } ; +-- +-- UseA2 a = a ; +-- +} |
