From 710c0222af10600b728534e9bd4f213233a11eb1 Mon Sep 17 00:00:00 2001 From: krasimir Date: Fri, 22 Feb 2008 15:19:58 +0000 Subject: [PATCH] Add AdjectiveBul module --- lib/resource/bulgarian/AdjectiveBul.gf | 36 ++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 lib/resource/bulgarian/AdjectiveBul.gf diff --git a/lib/resource/bulgarian/AdjectiveBul.gf b/lib/resource/bulgarian/AdjectiveBul.gf new file mode 100644 index 000000000..f168913d2 --- /dev/null +++ b/lib/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 ; +}