View source: R/topic_coherence.R
ask_palmetto | R Documentation |
Get topic coherence from Palmetto remote or local
ask_palmetto(solution, depth = "full", coherence = "npmi", backend = "web")
solution |
A wide tibble where each column contains a top-N terms. |
depth |
The number of top terms to use to use for coherence estimation. If |
coherence |
A name of coherence metric. Valid names: "ca", "cp", "cv", "npmi", "uci", "umass". Default is |
backend |
Path to Palmetto either |
A wide tibble with requested coherence scores.
df1 <- tibble::tibble(col1 = c("apple", "banana", "cherry"), col2 = c("dog", "cat", "mouse"))
ask_palmetto(df1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.