Adverbs like [right, just, back, up, down, out, over, on] can precede a PP, especially a locative PP:
It is right around the corner.
It is over by the window.
They nursed me back to health.
In the above cases, I am inclined to view the adverb as modifying the PP, and so I would attach it to the object of the preposition. This is consistent with some EWT annotations.
But in many cases the headedness is reversed, with the PP modifying the adverb.
(Note: There are other ADV+PP cases that can be analyzed with both the adverb and the PP attaching to the verb, e.g. "He got up from his seat.")
(Once the above adverbs are addressed, examine the others that are in the same syntactic environment: "way", "straight", "directly" and so on can also modify paths.)
Adverbs like [right, just, back, up, down, out, over, on] can precede a PP, especially a locative PP:
In the above cases, I am inclined to view the adverb as modifying the PP, and so I would attach it to the object of the preposition. This is consistent with some EWT annotations. But in many cases the headedness is reversed, with the PP modifying the adverb.
(Note: There are other ADV+PP cases that can be analyzed with both the adverb and the PP attaching to the verb, e.g. "He got up from his seat.")