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/interlingua/AdjectiveIna.gf | 40 ++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 deprecated/old-lib/resource/interlingua/AdjectiveIna.gf (limited to 'deprecated/old-lib/resource/interlingua/AdjectiveIna.gf') diff --git a/deprecated/old-lib/resource/interlingua/AdjectiveIna.gf b/deprecated/old-lib/resource/interlingua/AdjectiveIna.gf new file mode 100644 index 000000000..02265a8b0 --- /dev/null +++ b/deprecated/old-lib/resource/interlingua/AdjectiveIna.gf @@ -0,0 +1,40 @@ +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 = a ; + +} -- cgit v1.2.3