Here's an example I have just made :
PREDICATE_RULE: (aa,bb): (SENT, "_aa{trial@}", "_bb{enroll@}")
PREDICATE_RULE: (xx,yy): (DIST_10, "_xx{trial@}", "_yy{enroll@}")
All words will be extracted (concept match) as from trial (included) up to enroll (included).
In the first rule trial and enroll should belong to the same sentence.
In the second rule trial and enroll should be within 10 (or fewer) words from each other (across multiple sentences).
enroll@ means something like enrolled will also be accepted. @ is a morphological expansion symbol here.
Order does not play a role. If you absolutely want trial@ to be first and enroll@ to be second, then you can use ORDDIST_10 instead of DIST_10. ORDDIST_n respects the order.
Koen
... View more