Main Content

Text Analytics Using Deep Learning

Extend deep learning workflows with text analytics applications

Apply deep learning to text analytics applications by using Deep Learning Toolbox™ together with Text Analytics Toolbox™.

Functions

expand all

wordEmbeddingLayerWord embedding layer for deep learning networks
fastTextWordEmbeddingPretrained fastText word embedding
readWordEmbeddingRead word embedding from file
trainWordEmbeddingTrain word embedding
doc2sequenceConvert documents to sequences for deep learning
word2vecMap word to embedding vector
word2indMap word to encoding index
vec2wordMap embedding vector to word
ind2wordMap encoding index to word
isVocabularyWordTest if word is member of word embedding or encoding
writeWordEmbeddingWrite word embedding file
wordEmbeddingWord embedding model to map words to vectors and back
wordEncodingWord encoding model to map words to indices and back

Topics

Classify Text Data Using Deep Learning

This example shows how to classify text data using a deep learning long short-term memory (LSTM) network.

Classify Text Data Using Convolutional Neural Network

This example shows how to classify text data using a convolutional neural network.

Classify Text Data Using Custom Training Loop

This example shows how to classify text data using a deep learning bidirectional long short-term memory (BiLSTM) network with a custom training loop.

Multilabel Text Classification Using Deep Learning

This example shows how to classify text data that has multiple independent labels.

Classify Out-of-Memory Text Data Using Deep Learning

This example shows how to classify out-of-memory text data with a deep learning network using a transformed datastore.

Sequence-to-Sequence Translation Using Attention

This example shows how to convert decimal strings to Roman numerals using a recurrent sequence-to-sequence encoder-decoder model with attention.

Language Translation Using Deep Learning

This example shows how to train a German to English language translator using a recurrent sequence-to-sequence encoder-decoder model with attention.

Generate Text Using Deep Learning

This example shows how to train a deep learning long short-term memory (LSTM) network to generate text.

Pride and Prejudice and MATLAB

This example shows how to train a deep learning LSTM network to generate text using character embeddings.

Word-By-Word Text Generation Using Deep Learning

This example shows how to train a deep learning LSTM network to generate text word-by-word.

Generate Text Using Autoencoders

This example shows how to generate text data using autoencoders.

Define Text Encoder Model Function

This example shows how to define a text encoder model function.

Define Text Decoder Model Function

This example shows how to define a text decoder model function.

Featured Examples