make_vocab: Make_vocab

View source: R/text_data.R

make_vocabR Documentation

Make_vocab

Description

Create a vocab of 'max_vocab' size from 'Counter' 'count' with items present more than 'min_freq'

Usage

make_vocab(count, min_freq = 3, max_vocab = 60000, special_toks = NULL)

Arguments

count

count

min_freq

min_freq

max_vocab

max_vocab

special_toks

special_toks

Value

None


fastai documentation built on June 22, 2024, 11:15 a.m.