Remove Intersecting Annotations
The Remove
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:
Other
xmlns:experimental="http://schemas.fontoxml.com/fcq/1.0/experimental-analysis-configuration.xsd"
Configuration
Attribute |
Description |
Required |
Default |
---|---|---|---|
|
A list of annotation type identifiers that have to be checked. |
Yes |
N/A |
|
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" />