R/text_data.R
make_vocab.Rd
Create a vocab of `max_vocab` size from `Counter` `count` with items present more than `min_freq`
make_vocab(count, min_freq = 3, max_vocab = 60000, special_toks = NULL)
count
min_freq
max_vocab
special_toks
None