Skip to contents

Performs full VICS (Verbs in Context System) operational code analysis on a speech text, classifying verb-entity pairs as Self/Other and scoring them on a -3 to +3 scale (Punish to Reward). Returns P1–P5 and I1–I5 indices.

Usage

get_oca(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 for all indices. Default is FALSE.

B

Integer; number of bootstrap replicates. Default is 1000.

Value

A one-row tibble with P1–P5, I1–I5, and raw Self/Other counts by score category.