Fill In Missing Words

This example demonstrates how to predict missing words using a built-in SequencePredictorFunction. SequencePredict can also be used to train a custom model for a specific completion.

Load the English-language built-in sequence model.

Predict the probabilities of two strings.

You can use this probability to infer which word is more likely to fit between "The cat" and "on the mat".

Visualize likelihoods of possible completions.

Related Examples

de es fr ja ko pt-br zh