(Kor) SC, PredSCVP

This commit is contained in:
Inari Listenmaa committed 2020-04-01 18:44:52 +02:00
1 parent c23016aaad
commit cd9dd6bdc7
2 files changed
+10 -7

No files matched your search

+5 -2
View File
@@ -316,13 +316,16 @@ oper
Sentence : Type = {s : ClType => Str} ;
predVP : NounPhrase -> VerbPhrase -> ClSlash = \np,vp -> vp ** {
predVP : NounPhrase -> VerbPhrase -> ClSlash = \np,vp ->
let npstr : Str = np.s ! vp.sc in predVP' npstr vp ;
predVP' : (np : Str) -> VerbPhrase -> ClSlash = \np,vp -> vp ** {
s = \\t,a,p,cltyp =>
let vf = case cltyp of {
Subord => VAttr p ;
WithConj => VStem ;
_ => VF Polite p } -- TODO: more tenses, politeness
in np.s ! vp.sc
in np
++ vp.nObj -- an object, not copula complement
++ vp.adv
++ vp.s ! vf