Peter Klügl created UIMA-2756:
---------------------------------

             Summary: TextMarker: Extend language with special rules for direct 
regexp matching
                 Key: UIMA-2756
                 URL: https://issues.apache.org/jira/browse/UIMA-2756
             Project: UIMA
          Issue Type: Sub-task
          Components: TextMarker
            Reporter: Peter Klügl
            Assignee: Peter Klügl


For seeding some initial annotations, which are then used by the actual rules 
in order to create the targeted annotations, some simple regexp expressions are 
probably very useful. Right, now there are only wordlists and regexp 
conditions. Both work on inference annotations.

The new rule syntax could look like:

"...regexp epression..." -> "named capturing group" = TypeExpression, 
NumberExpression = TypeExpression, TypeExpression;

No curly brackets and no explicit actions/conditions, and no influence of the 
filtering settings.
Capturing groups are supported by names and index, and the normal TypExpression 
create an annotation for each found occurrence.

Other opinions/comments are welcome. 



--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to