R: tidytext: sentiment wordcloud
# Ref: https://github.com/dgrtwo/tidy-text-mining/blob/master/02-sentiment-analysis.Rmd library(RColorBrewer) library(wordcloud) tidy_books %>% anti_join(stop_words) %>% count(word) %>% with(wordcloud(word, n, max.words = 100)) # In other functions, such as `comparison.cloud()`, you may need to turn the data frame # into a matrix with reshape2's `acast()`. Let's do the sentiment analysis # to tag
| Penerbit | Taratsa |
|---|---|
| Tahun | 2019-12-03 |
| Bahasa | ind |
| Pengenal | bookid: urn:uuid:0eed39bc-ddec-55fe-b027-ad6fc0f6296a |