Web-based responsive document annotation tool
activeannoservice / project.policy / Policy
data class Policy
Data class defining policy of how to handle documents / annotations, especially how and when to finalize an annotation for a document and project.
Name | Summary |
---|---|
<init> | Data class defining policy of how to handle documents / annotations, especially how and when to finalize an annotation for a document and project.Policy(numberOfAnnotatorsPerDocument: Int = 1, allowManualEscalationToCurator: Boolean = false, finalizeAnnotationPolicy: FinalizeAnnotationPolicy = FinalizeAnnotationPolicy.MAJORITY_VOTE_WHOLE_DOCUMENT_OR_CURATOR) |
Name | Summary |
---|---|
allowManualEscalationToCurator | val allowManualEscalationToCurator: Boolean |
finalizeAnnotationPolicy | val finalizeAnnotationPolicy: FinalizeAnnotationPolicy |
numberOfAnnotatorsPerDocument | val numberOfAnnotatorsPerDocument: Int |
Name | Summary |
---|---|
applyPolicy | suspend fun Policy .applyPolicy(project: Project , document: Document , overwriteFinalizedAnnotations: Boolean = false, curationRequest: String ? = null, annotationSchema: DenormalizedAnnotationSchema ? = null): PolicyAction |