mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-29 06:22:51 -06:00
PredChi complete
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
instance PredInstanceChi of
|
||||
PredInterface - [PrVerb,initPrVerb] =
|
||||
PredInterface - [PrVerb,initPrVerb,NounPhrase,appSubjCase,appObjCase] =
|
||||
|
||||
open ResChi, (P = ParadigmsChi), (X = ParamX), (S = SyntaxChi), Prelude in {
|
||||
|
||||
@@ -19,6 +19,10 @@ oper
|
||||
|
||||
} ;
|
||||
|
||||
NounPhrase = {s : Str} ;
|
||||
appSubjCase : NounPhrase -> Str = \np -> np.s ;
|
||||
appObjCase : NounPhrase -> Str = \np -> np.s ;
|
||||
|
||||
|
||||
---------------------
|
||||
-- parameters -------
|
||||
@@ -52,7 +56,7 @@ oper
|
||||
|
||||
ComplCase = Preposition ;
|
||||
|
||||
appComplCase : ComplCase -> NounPhrase -> Str = \p,np -> appPrep p (np.s ! UUnit) ; ---- advType
|
||||
appComplCase : ComplCase -> NounPhrase -> Str = \p,np -> appPrep p np.s ; ---- advType
|
||||
noComplCase : ComplCase = P.mkPrep [] ;
|
||||
strComplCase : ComplCase -> Str = \c -> c.prepPre ++ c.prepPost ;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user