forked from GitHub/gf-core
peace grammars patched to work with the new API
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user