receptiveness {politeness} | R Documentation |
Conversational Receptiveness
Description
Pre-trained model to detect conversational receptiveness
Usage
receptiveness(texts, num_mc_cores = 1)
Arguments
texts |
character A vector of texts, each of which will be tallied for politeness features. |
num_mc_cores |
integer Number of cores for parallelization. |
Details
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.
Value
a vector with receptiveness scores
References
Yeomans, M., Minson, J., Collins, H., Chen, F. & Gino, F. (2020). Conversational Receptiveness: Improving Engagement with Opposing Views. OBHDP.
Examples
## Not run:
data("phone_offers")
receptiveness(phone_offers$message)
## End(Not run)
[Package politeness version 0.9.3 Index]