Classifies entity references in the text as nationalistic (N) or other-nationalistic (ON) based on own/other entity detection and contextual modifiers at the referent level.
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 isFALSE.- B
Integer; number of bootstrap replicates. Default is 1000.
Value
A one-row tibble. When bootstrap = FALSE,
columns are N and ON. When bootstrap = TRUE, columns
are meanN, meanON, varN, varON.
