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

Ruta: MultiTreeWordList with Feature-based Output

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.2.1ruta
    • Fix Version/s: 2.3.0ruta
    • Component/s: Ruta
    • Labels:
      None

      Description

      Sometimes I need a feature-based output of multi-tree wordlists instead of a type-based output.

      For instance, at present it is possible to specify different types for matches against different dictionaries like

      Document {->TRIE(
        "dict.L0" = L0,
        "dict.L10" = L10,
      wl, true, 0, false, 0, " .-/")};
      

      which creates annotations of type L0, L10 for matches according to dictionaries dict.L0, dict.L10.

      Additionally, it should be possible to specify (types and their) features for the output like, e.g.,

      Document {->TRIE(
        "dict.L0" = {Terminology_A, id, "0"},
        "dict.L10" = {Terminology_B, code, "10"},
      wl, true, 0, false, 0, " .-/")};
      

      which should create annotations of type Terminology_A/B and set their feature id/code to the value "0"/"10" for matches according to dictionary "dict.L0"/"dict.L10", respectively.

        Attachments

          Activity

            People

            • Assignee:
              pkluegl Peter Klügl
              Reporter:
              mtoepfer Martin Toepfer
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: