PredChi complete

This commit is contained in:
aarne
2014-03-06 07:28:34 +00:00
parent 189318bf25
commit abc6d5c58b
5 changed files with 145 additions and 11 deletions

View File

@@ -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 ;