missing rule: Verb.VPSlashPrep, implemented in Eng Scand Ger. Also helped detect a bug and its fix in object insertion in Eng and Scand, which had caused wrong word orders in Verb.Slash2V3 (*he gave to me it). Fix remains to do in Ger, and also the new rule in other languages.

This commit is contained in:
aarne
2012-09-22 21:35:28 +00:00
parent f79838c299
commit 2149c26da2
6 changed files with 23 additions and 13 deletions

View File

@@ -231,10 +231,10 @@ resource ResEng = ParamX ** open Prelude in {
} ;
SlashVP = VP ** {c2 : Str} ;
SlashVP = VP ** {c2 : Str ; gapInMiddle : Bool} ;
predVc : (Verb ** {c2 : Str}) -> SlashVP = \verb ->
predV verb ** {c2 = verb.c2} ;
predV verb ** {c2 = verb.c2 ; gapInMiddle = True} ;
predV : Verb -> VP = \verb -> {
s = \\t,ant,b,ord,agr =>
@@ -338,7 +338,7 @@ resource ResEng = ParamX ** open Prelude in {
} ;
insertObjc : (Agr => Str) -> SlashVP -> SlashVP = \obj,vp ->
insertObj obj vp ** {c2 = vp.c2} ;
insertObj obj vp ** {c2 = vp.c2 ; gapInMiddle = vp.gapInMiddle} ;
--- The adverb should be before the finite verb.