stanford_corenlp_pywrapper icon indicating copy to clipboard operation
stanford_corenlp_pywrapper copied to clipboard

No annotator named entitymentions

Open justking14 opened this issue 9 years ago • 0 comments

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)

justking14 avatar Oct 21 '16 01:10 justking14