Uploaded image for project: 'SWORD'
  1. SWORD
  2. API-91

Allow a different ordering of keys for a dictionary

    Details

    • Type: Improvement
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.5.10
    • Fix Version/s: 1.7.0
    • Component/s: core
    • Labels:
      None

      Description

      Currently an LD or LD4 dictionary requires the keys to be ordered in such a way that a simple binary search using simple string compare of the keys will result in the target or the next greater key.

      This is not ideal for other languages as it will put an accented character after ascii characters.

      Each locale has specific rules regarding the collation of words. For examples: "ch" in Spanish is to sort before "c" (though this old standard is currently changing). France and Germany differ in their placement of accented letters, with one placing it before and the other after the un-accented letter. In Swedish, some "accented" characters are unrelated to the orthographically similar letter not having the accent and are a separate letter in their alphabet having its own position.

      Ultimately each dictionary should be sorted according to the locale of the language of the dictionary.

        Attachments

          Activity

            People

            • Assignee:
              scribe Troy A Griffitts
              Reporter:
              dmsmith DM Smith
            • Votes:
              1 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated: