Web-based responsive document annotation tool
activeannoservice / project.annotationschema / DenormalizedAnnotationSchema
data class DenormalizedAnnotationSchema
Annotation schema as sent to the frontend / client, contains the actual models of AnnotationDefinition, AnnotationGenerator etc.
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 ) |
Name | Summary |
---|---|
elements | val elements: List < DenormalizedAnnotationSchemaElement > |
generatedAnnotationResultHandling | val generatedAnnotationResultHandling: GeneratedAnnotationResultHandling |
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 > |