I have defined a rule to identify the relevant classes in this sample statement (See screenshot 1-rule): PN00001 which will replace MF1 BOM PN00002
Due to the limit of 20 tokens in a pattern, the 1st instance of Description_Class is defined as 0 or more times, and the 2nd instance of Description_Class is between 0 and 3 times. Similarly for the 3rd and 4th instances of the Description_Class.
Note that Description_Class itself is a regex: [^\s]*
Problem is that with the limit of 20 tokens in pattern, the rule will not work when I have very long description.
E.g. PN00001 Captive Screw - XXXXX (Jones), counter clockwise coil (vendor = AAA BBB) which will replace MF1 BOM PN00002
Please increase the limit of 20 tokens in a pattern in Rule-based annotator.
Why is it useful?
|Who would benefit from this IDEA?||The user will benefit as this will improve the recall of the rule|
How should it work?