RemoveIntersectingTextAnnotations

The RemoveIntersectingTextAnnotations analytic is a filter that removes annotations that overlap with each other, keeping the longest or first (in that particular order) annotation.

Configuration

Attribute

Description

Required

Default

annotationTypeIds

A list of annotation type identifiers that have to be checked for overlap with each other and be filtered.

Yes

N/A

Example configuration

The following example checks for overlap on the annotations first-custom-annotation and second-custom-annotation.

XML

<removeIntersectingTextAnnotations annotationTypeIds="first-custom-annotation second-custom-annotation"/>