Convert text to a sequence of word indices.
text_to_word_sequence(text,
filters = "!\"#$%&()*+,-./:;<=>?@[\\]^_`{|}~\t\n", lower = TRUE,
split = " ")=>
Input text (string).
Sequence of characters to filter out.
Whether to convert the input to lowercase.
Sentence split marker (string).
integer word indices.
Other text preprocessing: make_sampling_table
,
pad_sequences
, skipgrams
,
text_one_hot