Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
2.2.1
-
None
Description
Language specifications in capabilities are compared frequently in the operation of the UIMA Framework. In some places, the language strings are "normalized" by coverting to lower case and replacing '_' with '-'. In other places this isn't done. This should be done uniformly, when the language specification is initially parsed, for performance reasons. A suggested normalization would be something like
language.toLowerCase(Locale.ENGLISH).replace('_','-')