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

Fix parsing of language specifications to normalize them

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.2.1
    • 2.2.2
    • Core Java Framework
    • 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('_','-')

      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: