斯坦福依赖解析器 [英] stanford dependency parser

查看:135
本文介绍了斯坦福依赖解析器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我尝试过斯坦福依赖解析器.我得到了下面的解析树和关系.但是我需要一个依赖图.如何获得它.有什么办法隐瞒图形的依赖关系吗?请帮我.我是Java和stanford工具的新手.

I have tried stanford dependency parser. I got the following parse tree and relation.But I need a dependency graph. How to get it. Is there any way to covert the dependencies to graph? Please help me. I am new to java and stanford tools.

程序是一组指令

(ROOT
  (S
    (NP (NNP Program))
    (VP (VBZ is)
      (NP
        (NP (DT a) (NN set))
        (PP (IN of)
          (NP (NN instruction)))))))

nsubj(set-4, Program-1)
cop(set-4, is-2)
det(set-4, a-3)
root(ROOT-0, set-4)
prep_of(set-4, instruction-6)

推荐答案

您必须已经解决了问题,但是我认为这可能会对其他人有所帮助. 您可能要检查斯坦福解析器首页.

You must have solved the problem, but i think this may help others. You may want to check the Stanford parser homepage.

您可以找到 tydevi

  • tydevi被键入为依赖关系查看器",该视图可以对句子的斯坦福依赖关系进行分析(由Bernard Bou撰写),并且

    • tydevi is typed Dependency Viewer that makes a picture of the Stanford Dependencies analysis of a sentence (By Bernard Bou), and

    DependenSee是一个依赖关系解析可视化工具,用于制作斯坦福依赖关系输出的图片.

    DependenSee is a Dependency Parse Visualisation Tool that makes pictures of Stanford Dependency output.

    这篇关于斯坦福依赖解析器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

  • 查看全文
    登录 关闭
    扫码关注1秒登录
    发送“验证码”获取 | 15天全站免登陆