concepts.benchmark.common.vocab.gen_vocab_from_words#

gen_vocab_from_words(words, extra_words=None, cls=None)[source]#

Generate a Vocabulary instance from a list of words.

Parameters: