Skip to contents

Classifies first-person pronoun occurrences in the text as self-confident (SC) or other-self-confident (OSC) based on sentence-level context patterns covering three conditions: self as instigator, self as authority, and self as recipient of positive recognition.

Usage

get_conf(text, bootstrap = FALSE, B = 1000)

Arguments

text

A character string containing the speech text to analyse.

bootstrap

Logical; if TRUE, return bootstrapped mean and variance estimates. Default is FALSE.

B

Integer; number of bootstrap replicates. Default is 1000.

Value

A one-row tibble. When bootstrap = FALSE, columns are SC and OSC. When bootstrap = TRUE, columns are meanSC, meanOSC, varSC, varOSC.