ActiveAnno

Web-based responsive document annotation tool

View the Project on GitHub MaxMello/ActiveAnno

activeannoservice / project.annotationschema.generator

Package project.annotationschema.generator

Types

Name Summary
GeneratedAnnotationResultHandling data class GeneratedAnnotationResultHandling
GeneratorSortingPolicy How to handle sorting of documents for annotators when generated results is availableenum class GeneratorSortingPolicy
GeneratorTiming sealed class GeneratorTiming
HandlingPolicy sealed class HandlingPolicy
HandlingPolicyType enum class HandlingPolicyType

Functions

Name Summary
generateAnnotationData For an AnnotationSchema, execute all AnnotationGenerator and return the GeneratedAnnotationDatasuspend fun DenormalizedAnnotationSchema.generateAnnotationData(document: Document): GeneratedAnnotationData
generateAnnotationDataBulk suspend fun DenormalizedAnnotationSchema.generateAnnotationDataBulk(documents: List<Document>): Map<Document, GeneratedAnnotationData>
generateMissingAnnotationsForAllDocumentsBulk Given a Project, generate missing annotations for all documents for the project and update the documents. This method does it multiple chunks, given a size parametersuspend fun Project.generateMissingAnnotationsForAllDocumentsBulk(chuckSize: Int = 100, limit: Int = Int.MAX_VALUE): Unit