From 96f86d53ac6f5f32b15bab0c669776f21ae31dbf Mon Sep 17 00:00:00 2001 From: krasimir Date: Sat, 12 Sep 2009 13:36:33 +0000 Subject: [PATCH] add dummy SymbolRon.gf --- lib/src/romanian/SymbolRon.gf | 44 +++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 lib/src/romanian/SymbolRon.gf diff --git a/lib/src/romanian/SymbolRon.gf b/lib/src/romanian/SymbolRon.gf new file mode 100644 index 000000000..1177f345c --- /dev/null +++ b/lib/src/romanian/SymbolRon.gf @@ -0,0 +1,44 @@ +--# -path=.:abstract:common + +concrete SymbolRon of Symbol = CatRon ** open Prelude, ResRon in { +{- +lin + SymbPN i = {s = addGenitiveS i.s ; g = Neutr} ; + IntPN i = {s = addGenitiveS i.s ; g = Neutr} ; + FloatPN i = {s = addGenitiveS i.s ; g = Neutr} ; + NumPN i = {s = i.s ; g = Neutr} ; + CNIntNP cn i = { + s = \\c => cn.s ! Sg ! Nom ++ (addGenitiveS i.s) ! c ; + a = agrgP3 Sg cn.g + } ; + CNSymbNP det cn xs = { + s = \\c => det.s ++ cn.s ! det.n ! Nom ++ (addGenitiveS xs.s) ! c ; + a = agrgP3 det.n cn.g + } ; + CNNumNP cn i = { + s = \\c => cn.s ! Sg ! Nom ++ i.s ! c ; + a = agrgP3 Sg cn.g + } ; + + SymbS sy = sy ; + + SymbNum sy = { s = addGenitiveS sy.s ; n = Pl ; hasCard = True } ; + SymbOrd sy = { s = \\c => sy.s ++ (regGenitiveS "th")!c} ; + +lincat + + Symb, [Symb] = SS ; + +lin + MkSymb s = s ; + + BaseSymb = infixSS "and" ; + ConsSymb = infixSS "," ; + +oper + -- Note: this results in a space before 's, but there's + -- not mauch we can do about that. + addGenitiveS : Str -> Case => Str = \s -> + table { Gen => s ++ "'s"; _ => s } ; +-} +}