Pustaka Taratsa
R: tidytext: topic-modelling

R: tidytext: topic-modelling

Penulis: Onno Widodo Purbo

# Ref: https://github.com/dgrtwo/tidy-text-mining/blob/master/06-topic-models.Rmd library(knitr) opts_chunk$set(message = FALSE, warning = FALSE, cache = TRUE) options(width = 100, dplyr.width = 150) library(ggplot2) library(methods) library(scales) theme_set(theme_light()) ## Latent Dirichlet allocation library(topicmodels) data("AssociatedPress") AssociatedPress # This function returns an