fix the word order and agreement in SlashV2VNP

This commit is contained in:
krasimir
2008-06-13 21:09:41 +00:00
parent a9cd62799c
commit 6f0f9571bc

View File

@@ -36,8 +36,6 @@ concrete VerbBul of Verb = CatBul ** open Prelude, ResBul, ParadigmsBul in {
insertObj (\\a => ap.s ! aform a.gn Indef (RObj Acc)) insertObj (\\a => ap.s ! aform a.gn Indef (RObj Acc))
(predV v) ** {c2 = v.c2} ; ---- FIXME: agreement with obj.a (predV v) ** {c2 = v.c2} ; ---- FIXME: agreement with obj.a
---- AR guessed these five, copying from Compl(VS,VQ,VV)
-- test: I saw a boy to whom she said that they are here -- test: I saw a boy to whom she said that they are here
SlashV2S v s = insertObj (\\_ => "," ++ "֌" ++ s.s) (predV v) ** {c2 = v.c2} ; SlashV2S v s = insertObj (\\_ => "," ++ "֌" ++ s.s) (predV v) ** {c2 = v.c2} ;
@@ -48,7 +46,7 @@ concrete VerbBul of Verb = CatBul ** open Prelude, ResBul, ParadigmsBul in {
SlashV2V vv vp = SlashV2V vv vp =
insertObj (\\agr => vp.ad ! False ++ "äà" ++ vp.s ! Pres ! Simul ! Pos ! agr ! False ! Perf) insertObj (\\agr => vp.ad ! False ++ "äà" ++ vp.s ! Pres ! Simul ! Pos ! agr ! False ! Perf)
(predV vv) (predV vv)
** {c2 = vv.c2} ; ---- FIXME: agreement with obj.a ** {c2 = vv.c2} ;
-- test: I saw a car whom she wanted to buy -- test: I saw a car whom she wanted to buy
SlashVV vv slash = { SlashVV vv slash = {
@@ -64,21 +62,18 @@ concrete VerbBul of Verb = CatBul ** open Prelude, ResBul, ParadigmsBul in {
} ** {c2 = slash.c2} ; } ** {c2 = slash.c2} ;
-- test: I saw a car whom she begged me to buy -- test: I saw a car whom she begged me to buy
SlashV2VNP vv np slash = SlashV2VNP vv np slash = {
insertObj (\\_ => vv.c2.s ++ np.s ! RObj vv.c2.c) {
s = \\t,a,p,agr,q,asp => s = \\t,a,p,agr,q,asp =>
let let
vv_verb = (predV vv).s ! t ! a ! p ! agr ! q ! asp ; vv_verb = (predV vv).s ! t ! a ! p ! agr ! q ! asp ;
slash_verb = slash.s ! Pres ! Simul ! Pos ! agr ! False ! Perf ; slash_verb = slash.s ! Pres ! Simul ! Pos ! np.a ! False ! Perf ;
in vv_verb ++ slash.ad ! False ++ "äà" ++ slash_verb ; in vv_verb ++ vv.c2.s ++ np.s ! RObj vv.c2.c ++ slash.ad ! False ++ "äà" ++ slash_verb ;
imp = slash.imp ; imp = slash.imp ;
ad = \\_ => [] ; ad = \\_ => [] ;
s2 = slash.s2 ; s2 = slash.s2 ;
subjRole = slash.subjRole subjRole = slash.subjRole
} ** {c2 = slash.c2} ; } ** {c2 = slash.c2} ;
---- END guesses by AR
ComplSlash slash np = { ComplSlash slash np = {
s = slash.s ; s = slash.s ;
imp = slash.imp ; imp = slash.imp ;