Nothing
# Create a test for the get_collocations function
test_that("get_collocations returns a data frame", {
corpus <- get_document_corpus(doctype="digibok")
# pids <- c("pid1", "pid2", "pid3")
word <- "."
# You may need to replace the pids and word with valid values to ensure the test works as expected
result <- get_collocations(corpus, word)
expect_s3_class(result, "data.frame")
})
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.