% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/self_confidence.R
\name{get_conf}
\alias{get_conf}
\title{Compute self-confidence scores}
\usage{
get_conf(text, bootstrap = FALSE, B = 1000)
}
\arguments{
\item{text}{A character string containing the speech text to analyse.}

\item{bootstrap}{Logical; if \code{TRUE}, return bootstrapped mean and
variance estimates. Default is \code{FALSE}.}

\item{B}{Integer; number of bootstrap replicates. Default is 1000.}
}
\value{
A one-row \code{\link[tibble]{tibble}}. When \code{bootstrap = FALSE},
columns are \code{SC} and \code{OSC}. When \code{bootstrap = TRUE}, columns
are \code{meanSC}, \code{meanOSC}, \code{varSC}, \code{varOSC}.
}
\description{
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.
}
