I am trying to implement a verb-attached preposition phrases in prolog.
So I've got:
VP -> Vbar
Vbar -> v, PP
PP -> Pbar
Pbar -> prep,np
the problem is when I try to phrase something like "Mary saw Tom with a telescope". There would be an error.
Can someone please give me some idea how to fix it?
Also can anyone please give me an idea how to implement the semantic of the Verb-attach prepositional phrase?