Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.2.1
-
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.