dictWrap | R Documentation |
background function to load
dictWrap(text, dict = NULL, binary = FALSE, num_mc_cores = 1, ...)
text |
a character vector of texts. |
dict |
a dictionary class object (see dictionary) containing dictionaries for six of the politeness features |
binary |
return the prevalence (percent of words) or the presence (yes/no) of a feature in each text? |
num_mc_cores |
integer Number of cores for parallelization. Default is 1. |
... |
arguments passes onto the |
a matrix with six columns (one for each feature) and a row for every text entered into the function.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.