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

Ruta: regex rule for subtoken annotation fails PARTOF

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Not A Problem
    • 2.6.1ruta
    • 2.7.0ruta
    • Ruta
    • 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

            viorel Viorel Morari
            pkluegl Peter Klügl
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: