From c8ceed08efcc0bdc1fcbd89bce643d9f52f0991b Mon Sep 17 00:00:00 2001 From: aarne Date: Wed, 9 Dec 2009 09:47:16 +0000 Subject: moving a few things to deprecated --- .../old-lib/resource/finnish/AdjectiveFin.gf | 40 ++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 deprecated/old-lib/resource/finnish/AdjectiveFin.gf (limited to 'deprecated/old-lib/resource/finnish/AdjectiveFin.gf') diff --git a/deprecated/old-lib/resource/finnish/AdjectiveFin.gf b/deprecated/old-lib/resource/finnish/AdjectiveFin.gf new file mode 100644 index 000000000..78e7d4a7c --- /dev/null +++ b/deprecated/old-lib/resource/finnish/AdjectiveFin.gf @@ -0,0 +1,40 @@ +concrete AdjectiveFin of Adjective = CatFin ** open ResFin, Prelude in { + + flags optimize=all_subs ; -- gfc size from 2864336 to 6786 - i.e. factor 422 + + lin + + PositA a = { + s = \\_ => a.s ! Posit + } ; + 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ä + } + } ; + +-- $SuperlA$ belongs to determiner syntax in $Noun$. + + ComplA2 adj np = { + s = \\isMod,af => + preOrPost isMod (appCompl True Pos adj.c2 np) (adj.s ! Posit ! af) + } ; + + ReflA2 adj = { + s = \\isMod,af => + preOrPost isMod + (appCompl True Pos adj.c2 (reflPron (agrP3 Sg))) (adj.s ! Posit ! af) + } ; + + SentAP ap sc = { + s = \\b,a => ap.s ! b ! a ++ sc.s + } ; + + AdAP ada ap = { + s = \\b,af => ada.s ++ ap.s ! b ! af + } ; + + UseA2 a = a ; + +} -- cgit v1.2.3