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

Marshall Schor commented on UIMA-6151:
--------------------------------------

This seems like a good idea to me.  Probably best implemented as "default" 
methods in the AnnotationFS interface... Any pull request?  

> Containment/overlap predicates for AnnotationFS
> -----------------------------------------------
>
>                 Key: UIMA-6151
>                 URL: https://issues.apache.org/jira/browse/UIMA-6151
>             Project: UIMA
>          Issue Type: New Feature
>          Components: UIMA
>            Reporter: Richard Eckart de Castilho
>            Priority: Minor
>
> 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)

Reply via email to