From e89fdae2fa1626348d8025824a7469252fa85e42 Mon Sep 17 00:00:00 2001 From: aarne Date: Mon, 22 Jun 2009 15:39:08 +0000 Subject: next-lib renamed to lib, lib to old-lib --- old-lib/resource/english/AdjectiveEng.gf | 38 ++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 old-lib/resource/english/AdjectiveEng.gf (limited to 'old-lib/resource/english/AdjectiveEng.gf') diff --git a/old-lib/resource/english/AdjectiveEng.gf b/old-lib/resource/english/AdjectiveEng.gf new file mode 100644 index 000000000..19dd5dddc --- /dev/null +++ b/old-lib/resource/english/AdjectiveEng.gf @@ -0,0 +1,38 @@ +concrete AdjectiveEng of Adjective = CatEng ** open ResEng, Prelude in { + + lin + + PositA a = { + s = \\_ => a.s ! AAdj Posit ; + isPre = True + } ; + ComparA a np = { + s = \\_ => a.s ! AAdj Compar ++ "than" ++ np.s ! Nom ; + isPre = False + } ; + +-- $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 ; + +} -- cgit v1.2.3