public CoreDocument(Annotation annotation) { this.annotationDocument = annotation; wrapAnnotations(); }
/** Annotate the CoreDocument wrapper. **/ public void annotate(CoreDocument document) { // annotate the underlying Annotation this.annotate(document.annotationDocument); // wrap the sentences and entity mentions post annotation document.wrapAnnotations(); }
public CoreDocument(Annotation annotation) { this.annotationDocument = annotation; wrapAnnotations(); }
/** Annotate the CoreDocument wrapper. **/ public void annotate(CoreDocument document) { // annotate the underlying Annotation this.annotate(document.annotationDocument); // wrap the sentences and entity mentions post annotation document.wrapAnnotations(); }