我一直在尝试使用2015-12-09版本中包含的Stanford CoreNLP API。我使用以下命令启动服务器:
java -mx5g -cp "./*" edu.stanford.nlp.pipelinStanfordCoreNLPServer
服务器通常可以正常工作,但是对于某些设置失败,包括以下内容:
"Aside from her specifically regional accent, she reveals by the use of the triad, ``irritable, tense, depressed, a certain pedantic itemization that indicates she has some familiarity with literary or scientific language ( i.e., she must have had at least a highschool education ) , and she is telling a story she has mentally rehearsed some time before."
我的结果始于:
{"sentences":[{"index":0,"parse":"SENTENCE_SKIPPED_OR_UNPARSABLE","basic-dependencies":
我会非常熟悉一些帮助来设置它 - 我在nlp管道中没有包含一些注释器。
同样的句子适用于http://corenlp.run/
答案 0 :(得分:1)
如果您正在寻找依赖关系解析(如corenlp.run中所述),则应该查看basic-dependencies
字段而不是parse
字段。如果您需要选区解析,则应将parse
注释器包含在要发送到服务器的注释器列表中。默认情况下,服务器不包含解析器注释器,因为它相对较慢。