stanford-openie-python icon indicating copy to clipboard operation
stanford-openie-python copied to clipboard

Is there a way to use coref+openie using the standford-corenlp-4.1.0 version?

Open Archirekh-Majumder opened this issue 3 years ago • 1 comments

I am trying to get triplets with coreference resolved, tried this way triples = client.annotate(corpus, properties={ "annotators":"tokenize,ssplit,pos,lemma,depparse,ner,coref,mention,natlog,openie", "outputFormat": "json", "openie.format": "ollie", "openie.resolve_coref": "true", }) but it is giving the following error.

stanfordnlp.server.client.AnnotationException: java.lang.IllegalArgumentException: annotator "openie" requires annotation "CorefChainAnnotation". The usual requirements for this annotator are: tokenize,ssplit,pos,lemma,depparse,natlog

Archirekh-Majumder avatar Jul 19 '22 08:07 Archirekh-Majumder

@Archirekh-Majumder you should probably ask this question directly on https://github.com/stanfordnlp/CoreNLP.

philipperemy avatar Sep 26 '22 12:09 philipperemy