Wanna create a word cloud using R, then check out http://www.r-bloggers.com/text-mining/
Although stemming the word is great, but
myCorpus <- tm_map(myCorpus, stemCompletion, dictionary = dictCorpus) didn’t work for me.
I tried a different approach.
After creating the document matrix as listed in the above link, pass the myNames character vector to the stem completion function with corpus copy – dictCorpus as the dictionary.
m = as.matrix(myDtm);
v = sort(colSums(m), decreasing=TRUE);
myNames = names(v);
k = which(names(v)==
d = data.frame(word=myNames, freq=v);
min.freq = input$freq, max.words=input$max,