Action Principale : crfTrain
| 1 | DATA my_cas_library.sequence_data; |
| 2 | INFILE DATALINES delimiter=','; |
| 3 | INPUT _start_ $ _end_ $ _token_ $ feature1 $ feature2 $ label $; |
| 4 | DATALINES; |
| 5 | BEGIN,WORD,This,Cap,Len3,O |
| 6 | WORD,WORD,is,Low,Len2,O |
| 7 | WORD,END,a,Low,Len1,O |
| 8 | BEGIN,WORD,SAS,Up,Len3,B-ORG |
| 9 | WORD,END,Viya,Cap,Len4,I-ORG |
| 10 | ; |
| 11 | RUN; |