polish: put the AdvVP adverbial after the verb

AdvVP built its result with setPrefix, so the adverbial landed before the
verb. Polish is neutrally SVO, and this matters beyond adverbs proper: an
object reached through PrepNP arrives at AdvVP as an Adv, so a two-place
verb came out as *"π zbiór pusty przecina" rather than "π przecina zbiór
pusty". Both orders are grammatical, but the preverbal one topicalizes.

"śpi tutaj" is as good as "tutaj śpi", so the RGL's own example is
unaffected.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
aarneranta
2026-07-16 19:50:20 +02:00
parent 8c4cd58bd1
commit 363219730e
+5 -1
View File
@@ -28,7 +28,11 @@ lin
vps.sufix!p!gn ++ vps.c.s ++ np.dep !(npcase !<p,vps.c.c>) ++ vps.postfix!p!gn);
-- AdvVP : VP -> Adv -> VP ; -- sleep here
AdvVP vp adv = setPrefix vp (vp.prefix ++ adv.s);
-- the adverbial follows the verb: Polish is neutrally SVO ("śpi tutaj",
-- "przecina zbiór pusty"), and putting it in the prefix topicalizes it.
-- This matters because an object reached through PrepNP arrives here as
-- an Adv, and *"π zbiór pusty przecina" is marked at best.
AdvVP vp adv = setSufix vp (\\p,gn => vp.sufix ! p ! gn ++ adv.s);
-- AdVVP : AdV -> VP -> VP ; -- always sleep
AdVVP adV vp = setPrefix vp (vp.prefix ++ adV.s);