mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-01 23:32:51 -06:00
Jordi's addition to Combinators api: appCN and appCNc
This commit is contained in:
@@ -1,6 +1,15 @@
|
||||
--# -path=.:alltenses:prelude
|
||||
|
||||
resource CombinatorsGer = Combinators with
|
||||
resource CombinatorsGer = Combinators - [appCN, appCNc] with
|
||||
(Cat = CatGer),
|
||||
(Structural = StructuralGer),
|
||||
(Constructors = ConstructorsGer) ;
|
||||
(Noun = NounGer),
|
||||
(Constructors = ConstructorsGer) **
|
||||
{
|
||||
oper
|
||||
appCN : CN -> NP -> NP
|
||||
= \cn,x -> mkNP the_Art (PossNP cn x) ;
|
||||
appCNc : CN -> [NP] -> NP
|
||||
= \cn,xs -> let np : NP = mkNP and_Conj xs
|
||||
in mkNP the_Art (PossNP cn np) ;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user