You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Richard Eckart de Castilho (Jira)" <de...@uima.apache.org> on 2020/10/21 07:42:00 UTC

[jira] [Commented] (UIMA-6151) Containment/overlap predicates for AnnotationFS

    [ https://issues.apache.org/jira/browse/UIMA-6151?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17218158#comment-17218158 ] 

Richard Eckart de Castilho commented on UIMA-6151:
--------------------------------------------------

Before this is addressed, the predicates need to be properly defined and be aligned with the behavior of the SelectFS mechanism (UIMA-6283).

> Containment/overlap predicates for AnnotationFS
> -----------------------------------------------
>
>                 Key: UIMA-6151
>                 URL: https://issues.apache.org/jira/browse/UIMA-6151
>             Project: UIMA
>          Issue Type: New Feature
>          Components: Core Java Framework
>            Reporter: Richard Eckart de Castilho
>            Assignee: Richard Eckart de Castilho
>            Priority: Minor
>             Fix For: 3.2.0SDK
>
>
> The UIMA cookbook describes how to detect containment/overlap of annotations. It would be nice to have convenience methods on AnnotationFS for such cases:
>  * ann.contains(otherAnn)
>  * ann.overlaps(otherAnn)
>  * ann.overlapsLeft(otherAnn)
>  * ann.overlapsRight(otherAnn)



--
This message was sent by Atlassian Jira
(v8.3.4#803005)