Computes speakers' term usage rates
fit_term_usage(x, speaker, terms, smooth)
Text vector. May be a corpus_frame
object
Vector of speaker labels. Should be the same length as
x
Vocabulary for document term matrix
Numeric value used smooth term frequencies
named list of terms, vector of num tokens uttered by each speaker, smoothing value, and (smoothed) term usage rate matrix