Hi,
I just noticed that by inspecting the matrix term that no all stopwords are
removed, does someone know how to fix that?
library(tm)
data("crude")
d<-tm_map(crude, removeWords, stopwords(language='english'))
dt<-DocumentTermMatrix(d,control=list(minWordLength=3, minDocFreq=2))
inspect( dt)
I am using R version 2.10, tm package 0.5-3
cheers
Welma
[[alternative HTML version deleted]]
> Hi, > > I just noticed that by inspecting the matrix term that no all stopwords are > removed, does someone know how to fix that? > > library(tm) > data("crude") > d<-tm_map(crude, removeWords, stopwords(language='english')) > dt<-DocumentTermMatrix(d,control=list(minWordLength=3, minDocFreq=2)) > inspect( dt) > > I am using R version 2.10, tm package 0.5-3 > > cheers > Welma >[[alternative HTML version deleted]]