Stanford nlp 从文本中提取关系

Stanford nlp 从文本中提取关系,stanford-nlp,Stanford Nlp,这是一个示例文本: 去年,TAUS的创始人兼董事Jaap van der Meer写了一篇题为“未来不需要翻译人员”的煽动性博客文章,认为机器翻译的质量将不断提高,对于许多应用来说,不够完美的翻译就足够了 现在我想知道: PERSON(Jaap van der Meer) is JOB(founder and director) of ORGANISATION (TAUS) 我从Standford OpenIE和OpenIE那里得到的是: TAUS has founder Jaa

这是一个示例文本:

去年,TAUS的创始人兼董事Jaap van der Meer写了一篇题为“未来不需要翻译人员”的煽动性博客文章,认为机器翻译的质量将不断提高,对于许多应用来说,不够完美的翻译就足够了

现在我想知道:

PERSON(Jaap van der Meer) is JOB(founder and director) of ORGANISATION (TAUS)
我从Standford OpenIE和OpenIE那里得到的是:

TAUS    has     founder
Jaap van der Meer       wrote   blogpost
一般来说,我想从新闻文章等自由文本中提取组织与组织或人员与组织之间的职位/业务关系

我怎样才能和斯坦福大学的OpenIE合作?
有更好的工具吗?

您应该尝试使用KBPAnnotator。这将提取(人员、职称、职务)关系和(人员、组织、工作)关系

命令示例:

java -Xmx8g edu.stanford.nlp.pipeline.StanfordCoreNLP -annotators tokenize,ssplit,pos,lemma,ner,regexner,parse,mention,entitymentions,coref,kbp -file example.txt -outputFormat text

您应该尝试使用KBPAnnotator。这将提取(人员、职称、职务)关系和(人员、组织、工作)关系

命令示例:

java -Xmx8g edu.stanford.nlp.pipeline.StanfordCoreNLP -annotators tokenize,ssplit,pos,lemma,ner,regexner,parse,mention,entitymentions,coref,kbp -file example.txt -outputFormat text