View source: R/interpret_word.R
Outputs information on the frequency and context of a word in documents analyzed by a topic model
1 2 | interpret_word(word, tkd_texts, doc_term_mtrx, stemmed_texts = NULL,
summary = TRUE, custom_stem = NULL)
|
word |
The word to be interpreted. |
tkd_texts |
The tokenized texts used to create the document-term matrix. |
doc_term_mtrx |
A document-term matrix summarizing the content of |
stemmed_texts |
If the texts were stemmed, this should be the stemmed and tokenized texts, otherwise |
summary |
Logical: Should only a summary be printed, or all information returned? |
custom_stem |
A character containing the regex pattern to match if |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.