Web-based responsive document annotation tool
activeannoservice / annotationdefinition.generator.documenttarget / 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 > |