[英]C# Stanford NLP online demo giving different output
Using Stanford Core NLP 3.7.0 to create Dependency tree in C#.使用斯坦福核心 NLP 3.7.0 在 C# 中创建依赖树。 Same sentence giving different output in my application and the online Parser demo
相同的句子在我的应用程序和在线解析器演示中给出不同的输出
Sentence: Display Prime HomePage on page load.句子:在页面加载时显示 Prime HomePage。
Online demo output:
在线演示输出:
Universal dependencies
root(ROOT-0, Display-1)
compound(HomePage-3, Prime-2)
dobj(Display-1, HomePage-3)
dobj(Display-1, HomePage-3)
case(load-6, on-4)
compound(load-6, page-5)
nmod(HomePage-3, load-6)
My C# application output:
我的 C# 应用程序输出:
Universal dependencies
compound(homepage-3, display-1)
amod(homepage-3, prime-2)
root(ROOT-0, homepage-3)
case(load-6, on-4)
compound(load-6, page-5)
nmod:on(homepage-3, load-6)
I am not getting the dobj which is available in Online demo output.我没有得到在线演示输出中可用的 dobj。 Please advice.
请指教。
Thank you.谢谢你。
Following are the points i have noted, which may be helpful for others,以下是我注意到的要点,可能对其他人有帮助,
Stanford CoreNLP and Stanford Parser are not providing similar output.斯坦福 CoreNLP和斯坦福解析器没有提供类似的输出。 It differs for the same input sentence.
对于相同的输入语句,它是不同的。
Stanford CoreNLP - Case sensitive.斯坦福 CoreNLP - 区分大小写。 Getting different output if the sentence case is modified.
如果修改句子大小写,则获得不同的输出。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.