mirror of
https://github.com/GrammaticalFramework/gf-rgl.git
synced 2026-05-28 09:28:54 -06:00
(Hun) Fix a few small bugs with discontinous APs
This commit is contained in:
@@ -20,7 +20,9 @@ lin
|
|||||||
let xCont : AP = x ** {s = \\n => x.s ! n ++ x.compar} ;
|
let xCont : AP = x ** {s = \\n => x.s ! n ++ x.compar} ;
|
||||||
yCont : AP = y ** {s = \\n => y.s ! n ++ y.compar} ;
|
yCont : AP = y ** {s = \\n => y.s ! n ++ y.compar} ;
|
||||||
in twoTable Number xCont yCont ;
|
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 = []} ;
|
ConjAP co as = conjunctDistrTable Number co as ** {compar = []} ;
|
||||||
|
|
||||||
-- Noun phrases
|
-- Noun phrases
|
||||||
|
|||||||
@@ -169,7 +169,7 @@ concrete NounHun of Noun = CatHun ** open ResHun, Prelude, Coordination in {
|
|||||||
|
|
||||||
-- : AP -> CN -> CN
|
-- : AP -> CN -> CN
|
||||||
AdjCN ap cn = cn ** {
|
AdjCN ap cn = cn ** {
|
||||||
s = \\n,c => ap.s ! Sg ++ cn.s ! n ! c
|
s = \\n,c => ap.s ! Sg ++ cn.s ! n ! c ++ ap.compar
|
||||||
} ;
|
} ;
|
||||||
|
|
||||||
-- : CN -> RS -> CN ;
|
-- : CN -> RS -> CN ;
|
||||||
|
|||||||
Reference in New Issue
Block a user