Convert documents to sequences for deep learning
specifies additional options using one or more name-value pair arguments.sequences
= doc2sequence(___,Name,Value
)
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.
fastTextWordEmbedding
|ind2word
|isVocabularyWord
|tokenizedDocument
|trainWordEmbedding
|vec2word
|word2ind
|word2vec
|wordEmbedding
|wordEmbeddingLayer
|wordEncoding