ActiveAnno

Web-based responsive document annotation tool

View the Project on GitHub MaxMello/ActiveAnno

activeannoservice / annotationdefinition.generator.documenttarget / kotlin.collections.Map

Extensions for kotlin.collections.Map

Name Summary
toTrainingData For every Document, get the training data text value through the input for a specific annotationDefinition. Will go through all labels for the TagSetAnnotationDefinition, and add all document texts where the AnnotationMaps for the Document, has a most common value equal to the label in questionfun Map<Document, List<AnnotationMap>>.toTrainingData(annotationDefinition: TagSetAnnotationDefinition, input: AnnotationStepKey): List<TrainingSampleWithLabels>