summaryrefslogtreecommitdiff
path: root/next-lib/src/german/ConjunctionGer.gf
diff options
context:
space:
mode:
authoraarne <aarne@cs.chalmers.se>2008-09-22 12:24:28 +0000
committeraarne <aarne@cs.chalmers.se>2008-09-22 12:24:28 +0000
commit766852a64c9816f073100ff720cf7bafab39c043 (patch)
tree8aedd62fb0d8b24d84f2640087b2e958c1ced043 /next-lib/src/german/ConjunctionGer.gf
parent69b96e87ee361b1f95b8de566ef98c3789c53705 (diff)
adapted German to 1.5
Diffstat (limited to 'next-lib/src/german/ConjunctionGer.gf')
-rw-r--r--next-lib/src/german/ConjunctionGer.gf59
1 files changed, 59 insertions, 0 deletions
diff --git a/next-lib/src/german/ConjunctionGer.gf b/next-lib/src/german/ConjunctionGer.gf
new file mode 100644
index 000000000..d46a32839
--- /dev/null
+++ b/next-lib/src/german/ConjunctionGer.gf
@@ -0,0 +1,59 @@
+concrete ConjunctionGer of Conjunction =
+ CatGer ** open ResGer, Coordination, Prelude in {
+
+ flags optimize=all_subs ;
+
+ lin
+
+ ConjS conj ss = conjunctDistrTable Order conj ss ;
+
+ ConjAdv conj ss = conjunctDistrSS conj ss ;
+
+ ConjNP conj ss = conjunctDistrTable Case conj ss ** {
+ a = {g = Fem ; n = conjNumber conj.n ss.a.n ; p = ss.a.p}
+ } ;
+
+ ConjAP conj ss = conjunctDistrTable AForm conj ss ** {
+ isPre = ss.isPre
+ } ;
+
+{- ---b
+ ConjS conj ss = conjunctTable Order conj ss ;
+ DConjS conj ss = conjunctDistrTable Order conj ss ;
+
+ ConjAdv conj ss = conjunctSS conj ss ;
+ DConjAdv conj ss = conjunctDistrSS conj ss ;
+
+ ConjNP conj ss = conjunctTable Case conj ss ** {
+ a = {g = Fem ; n = conjNumber conj.n ss.a.n ; p = ss.a.p}
+ } ;
+ DConjNP conj ss = conjunctDistrTable Case conj ss ** {
+ a = {g = Fem ; n = conjNumber conj.n ss.a.n ; p = ss.a.p}
+ } ;
+
+ ConjAP conj ss = conjunctTable AForm conj ss ** {
+ isPre = ss.isPre
+ } ;
+ DConjAP conj ss = conjunctDistrTable AForm conj ss ** {
+ isPre = ss.isPre
+ } ;
+-}
+
+-- These fun's are generated from the list cat's.
+
+ BaseS = twoTable Order ;
+ ConsS = consrTable Order comma ;
+ BaseAdv = twoSS ;
+ ConsAdv = consrSS comma ;
+ BaseNP x y = twoTable Case x y ** {a = conjAgr x.a y.a} ;
+ ConsNP xs x = consrTable Case comma xs x ** {a = conjAgr xs.a x.a} ;
+ BaseAP x y = twoTable AForm x y ** {isPre = andB x.isPre y.isPre} ;
+ ConsAP xs x = consrTable AForm comma xs x ** {isPre = andB xs.isPre x.isPre} ;
+
+ lincat
+ [S] = {s1,s2 : Order => Str} ;
+ [Adv] = {s1,s2 : Str} ;
+ [NP] = {s1,s2 : Case => Str ; a : Agr} ;
+ [AP] = {s1,s2 : AForm => Str ; isPre : Bool} ;
+
+}