nl_tokens: Train the classifier with all the given documents .
pl_tokens: function ( dataset ) { for ( var i = 0 ; i < dataset . <mask> ; ++ i ) { dataset [ i ] = { input : this . sampleToFeatures ( dataset [ i ] . input , this . featureExtractor ) , output : ( Array . isArray ( dataset [ i ] . output ) ? dataset [ i ] . output [ 0 ] : dataset [ i ] . output ) } ; } this . multiclassClassifier . trainBatch ( dataset ) ; }