Is there any way to have regular expressions in WORDLIST? I need to implement the same as mentioned in https://issues.apache.org/jira/browse/UIMA-3382.
Or is there any alternate way to resolve it?
EDIT : WORDLIST is defined as a list of text items. What if I have a list of regular expressions that I want to mark as the same type. Is there a way to do it?
for e.g. - I want to find date in document, but there is a number of format for date, so regular expressions are a more concise way to cover all possible cases. So I was trying to use syntax below, but the only matches were for those cases where there was a single word without special regex syntax.
DECLARE Date;
WORDLIST DateFormatList='DateFormat.regex';
Document{-> MARKFAST(Date, DateFormat, true,1)};
What can I change in the rules so that the items in DateFormatList are treated as regular expressions?
Thanks