在RevoScaleR

时间:2018-07-11 07:04:45

标签: microsoft-r revoscaler

我正在寻找使用featurizeText包裹在rxFeaturize中的停用词,但正如评论here rxFeaturize中所报告的那样,不支持停用词。有没有办法解决这个问题?错误以及代码段如下:

transformRule <- list(featurizeText(vars = c("Description"), 
keepPunctuations = FALSE, 
stopwordsRemover = stopwordsCustom(dataFile = generic_stopwords_list)))

rxFeaturize(data = trn_file_xdf, 
mlTransform = transformRule, 
mlTransformVars = c("Description"), overwrite = T)

错误:inherits(item[[k]], "node") is not TRUE

0 个答案:

没有答案