You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Peter Klügl (JIRA)" <de...@uima.apache.org> on 2013/12/09 11:25:08 UTC

[jira] [Updated] (UIMA-3382) Ruta: REGEXP from WORDLIST

     [ https://issues.apache.org/jira/browse/UIMA-3382?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Peter Klügl updated UIMA-3382:
------------------------------

    Fix Version/s: 2.1.1ruta

> Ruta: REGEXP from WORDLIST
> --------------------------
>
>                 Key: UIMA-3382
>                 URL: https://issues.apache.org/jira/browse/UIMA-3382
>             Project: UIMA
>          Issue Type: Question
>          Components: ruta
>            Reporter: Olga Patterson
>            Assignee: Peter Klügl
>            Priority: Trivial
>              Labels: features
>             Fix For: 2.1.1ruta
>
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)