Description Usage Arguments Value See Also Examples
Predicts a score between 0 and 1 for 4 personality traits for the author of the texts. The personality scales are "openness", "extraversion", "conscientiousness", and "agreeableness"
1 | personality(text, version = NULL, ...)
|
text |
text for analysis |
version |
for api version |
... |
additional arguments to passed to request |
dict with likelihood the author would be catigorized as each myers briggs axis, and the most likley MB type
political
, sentiment
, text_tags
1 2 3 4 | personality <- personality("Monday: Delightful with mostly sunny skies.
Highs in the low 70s.")
cat(sprintf("The author of text is %s",
ifelse(personality['extraversion'] < .5, "introverted", "extraverted")))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.