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