作者:
cywhale (cywhale)
2016-08-27 20:44:00gsub("\\s", "", x) can replace spaceso, use strsplit(x,"\\s") not work?
作者:
cywhale (cywhale)
2016-08-28 08:23:00so the problem is TermDocumentMatrix, not "strsplit"?try ..(..,control = list(wordLengths = c(1, Inf)))?