From 013f3ce803cac0d6b0d6f100f4561fb8a0e892fe Mon Sep 17 00:00:00 2001 From: aarne Date: Thu, 1 Jun 2006 16:16:18 +0000 Subject: resource examples in tutorial --- doc/tutorial/arithm/ArithmSwe.gf | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 doc/tutorial/arithm/ArithmSwe.gf (limited to 'doc/tutorial/arithm/ArithmSwe.gf') diff --git a/doc/tutorial/arithm/ArithmSwe.gf b/doc/tutorial/arithm/ArithmSwe.gf new file mode 100644 index 000000000..070dcc280 --- /dev/null +++ b/doc/tutorial/arithm/ArithmSwe.gf @@ -0,0 +1,29 @@ +--# -path=.:alltenses:prelude + + +concrete ArithmSwe of Arithm = ArithmI with + (Lang = LangSwe), + (Lex = LexSwe) ; + +{- +concrete ArithmSwe of Arithm = open LangSwe, ParadigmsSwe in { + + lincat + Prop = S ; + Nat = NP ; + + lin + Zero = + UsePN (regPN "noll" neutrum) ; + Succ n = + DetCN (DetSg (SgQuant DefArt) NoOrd) + (ComplN2 (mkN2 (mk2N "efterföljare" "efterföljare") + (mkPreposition "till")) n) ; + Even n = + UseCl TPres ASimul PPos + (PredVP n (UseComp (CompAP (PositA (regA "jämn"))))) ; + And x y = + ConjS and_Conj (BaseS x y) ; + +} +-} \ No newline at end of file -- cgit v1.2.3