stylest_odds: Pairwise prediction of the most likely speaker of texts
Description
Computes the mean log odds of the most likely speaker of each
text over pairs of the speaker of a text and every other speaker in the
stylest_model.
Usage
stylest_odds(model, text, speaker, prior = NULL)
Arguments
model
stylest_model object
text
Text vector. May be a corpus_frame object
speaker
Vector of speaker labels. Should be the same length as
x
prior
Prior probability of speakers. Uses equal prior if NULL
Value
A S3 stylest_odds object containing: a
stylest_model object; vector of mean log odds that each actual
speaker (compared with other speakers in the corpus) spoke their
corresponding texts in the corpus; vector of SEs of the log odds