我正在寻找使用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