Uploaded image for project: 'UIMA'
  1. UIMA
  2. UIMA-465

Need getViewIterator() method to work with a variable number of views

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.2
    • Fix Version/s: 2.2
    • Component/s: Core Java Framework
    • Labels:
      None

      Description

      Based on user feedback, a common design pattern is for an annotator to want to process a set of Views in a CAS. Currently user code can do this using getSofaIterator() and testing each SofaFS to see if it matches the requirement. A simpler approach is to have a new method:

      Iterator getViewIterator(viewname)

      where viewname represents a Sofa name prefix. As with Sofa mapping, this API would return all views with names matching viewname.*. Sofa mapping would be respected, so "viewname" could be mapped.

        Attachments

          Activity

            People

            • Assignee:
              eddie_epstein Eddie Epstein
              Reporter:
              eddie_epstein Eddie Epstein
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: