% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/distrust.R
\name{get_dist}
\alias{get_dist}
\title{Compute distrust scores}
\usage{
get_dist(own_entity, text, bootstrap = FALSE, B = 1000)
}
\arguments{
\item{own_entity}{A character vector of entity names representing the
speaker's own country or group.}

\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{S} and \code{OS}. When \code{bootstrap = TRUE}, columns
are \code{meanS}, \code{varS}, \code{meanOS}, \code{varOS}.
}
\description{
Performs per-entity classification of references in the text as
suspicious (S) or other-suspicious (OS) based on distrust verbs,
harmful nominals, and contextual modifiers.
}
