stylest_terms: Use vocab cutoff to select terms for fitting the model

Description Usage Arguments Value Examples

View source: R/stylest_select_vocab.R

Description

The same text, speaker, and filter should be used in this model as in fit_speaker to select the terms for the latter function.

Usage

1
stylest_terms(x, speaker, vocab_cutoff, filter = NULL)

Arguments

x

Corpus as text vector. May be a corpus_frame object

speaker

Vector of speaker labels. Should be the same length as x

vocab_cutoff

Quantile cutoff for the vocabulary in (0, 100]

filter

if not NULL, a corpus filter

Value

list of terms

Examples

1
2
3

stylest documentation built on March 5, 2021, 1:05 a.m.