Action Principale : brScore
| 1 | DATA mycas.documents_to_score; |
| 2 | INFILE DATALINES delimiter=','; |
| 3 | INPUT docId termId $; |
| 4 | DATALINES; |
| 5 | 1,term1 |
| 6 | 1,term2 |
| 7 | 2,term2 |
| 8 | 2,term3 |
| 9 | 3,term1 |
| 10 | 3,term3 |
| 11 | ; |
| 12 | RUN; |
| 13 | |
| 14 | DATA mycas.rules_to_apply; |
| 15 | INFILE DATALINES delimiter=','; |
| 16 | INPUT _ruleid_ $ _term_ $; |
| 17 | DATALINES; |
| 18 | rule1,term1 |
| 19 | rule1,term2 |
| 20 | rule2,term3 |
| 21 | ; |
| 22 | RUN; |