doc2sequence
Convert documents to sequences for deep learning
Syntax
Description
specifies additional options using one or more name-value pair arguments.sequences = doc2sequence(___,Name,Value)
Examples
Input Arguments
Name-Value Arguments
Output Arguments
Tips
When converting large collections of data using a high-dimensional word embedding, padding can require large amounts of memory. To prevent the function from adding too much padding, set the
'PaddingDirection'option to'none'or set'Length'to a smaller value.
Version History
Introduced in R2018b
See Also
fastTextWordEmbedding | wordEncoding | wordEmbeddingLayer | word2vec | word2ind | vec2word | ind2word | isVocabularyWord | trainWordEmbedding | wordEmbedding | tokenizedDocument | documentEmbedding