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

Ruta: regex rule for subtoken annotation fails PARTOF

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Not A Problem
    • Affects Version/s: 2.6.1ruta
    • Fix Version/s: 2.7.0ruta
    • Component/s: Ruta
    • Labels:
      None

      Description

      PACKAGE uima.ruta.training;
      
      DECLARE Keyword;
      DECLARE Entity(STRING value);
      DECLARE Digit;
      "100001" -> Keyword;
      "[0-9]" -> Digit;
      
      ADDRETAINTYPE(WS);
      
      a:(Keyword ANY*{PARTOF({W,Digit})}){-> Entity, Entity.value = a.ct};
      
      REMOVERETAINTYPE(WS);
      

        Attachments

          Activity

            People

            • Assignee:
              viorel Viorel Morari
              Reporter:
              pkluegl Peter Kl├╝gl
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: