SequencePredict
SequencePredict[{seq1, seq2, …}] generates a SequencePredictorFunction[…] based on the sequences given.
SequencePredict[training, seq]attempts to predict the next element in the sequence seq from the training sequences given.SequencePredict[training, {seq1, seq2, …}]gives predictions for each of the sequences seqi.SequencePredict["name", seq]uses the built-in sequence predictor represented by "name".SequencePredict[…, seq, prop]gives the specified property of the prediction associated with seq.
Examples
predictor = SequencePredict[{"abc", "abd", "abe"}];
predictor["ab"]Please visit the official Wolfram Language Reference for more details.