diff options
| author | aarne <aarne@cs.chalmers.se> | 2008-11-14 15:42:09 +0000 |
|---|---|---|
| committer | aarne <aarne@cs.chalmers.se> | 2008-11-14 15:42:09 +0000 |
| commit | f2a5937120e4c9d0e633f252b50a008746422a07 (patch) | |
| tree | ca516182be40a7b91ef075213889b350adca2f54 /next-lib/src/english | |
| parent | e1662cd85178cb287581fb93cf796edc8d02a48a (diff) | |
added ConjRS and things needed for it
Diffstat (limited to 'next-lib/src/english')
| -rw-r--r-- | next-lib/src/english/ConjunctionEng.gf | 26 |
1 files changed, 5 insertions, 21 deletions
diff --git a/next-lib/src/english/ConjunctionEng.gf b/next-lib/src/english/ConjunctionEng.gf index 269ae5f80..758041c0c 100644 --- a/next-lib/src/english/ConjunctionEng.gf +++ b/next-lib/src/english/ConjunctionEng.gf @@ -17,28 +17,9 @@ concrete ConjunctionEng of Conjunction = isPre = ss.isPre } ; -{---b - - ConjS = conjunctSS ; - DConjS = conjunctDistrSS ; - - ConjAdv = conjunctSS ; - DConjAdv = conjunctDistrSS ; - - ConjNP conj ss = conjunctTable Case conj ss ** { - a = conjAgr (agrP3 conj.n) ss.a - } ; - DConjNP conj ss = conjunctDistrTable Case conj ss ** { - a = conjAgr (agrP3 conj.n) ss.a - } ; - - ConjAP conj ss = conjunctTable Agr conj ss ** { - isPre = ss.isPre - } ; - DConjAP conj ss = conjunctDistrTable Agr conj ss ** { - isPre = ss.isPre + ConjRS conj ss = conjunctDistrTable Agr conj ss ** { + c = ss.c } ; --} -- These fun's are generated from the list cat's. @@ -50,11 +31,14 @@ concrete ConjunctionEng of Conjunction = ConsNP xs x = consrTable Case comma xs x ** {a = conjAgr xs.a x.a} ; BaseAP x y = twoTable Agr x y ** {isPre = andB x.isPre y.isPre} ; ConsAP xs x = consrTable Agr comma xs x ** {isPre = andB xs.isPre x.isPre} ; + BaseRS x y = twoTable Agr x y ** {c = y.c} ; + ConsRS xs x = consrTable Agr comma xs x ** {c = xs.c} ; lincat [S] = {s1,s2 : Str} ; [Adv] = {s1,s2 : Str} ; [NP] = {s1,s2 : Case => Str ; a : Agr} ; [AP] = {s1,s2 : Agr => Str ; isPre : Bool} ; + [RS] = {s1,s2 : Agr => Str ; c : Case} ; } |
