Parse out phrasal verbs

二次信任 提交于 2019-11-30 15:10:13

Dependency parsing, dude. Look at the prt (phrasal verb particle) dependency in both sentences. See the Stanford typed dependencies manual for more info.

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)

The stanford parser gives you very nice dependency parses. I have code for programmatically accessing these if you need it: https://gist.github.com/2562754

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!