The import edu.stanford.nlp.pipeline.StanfordCoreNLP cannot be resolved?

北城余情 提交于 2019-12-23 05:15:07

问题


I am naive to StanfordNlpTagger. I have downloaded the JAR files form http://nlp.stanford.edu/software/corenlp.shtml#Download.

I have include the four jar files

Satnford-postagger.jar

Stanford-psotagger-3.3.1.jar

Stanford-psotagger-3.3.1.jar-javadoc.jar

Stanford-psotagger-3.3.1.jar-src.jar

The main problem is that I am not able to "import the edu.stanford.nlp.pipeline.StanfordCoreNLP". Can anyone please suggest me if any more jar files have to included?

Thank you.


回答1:


That class is in a different jar file that you didn't download:

stanford-corenlp-3.3.1.jar


来源:https://stackoverflow.com/questions/22203487/the-import-edu-stanford-nlp-pipeline-stanfordcorenlp-cannot-be-resolved

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