Re: How to check matched annotation with StringList/ WordList in RUTA

2019-07-26 Thread Peter Klügl
Hi, there are many ways to do that, one being the rules in your example. Do the rules not work for you? I just tested the following and got only one EntityType annotation. Input: The policy number is 1A-AB12345-PAD. The policy number is 1A-AB12345-PAN. Script: PACKAGE uima.example;

Re: How to check matched annotation with StringList/ WordList in RUTA

2019-07-23 Thread Nikolai Krot
Hi, If i understand you correctly, you only need such ProdCode's that contain specific values of PAN (that you define in CustomSL). If this is true, I would start with finding and annotating these values of PAN and then build ProdCode annotation around these annotated PANs. Best regards, Nikolai

How to check matched annotation with StringList/ WordList in RUTA

2019-07-22 Thread vamsi kruthiventi
Hi Team, I have a Policy Number of pattern :- AB-1234567-PAD, and Product Code as last 3 characters (PAD) of Policy number. With my code, I am now successfully extracting the Product Code (PAD) for given format of policy number. But, now, I need to check the extracted Product Code(PAD) with