You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Marshall Schor (JIRA)" <ui...@incubator.apache.org> on 2008/01/27 13:04:34 UTC
[jira] Assigned: (UIMA-722) Fix parsing of language specifications
to normalize them
[ https://issues.apache.org/jira/browse/UIMA-722?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Marshall Schor reassigned UIMA-722:
-----------------------------------
Assignee: Marshall Schor (was: Adam Lally)
> Fix parsing of language specifications to normalize them
> --------------------------------------------------------
>
> Key: UIMA-722
> URL: https://issues.apache.org/jira/browse/UIMA-722
> Project: UIMA
> Issue Type: Bug
> Components: Core Java Framework
> Affects Versions: 2.2.1
> Reporter: Marshall Schor
> Assignee: Marshall Schor
> Priority: Minor
>
> 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('_','-')
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.