Question
Bank of america
IN
Last activity: 5 Feb 2021 12:32 EST
How to apply the DIST operator in RUTA script?
Hi,
I have a business requirement to identify texts which has some words distanced apart from each other by specific number of words like:
Rule: (DIST_4,(OR,violat*,comply,complian*,rights,inaccurate,incorrect,escalate,"report to","complain to"),(OR,"agent", "service agent", "front end employee","staff"))
The above rule will capture all text which has the word violat* (violating, violation, etc) and agent distamnced apart from each other by 4 or less than 4 words.
In Python, DIST is used, do we have something similar in Pega?