texts_to_sequences_generator: Transforms each text in texts in a sequence of integers.

Description Usage Arguments Value See Also

View source: R/preprocessing.R

Description

Only top "num_words" most frequent words will be taken into account. Only words known by the tokenizer will be taken into account.

Usage

1
texts_to_sequences_generator(tokenizer, texts)

Arguments

tokenizer

Tokenizer

texts

Vector/list of texts (strings).

Value

Generator which yields individual sequences

See Also

Other text tokenization: fit_text_tokenizer(), save_text_tokenizer(), sequences_to_matrix(), text_tokenizer(), texts_to_matrix(), texts_to_sequences()


dfalbel/keras documentation built on Nov. 27, 2019, 8:16 p.m.