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

Include manual selection of anchoring rule element in Ruta language

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.1.0ruta
    • 2.1.0ruta
    • Ruta
    • None

    Description

      It is sometime not very clever to activate dynamic anchoring in order to change the matching behavior, because the selection of the anchoring rule elements depends on the elements in the annoation index, and is therefore not predictable when the rules are written. I think it is not achievable to ensure the same matching behavior independently from the current matching direction, because of the greedyelements. If the user wants to take advantage of other matching directions, then a manual selection of the anchoring rule elements would be a good solution. We need to find a nice syntax for this extension. It could look like:

      // match everthing from the last period to the last token...
      PERIOD # 'LastToken; // ' indicates the anchoring element
      

      Here, the rule would start with the LastToken and then will search for the next PERIOD.

      Attachments

        Activity

          People

            pkluegl Peter Klügl
            pkluegl Peter Klügl
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: