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

Fix definition of containsType/Feature for Resut Spec for corner case involving x-unspecified language

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.2.1
    • 2.2.2
    • None
    • None

    Description

      Based on a long discussion in uima-dev, we conclude that containsType(aType) should be equivalent to containsType(aType, "x-unspecified"), and should return false if the result spec has an entry for aType with languages that do not include x-unspecified.

      This was broken in previous implementations, but should not affect users (except for some corner cases where uses had improperly specified their capability specifications, perhaps).

      With this change, the function of CapabilityContainer as used in the framework is equivalent to that provided by the Result Specification. Remove CapabilityContainer and switch usage of it to the Result Spec, for space/time efficiency reasons.

      Attachments

        Activity

          People

            schor Marshall Schor
            schor Marshall Schor
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: