From fdec30ac29e55453dff0e395be024012c3bba4a3 Mon Sep 17 00:00:00 2001 From: krasimir Date: Fri, 22 Feb 2008 15:19:58 +0000 Subject: [PATCH] Add AdjectiveBul module --- resource/bulgarian/AdjectiveBul.gf | 36 ++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 resource/bulgarian/AdjectiveBul.gf diff --git a/resource/bulgarian/AdjectiveBul.gf b/resource/bulgarian/AdjectiveBul.gf new file mode 100644 index 00000000..f168913d --- /dev/null +++ b/resource/bulgarian/AdjectiveBul.gf @@ -0,0 +1,36 @@ +concrete AdjectiveBul of Adjective = CatBul ** open ResBul, Prelude in { + lin + PositA a = { + s = \\aform => a.s ! aform ; + isPre = True + } ; + + ComparA a np = { + s = \\aform => "по" ++ "-" ++ a.s ! aform ++ "от" ++ np.s ! Nom ; + isPre = True + } ; + +-- $SuperlA$ belongs to determiner syntax in $Noun$. + + ComplA2 a np = { + s = \\aform => a.s ! aform ++ a.c2 ++ np.s ! Acc ; + isPre = True + } ; + + ReflA2 a = { + s = \\aform => a.s ! aform ++ a.c2 ++ ["себе си"] ; + 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 ; +}