RemoveIntersectingAnnotations

The RemoveIntersectingAnnotations analytic is a filter that removes annotations that have any overlap with the given type identifiers.

Configuration

Attribute

Description

Required

Default

checkAnnotationTypeIds

A list of annotation type identifiers that have to be checked.

Yes

N/A

removableAnnotationTypeIds

A list of annotation type identifiers that are allowed to be removed.

If unset, any annotation that has overlap will be removed.

No

N/A

Example configuration

The following example shows the filter configured for removing any spelling-error annotation that has overlap with an author annotation.

XML

<removeIntersectingAnnotations checkAnnotationTypeIds="author" removableAnnotationTypeIds="lt:spelling-error" />