ActiveAnno

Web-based responsive document annotation tool

View the Project on GitHub MaxMello/ActiveAnno

activeannoservice / project.annotationschema / DenormalizedAnnotationSchema

DenormalizedAnnotationSchema

data class DenormalizedAnnotationSchema

Annotation schema as sent to the frontend / client, contains the actual models of AnnotationDefinition, AnnotationGenerator etc.

Constructors

Name Summary
<init> Annotation schema as sent to the frontend / client, contains the actual models of AnnotationDefinition, AnnotationGenerator etc.DenormalizedAnnotationSchema(elements: List<DenormalizedAnnotationSchemaElement>, generatedAnnotationResultHandling: GeneratedAnnotationResultHandling)

Properties

Name Summary
elements val elements: List<DenormalizedAnnotationSchemaElement>
generatedAnnotationResultHandling val generatedAnnotationResultHandling: GeneratedAnnotationResultHandling

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