brendano / stanford_corenlp_pywrapper

151 stars 59 forks source link

No annotator named entitymentions #37

Open justking14 opened 7 years ago

justking14 commented 7 years ago

When I try running:

 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)