I have two following DTM-s:
dtm <- DocumentTermMatrix(t) dtmImproved <- DocumentTermMatrix(t, control=list(minWordLength = 4, minDocFr
dtmImproved <- DocumentTermMatrix(t, control=list(wordLengths=c(4, 15), bounds = list(global = c(5,Inf))))
This solves the problem! The lack of proper documentation really mads me down (: