nl_tokens: Train the classifier with all the given documents .
pl_tokens: function ( dataset ) { // preprocessing: add all the classes in the dataset to the weights vector; dataset . forEach ( function ( datum ) { this . addClasses ( datum . output ) ; this . editFeatureValues ( datum . <mask> , /*remove_unknown_features=*/ false ) ; } , this ) ; for ( var i = 0 ; i < this . retrain_count ; ++ i ) dataset . forEach ( function ( datum ) { this . update ( datum . input , datum . output ) ; } , this ) ; }