http://nlp.stanford.edu/software/openie.shtml产生编译时间错误:斯坦福OpenIE示例代码编译错误
SemanticGraphCoreAnnotations.EnhancedDependenciesAnnotation不能解析为一个类型
我eclipse 2016
下运行java-8
。我的eclipse项目中包含了corenlp-full-2015-12-01.zip
,openie.jar
,openie-models.jar
。通过线上产生
错误:
System.out.println(sentence.get(SemanticGraphCoreAnnotations.EnhancedDependenciesAnnotation.class).toString(SemanticGraph.OutputFormat.LIST));
感谢