Span chunk = nounPhrase.getChunk(); chunk.addAnnotation(COREF_ANNOTATION, Value.value(new CorefFeature(false, coreferencedNer))); corefs.add(chunk); ner.addAnnotation(COREF_ANNOTATION, Value.value(new CorefFeature(true, corefs)));
Span chunk = nounPhrase.getChunk(); chunk.addAnnotation(COREF_ANNOTATION, Value.value(new CorefFeature(false, coreferencedNer))); corefs.add(chunk); ner.addAnnotation(COREF_ANNOTATION, Value.value(new CorefFeature(true, corefs)));