diff --git a/resource/api/Constructors.gf b/resource/api/Constructors.gf index b08a63ee..b1a94f99 100644 --- a/resource/api/Constructors.gf +++ b/resource/api/Constructors.gf @@ -1005,6 +1005,8 @@ incomplete resource Constructors = open Grammar in { = \d,n -> DetCN d (UseN n) ; mkNP : Quant -> NP -- this = \q -> DetNP (DetQuant q sgNum) ; + mkNP : Quant -> Num -> NP -- this + = \q,n -> DetNP (DetQuant q n) ; mkNP : Det -> NP -- this = DetNP ; mkNP : Card -> CN -> NP -- forty-five old men @@ -1632,6 +1634,11 @@ incomplete resource Constructors = open Grammar in { ComplV2A : V2A -> NP -> AP -> VP = \v,np,ap -> ComplSlash (SlashV2A v ap) np ; ComplV3 : V3 -> NP -> NP -> VP = \v,o,d -> ComplSlash (Slash2V3 v o) d ; + that_NP : NP = DetNP (DetQuant that_Quant sgNum) ; + this_NP : NP = DetNP (DetQuant this_Quant sgNum) ; + those_NP : NP = DetNP (DetQuant that_Quant plNum) ; + these_NP : NP = DetNP (DetQuant this_Quant plNum) ; + {- -- The definite and indefinite articles are commonly used determiners.