From 9b636333297ef49caece5ddb523e4bef7b8aea83 Mon Sep 17 00:00:00 2001 From: aarne Date: Fri, 13 Mar 2009 16:05:13 +0000 Subject: interlingua updated for new resource --- next-lib/src/interlingua/AdjectiveIna.gf | 44 ++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 next-lib/src/interlingua/AdjectiveIna.gf (limited to 'next-lib/src/interlingua/AdjectiveIna.gf') diff --git a/next-lib/src/interlingua/AdjectiveIna.gf b/next-lib/src/interlingua/AdjectiveIna.gf new file mode 100644 index 000000000..4b54a3cfe --- /dev/null +++ b/next-lib/src/interlingua/AdjectiveIna.gf @@ -0,0 +1,44 @@ +concrete AdjectiveIna of Adjective = CatIna ** open ResIna, Prelude in { + + lin + + PositA a = { + s = \\_ => a.s ! AAdj Posit ; +-- isPre = a.isPre -- TODO: support adjectives that can be optionally placed before. + isPre = False + } ; + + ComparA a np = { + s = \\_ => a.s ! AAdj Compar ++ "que" ++ 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 = { + s = \\_ => a.s ! AAdj Posit ; +-- isPre = a.isPre -- TODO: support adjectives that can be optionally placed before. + isPre = False + } ; + +} -- cgit v1.2.3