diff options
| author | aarne <aarne@cs.chalmers.se> | 2008-10-03 20:42:09 +0000 |
|---|---|---|
| committer | aarne <aarne@cs.chalmers.se> | 2008-10-03 20:42:09 +0000 |
| commit | 24207d40e9cb56173de22d9a424975f0da0bc416 (patch) | |
| tree | 2c221dc4e6f9f7a4d665fe118e0cda12d3ea7290 /next-lib/src/finnish/AdjectiveFin.gf | |
| parent | 27de3c0e7b13a4674cf5829ccbb00b118e916ae8 (diff) | |
extended AP with Ord and compar in 1.5
Diffstat (limited to 'next-lib/src/finnish/AdjectiveFin.gf')
| -rw-r--r-- | next-lib/src/finnish/AdjectiveFin.gf | 21 |
1 files changed, 15 insertions, 6 deletions
diff --git a/next-lib/src/finnish/AdjectiveFin.gf b/next-lib/src/finnish/AdjectiveFin.gf index 78e7d4a7c..737887d17 100644 --- a/next-lib/src/finnish/AdjectiveFin.gf +++ b/next-lib/src/finnish/AdjectiveFin.gf @@ -5,26 +5,33 @@ concrete AdjectiveFin of Adjective = CatFin ** open ResFin, Prelude in { lin PositA a = { - s = \\_ => a.s ! Posit + s = \\_,nf => a.s ! Posit ! AN nf } ; ComparA a np = { s = \\isMod,af => case isMod of { - True => np.s ! NPCase Part ++ a.s ! Compar ! af ; -- minua isompi - _ => a.s ! Compar ! af ++ "kuin" ++ np.s ! NPCase Nom -- isompi kuin minä + True => np.s ! NPCase Part ++ a.s ! Compar ! AN af ; -- minua isompi + _ => a.s ! Compar ! AN af ++ "kuin" ++ np.s ! NPCase Nom -- isompi kuin minä } } ; + UseComparA a = { + s = \\_,nf => a.s ! Compar ! AN nf ; + } ; -- $SuperlA$ belongs to determiner syntax in $Noun$. + AdjOrd ord = { + s = \\_ => ord.s + } ; + ComplA2 adj np = { s = \\isMod,af => - preOrPost isMod (appCompl True Pos adj.c2 np) (adj.s ! Posit ! af) + preOrPost isMod (appCompl True Pos adj.c2 np) (adj.s ! Posit ! AN af) } ; ReflA2 adj = { s = \\isMod,af => preOrPost isMod - (appCompl True Pos adj.c2 (reflPron (agrP3 Sg))) (adj.s ! Posit ! af) + (appCompl True Pos adj.c2 (reflPron (agrP3 Sg))) (adj.s ! Posit ! AN af) } ; SentAP ap sc = { @@ -35,6 +42,8 @@ concrete AdjectiveFin of Adjective = CatFin ** open ResFin, Prelude in { s = \\b,af => ada.s ++ ap.s ! b ! af } ; - UseA2 a = a ; + UseA2 a = { + s = \\_,nf => a.s ! Posit ! AN nf + } ; } |
