summaryrefslogtreecommitdiff
path: root/next-lib/src/abstract
diff options
context:
space:
mode:
authoraarne <aarne@cs.chalmers.se>2008-11-14 15:42:09 +0000
committeraarne <aarne@cs.chalmers.se>2008-11-14 15:42:09 +0000
commitf2a5937120e4c9d0e633f252b50a008746422a07 (patch)
treeca516182be40a7b91ef075213889b350adca2f54 /next-lib/src/abstract
parente1662cd85178cb287581fb93cf796edc8d02a48a (diff)
added ConjRS and things needed for it
Diffstat (limited to 'next-lib/src/abstract')
-rw-r--r--next-lib/src/abstract/Conjunction.gf19
1 files changed, 6 insertions, 13 deletions
diff --git a/next-lib/src/abstract/Conjunction.gf b/next-lib/src/abstract/Conjunction.gf
index 4c2183919..3c40fe1f0 100644
--- a/next-lib/src/abstract/Conjunction.gf
+++ b/next-lib/src/abstract/Conjunction.gf
@@ -17,15 +17,11 @@ abstract Conjunction = Cat ** {
--2 Rules
fun
- ConjS : Conj -> [S] -> S ; -- "he walks and she runs"
- ConjAP : Conj -> [AP] -> AP ; -- "cold and warm"
- ConjNP : Conj -> [NP] -> NP ; -- "she or we"
- ConjAdv : Conj -> [Adv] -> Adv ; -- "here or there"
-
----b DConjS : DConj -> [S] -> S ; -- "either he walks or she runs"
----b DConjAP : DConj -> [AP] -> AP ; -- "both warm and cold"
----b DConjNP : DConj -> [NP] -> NP ; -- "either he or she"
----b DConjAdv : DConj -> [Adv] -> Adv; -- "both here and there"
+ ConjS : Conj -> [S] -> S ; -- "he walks and she runs"
+ ConjRS : Conj -> [RS] -> RS ; -- "who walks and whose mother runs"
+ ConjAP : Conj -> [AP] -> AP ; -- "cold and warm"
+ ConjNP : Conj -> [NP] -> NP ; -- "she or we"
+ ConjAdv : Conj -> [Adv] -> Adv ; -- "here or there"
--2 Categories
@@ -33,6 +29,7 @@ abstract Conjunction = Cat ** {
cat
[S]{2} ;
+ [RS]{2} ;
[Adv]{2} ;
[NP]{2} ;
[AP]{2} ;
@@ -46,7 +43,3 @@ abstract Conjunction = Cat ** {
-- ConsC : C -> [C] -> [C] ;
}
---.
--- *Note*. This module uses right-recursive lists. If backward
--- compatibility with API 0.9 is needed, use
--- [SeqConjunction SeqConjunction.html].