[ https://issues.apache.org/jira/browse/UIMA-39?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Marshall Schor updated UIMA-39: ------------------------------- Description: We've had this feature request from internal users and from an external user on the alphaWorks forum: http://www-128.ibm.com/developerworks/forums/dw_thread.jsp?message=13880014&cat=28&thread=138315&treeDisplayType=threadmode1&forum=444#13880014 The basic requirement is to find all annotations of a particular type whose span encompasses a specified annotation. For example: find the paragraph that spans this sentence. Or, find all NamedEntities that span this Token. We've discussed with users the idea of an AnnotationIndex.superiterator() method, and they seem to like that idea. This would be a complement to subiterator(). superiterator(xyz) would return annotations that covered annotation xyz. was: We've had this feature request from internal users and from an external user on the alphaWorks forum: http://www-128.ibm.com/developerworks/forums/dw_thread.jsp?message=13880014&cat=28&thread=138315&treeDisplayType=threadmode1&forum=444#13880014 The basic requirement is to find all annotations of a particular type whose span encompasses a specified annotation. For example: find the paragraph that spans this sentence. Or, find all NamedEntities that span this Token. We've discussed with users the idea of an AnnotationIndex.superiterator() method, and they seem to like that idea. This would be a complement to subiterator(). superiterator(x) would return annotations that covered annotation x. > superiterator (an iterator that returns all annotations that span a specified > annotation) > ----------------------------------------------------------------------------------------- > > Key: UIMA-39 > URL: https://issues.apache.org/jira/browse/UIMA-39 > Project: UIMA > Issue Type: New Feature > Components: Core Java Framework > Reporter: Adam Lally > Priority: Minor > > We've had this feature request from internal users and from an external user > on the alphaWorks forum: > http://www-128.ibm.com/developerworks/forums/dw_thread.jsp?message=13880014&cat=28&thread=138315&treeDisplayType=threadmode1&forum=444#13880014 > The basic requirement is to find all annotations of a particular type whose > span encompasses a specified annotation. For example: find the paragraph > that spans this sentence. Or, find all NamedEntities that span this Token. > We've discussed with users the idea of an AnnotationIndex.superiterator() > method, and they seem to like that idea. This would be a complement to > subiterator(). superiterator(xyz) would return annotations that covered > annotation xyz. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.