mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-09 04:59:31 -06:00
alternative placement of adverb in TranslateEng.AdvVP: before object. Should increase coverage. After object still the first variant.
This commit is contained in:
@@ -18,6 +18,7 @@ concrete TranslateEng of Translate =
|
||||
VerbEng - [
|
||||
UseCopula, -- just removed: not needed
|
||||
PassV2, -- generalized in Extensions
|
||||
AdvVP, -- more liberal placement of adv
|
||||
ComplVS, SlashV2S, ComplSlash -- Eng exceptions
|
||||
],
|
||||
AdverbEng,
|
||||
@@ -65,6 +66,8 @@ lin
|
||||
SlashV2S vs s = G.SlashV2S vs s | E.SlashBareV2S vs s ;
|
||||
ComplSlash vps np = G.ComplSlash vps np | E.ComplSlashPartLast vps np ;
|
||||
|
||||
AdvVP vp adv = G.AdvVP vp adv | insertObjPre (\\_ => adv.s) vp ; -- I bought a car today | I bought today a car
|
||||
|
||||
PPos = {s = [] ; p = CPos} ;
|
||||
PNeg = {s = [] ; p = CNeg True} | {s = [] ; p = CNeg False} ;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user