View source: R/receptiveness.R
receptiveness | R Documentation |
Pre-trained model to detect conversational receptiveness
receptiveness(texts, num_mc_cores = 1)
texts |
character A vector of texts, each of which will be tallied for politeness features. |
num_mc_cores |
integer Number of cores for parallelization. |
This is a wrapper around a pre-trained model of "conversational receptiveness".
The model trained from Study 1 of that paper can be applied to new text with a single function.
This model requires grammar parsing via SpaCy. Please see spacyr
for details on installation.
a vector with receptiveness scores.
Yeomans, M., Minson, J., Collins, H., Chen, F. & Gino, F. (2020). Conversational Receptiveness: Improving Engagement with Opposing Views. OBHDP.
## Not run:
data("phone_offers")
receptiveness(phone_offers$message)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.