ActiveAnno

Web-based responsive document annotation tool

View the Project on GitHub MaxMello/ActiveAnno

activeannoservice / api.annotate.dto / toAnnotateProject

toAnnotateProject

suspend fun Project.toAnnotateProject(userIdentifier: UserIdentifier, userIsCurator: Boolean = false): AnnotateProject

Convert a Project to an AnnotateProject, doing some operations to enrich the project data to be able to use it for annotation. For example, if an OpenTagAnnotation is present, this method might aggregate the existing values from all documents of the project and add it to the AnnotateProject.