nltk <- random <- NULL
.onLoad <- function(libname, pkgname) {
nltk <<- reticulate::import("nltk", delay_load = TRUE, convert = FALSE)
random <<- reticulate::import("random", delay_load = TRUE, convert = FALSE)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.