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

Ruta: REGEXP from WORDLIST

    XMLWordPrintableJSON

Details

    • Question
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • None
    • 2.2.0ruta
    • Ruta

    Description

      WORDLIST is defined as a list of text items. What if I have a list of regular expressions that I want to mark as the same type. Is there a command that would do it?

      My use case is that I want to find medication statements in text, but there is a large variation in spelling and dose description, so regular expressions are a more concise way to cover all possible cases. So I was trying to use syntax below, but the only matches were for those cases where there was a single word without special regex syntax.

      DECLARE Medication;
      WORDLIST MedicationList='Medication.regex';
      Paragraph{-> MARKFAST(Medication, MedicationList, true,1)};

      What can I change in the rules so that the items in MedicationList are treated as regular expressions.
      Thank you.

      Attachments

        Activity

          People

            pkluegl Peter Klügl
            ovpatterson Olga Patterson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: