Stanford Core NLP how to get the probability & margin of error

夙愿已清 提交于 2019-12-12 08:36:38

问题


When using the parser or for the matter any of the Annotation in Core NLP, is there a way to access the probability or the margin of error?

To put my question into context, I am trying to understand if there is a way programmatically to detect a case of ambiguity. For instance in the sentence below the verb desire is detected as a noun. I would like to be able to know so kind of measure I can access or calculate from the Core NLP APi to tell me there could be an ambiguity.

(NP (NP (NNP Whereas)) (, ,) (NP (NNP users) (NN desire) (S (VP (TO to) (VP (VB sell)))))) 

来源:https://stackoverflow.com/questions/15574915/stanford-core-nlp-how-to-get-the-probability-margin-of-error

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