corenlp = CoreNLP("ner", corenlp_jars=["/Users/justking14/stanford-corenlp-python/stanford- corenlp-full-2014-08-27/*"])
result = corenlp.parse_doc(data)
print(str(result))
I get the following error
Exception in thread "main" java.lang.IllegalArgumentException: No annotator named entitymentions
at edu.stanford.nlp.pipeline.AnnotatorPool.get(AnnotatorPool.java:83)
at edu.stanford.nlp.pipeline.StanfordCoreNLP.construct(StanfordCoreNLP.java:292)
at edu.stanford.nlp.pipeline.StanfordCoreNLP.<init>(StanfordCoreNLP.java:129)
at edu.stanford.nlp.pipeline.StanfordCoreNLP.<init>(StanfordCoreNLP.java:125)
at corenlp.JsonPipeline.initializeCorenlpPipeline(JsonPipeline.java:206)
at corenlp.SocketServer.main(SocketServer.java:102)
When I try running:
I get the following error