Skip to contents

Classifies verbs associated with first-person subjects as instrumental-control (IC) or other-control (OC) using dependency parsing to link subjects to their governing verbs.

Usage

get_ctrl(own_entity, text, bootstrap = FALSE, B = 1000)

Arguments

own_entity

A character vector of entity names representing the speaker's own country or group.

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 IC and OC. When bootstrap = TRUE, columns are meanIC, meanOC, varIC, varOC.