Description Usage Arguments Value Examples
View source: R/stylest_select_vocab.R
The same text, speaker, and filter should be used in this model
as in fit_speaker
to select the terms for the latter function.
1 | stylest_terms(x, speaker, vocab_cutoff, filter = NULL)
|
x |
Corpus as text vector. May be a |
speaker |
Vector of speaker labels. Should be the same length as
|
vocab_cutoff |
Quantile cutoff for the vocabulary in (0, 100] |
filter |
if not |
list of terms
1 2 3 | data(novels_excerpts)
stylest_terms(novels_excerpts$text, novels_excerpts$author, vocab_cutoff = 50)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.