R-graph-gallery
R-graph-gallery copied to clipboard
Issue with #102
Anyhow I'm currently trying myself at 102 Figure and the code did not work as the tm package requests another input apparently.
Here what I think has to be changed:
-- STEP2 : COMPUTE DOCUMENT CORPUS TO MAKE TEXT MINING
convert each list content into a corpus
dataset_corpus <- lapply(dataset_s, function(x) VCorpus(VectorSource( toString(x) ))) --> it needs to be the VCorpus not Corpus function.
Link to 102 Figure: https://www.r-graph-gallery.com/102-text-mining-and-wordcloud.html
Thank you sooo much!