Action Principale : brScore
| 1 | PROC CAS; |
| 2 | DATA mycas.text_data; |
| 3 | INFILE DATALINES delimiter=','; |
| 4 | INPUT docid termid $; |
| 5 | DATALINES; |
| 6 | 1,t1 |
| 7 | 1,t2 |
| 8 | 2,t1 |
| 9 | 2,t3 |
| 10 | 3,t2 |
| 11 | 3,t4 |
| 12 | ; |
| 13 | RUN; |
| 14 | |
| 15 | DATA mycas.rule_data; |
| 16 | INFILE DATALINES delimiter=','; |
| 17 | INPUT _ruleid_ $ _term_ $; |
| 18 | DATALINES; |
| 19 | R1,t1 |
| 20 | R1,t2 |
| 21 | R2,t3 |
| 22 | R2,t4 |
| 23 | ; |
| 24 | RUN; |
| 25 | QUIT; |