RemoveIntersectingAnnotations

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

This filter is experimental. This means that the filter and its API can be changed or removed in any upcoming release.

You will need to add the following namespace declaration to your analysis configuration file:

XML

xmlns:experimental="http://schemas.fontoxml.com/content-quality/1.0/experimental-analysis-configuration.xsd"

Configuration

Attribute

Description

Required

Default

experimental:checkAnnotationTypeIds

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

Yes

N/A

experimental: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

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