(Hun) Fix a few small bugs with discontinous APs

This commit is contained in:
Inari Listenmaa
2020-04-17 19:35:06 +02:00
parent f3726e9c0e
commit 70326b853a
2 changed files with 4 additions and 2 deletions
+3 -1
View File
@@ -20,7 +20,9 @@ lin
let xCont : AP = x ** {s = \\n => x.s ! n ++ x.compar} ;
yCont : AP = y ** {s = \\n => y.s ! n ++ y.compar} ;
in twoTable Number xCont yCont ;
ConsAP = consrTable Number comma ;
ConsAP a as =
let aCont : AP = a ** {s = \\n => a.s ! n ++ a.compar} ;
in consrTable Number comma aCont as ;
ConjAP co as = conjunctDistrTable Number co as ** {compar = []} ;
-- Noun phrases