问题
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