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 15:16:37 UTC

[jira] Resolved: (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 resolved UIMA-722.
---------------------------------

       Resolution: Fixed
    Fix Version/s: 2.3

> 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
>             Fix For: 2.3
>
>
> 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.