Parse phrasal verbs

Has anyone ever tried to parse phrasal verbs with Stanford NLP? The problem is shared phrasal verbs, for example: to rise up, to do: we climbed this hill. I have to do this job.

The first phrase looks like this in a parse tree:

(VP 
    (VBD climbed)
    (ADVP 
        (IN that) 
        (NP (NN hill)
        )
    ) 
    (ADVP 
        (RB up)
    )
) 

second phrase:

(VB do) 
   (NP 
     (DT this) 
     (NN job)
   ) 
(PP 
   (IN over)
) 

So it seems that reading the parsing tree will be correct, but how do you know that a verb will be phrasal?

+5
source share
1 answer

Addiction analysis, dude. Look at the prt (phrasal verb) dependency in both sentences. See the Stanford Dependency Writing Guide for more information .

nsubj(climbed-2, We-1)
root(ROOT-0, climbed-2)
det(hill-4, that-3)
dobj(climbed-2, hill-4)
prt(climbed-2, up-5)

nsubj(have-2, I-1)
root(ROOT-0, have-2)
aux(do-4, to-3)
xcomp(have-2, do-4)
det(job-6, this-5)
dobj(do-4, job-6)
prt(do-4, over-7)

stanford . , : https://gist.github.com/2562754

+7

All Articles