Question
Areteans
Areteans
IN
Areteans
Posted: Sep 11, 2018
Last activity: Sep 18, 2018
Last activity: 18 Sep 2018 3:28 EDT
Closed
How to get substring in a matched annotated expression UIMA RUTA?
Hi Guys,
Need help on UIMA RUTA:
I am trying to implement substring of a matched annotation.
Eg:
Input : 1A2S3DWER
Expected Output: WER
Expected Output: 1A2S3D
Below is what I tried:
Document{->RETAINTYPE(SPACE)};
((W|NUM) (W|NUM)*){REGEXP("([A-Z0-9]{9})")->MARK(EntityType)};
I don't know how to separate the matched annotation. Please guide me through. Thanks in advance