【发布时间】:2016-08-24 15:53:07
【问题描述】:
http://nlp.stanford.edu/software/openie.shtml 产生编译时错误:
SemanticGraphCoreAnnotations.EnhancedDependenciesAnnotation 无法解析为类型
我在eclipse 2016 下运行java-8。 corenlp-full-2015-12-01.zip、openie.jar、openie-models.jar 包含在我的 Eclipse 项目中。
由以下行产生的错误:
System.out.println(sentence.get(SemanticGraphCoreAnnotations.EnhancedDependenciesAnnotation.class).toString(SemanticGraph.OutputFormat.LIST));
谢谢
【问题讨论】:
标签: java eclipse compiler-errors stanford-nlp