ActiveAnno

Web-based responsive document annotation tool

View the Project on GitHub MaxMello/ActiveAnno

activeannoservice / annotationdefinition.generator.documenttarget / TagSetDocumentTargetUpdatableGeneratorModel / generateAnnotationBulk

generateAnnotationBulk

suspend fun generateAnnotationBulk(documentsWithGeneratedAnnotationData: List<Pair<Document, GeneratedAnnotationData>>): Map<Document, DocumentTargetAnnotation>

Open function to generate annotations in bulk, might be more efficient. By default, just iterates through documentsWithGeneratedAnnotationData and calls generateAnnotation for each. Can be overwritten to implement true bulk behavior.