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

Variables in Variables for RegexAnnotator

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.4.0Addons
    • 2.4.0Addons
    • Sandbox-RegexAnnotator
    • None

    Description

      Hello,

      We are successfully using the RegexAnnotator, but would like to use variables in variables (see example below), is it currently possible?
      If not, does anyone has a workaround or code?
      If not, we will provide a patch.

      Thanks, Renaud

      <conceptSet>
        <variables>
          <variable name="volume_units" value="(?:k|d|m|M|µ)?(?:l|L|m3)" />
          <variable name="mass_units" value="(?:k|d|m|M|µ)?(?:g)" />
          <variable name="units" value="\v{mass_units}/\v{volume_units}" />
      

      Attachments

        1. RegExAnnotVariablesInVariables.xml
          5 kB
          Renaud Richardet
        2. variablesConcept4Ref.txt
          0.1 kB
          Renaud Richardet
        3. variablesInVariables.diff
          8 kB
          Renaud Richardet
        4. variablesInVariables.xml
          2 kB
          Renaud Richardet
        5. variablesInVariablesRef.txt
          0.1 kB
          Renaud Richardet

        Activity

          People

            teofili Tommaso Teofili
            renaudrichardet Renaud Richardet
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: